home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 594b.lha / Precognition_rel1 / ArrowGadget.h next >
C/C++ Source or Header  |  1991-12-12  |  947b  |  40 lines

  1. /* ==========================================================================
  2. **
  3. **                               ArrowGadget.h
  4. **
  5. ** Object<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( ArrowGadget     *self,
  31.                        PIXELS           LeftEdge,
  32.                        PIXELS           TopEdge,
  33.                        enum ArrowTypes  Direction,
  34.                        pcg_3DPens       Pens );
  35.    /* NOTE: Size is fixed at (16x14) */
  36.  
  37.  
  38. #endif
  39.  
  40.