home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / programming / utils / precognition / include / arrowgadget.h next >
Encoding:
C/C++ Source or Header  |  1992-12-24  |  1.0 KB  |  44 lines

  1. /* ==========================================================================
  2. **
  3. **                               ArrowGadget.h
  4. **
  5. ** PObject<GraphicObject<Interactor<Valuator<ArrowGadget
  6. **
  7. ** An ArrowGadget is a boolean gadget with an arrowhead in its center.
  8. ** These are used for the horizontal and vertical scroller interactors.
  9. **
  10. ** See Interactor.h, Valuator.h for the list of functions supported by a
  11. ** BoolGadget.
  12. **
  13. **
  14. ** ©1991 WILLISoft
  15. **
  16. */
  17.  
  18. #ifndef ARROWGADGET_H
  19. #define ARROWGADGET_H
  20.  
  21. #include "precognition3d.h"
  22. #include "BoolGadget.h"
  23.  
  24. enum ArrowTypes { UpArrow, DownArrow, LeftArrow, RightArrow };
  25.  
  26.  
  27. typedef BoolGadget ArrowGadget;
  28.  
  29.  
  30. void ArrowGadget_Init( 
  31.    #ifdef ANSI_HEADERS
  32.                        ArrowGadget     *self,
  33.                        PIXELS           LeftEdge,
  34.                        PIXELS           TopEdge,
  35.                        enum ArrowTypes  Direction,
  36.                        pcg_3DPens       Pens 
  37.    #endif
  38.                       );
  39.    /* NOTE: Size is fixed at (16x14) */
  40.  
  41.  
  42. #endif
  43.  
  44.