home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / gui / precog2_1.lha / Precognition2_1 / include / ArrowGadget.h next >
Encoding:
C/C++ Source or Header  |  1994-02-06  |  1023 b   |  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 "parms.h"
  22. #include "precognition3d.h"
  23. #include "BoolGadget.h"
  24.  
  25. enum ArrowTypes { UpArrow, DownArrow, LeftArrow, RightArrow };
  26.  
  27.  
  28. typedef BoolGadget ArrowGadget;
  29.  
  30.  
  31. void ArrowGadget_Init __PARMS((
  32.                        ArrowGadget     *self,
  33.                        PIXELS           LeftEdge,
  34.                        PIXELS           TopEdge,
  35.                        enum ArrowTypes  Direction,
  36.                        pcg_3DPens       Pens
  37.  
  38.                       ));
  39.    /* NOTE: Size is fixed at (16x14) */
  40.  
  41.  
  42. #endif
  43.  
  44.