home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / gadgets / checkbox.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-19  |  1.4 KB  |  49 lines

  1. #ifndef GADGETS_CHECKBOX_H
  2. #define GADGETS_CHECKBOX_H
  3. /*
  4. **    $VER: checkbox.h 44.1 (19.10.1999)
  5. **    Includes Release 44.1
  6. **
  7. **  Definitions for the checkbox.gadget BOOPSI class
  8. **
  9. **    (C) Copyright 1987-1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. /*****************************************************************************/
  14.  
  15. #ifndef REACTION_REACTION_H
  16. #include <reaction/reaction.h>
  17. #endif
  18.  
  19. #ifndef INTUITION_GADGETCLASS_H
  20. #include <intuition/gadgetclass.h>
  21. #endif
  22.  
  23. /*****************************************************************************/
  24.  
  25. /* Additional attributes defined by the checkbox.gadget class */
  26. #define CHECKBOX_Dummy            (REACTION_Dummy + 0x11000)
  27.  
  28. #define    CHECKBOX_TextPen        (CHECKBOX_Dummy+1)
  29.     /* (WORD) Pen to use for text (~0 uses TEXTPEN). */
  30.  
  31. #define    CHECKBOX_FillTextPen    (CHECKBOX_Dummy+2)
  32.     /* (WORD) Pen to use for fill (~0 uses FILLTEXTPEN). */
  33.  
  34. #define    CHECKBOX_BackgroundPen    (CHECKBOX_Dummy+3)
  35.     /* (WORD) Pen to use for background (~0 uses BACKGROUNDPEN) */
  36.  
  37. #define    CHECKBOX_BevelStyle        (CHECKBOX_Dummy+4)
  38.     /* (WORD) Optional outer bevel style - OBSOLETE */
  39.  
  40. #define    CHECKBOX_TextPlace        (CHECKBOX_Dummy+5)
  41.     /* (LONG) Gadget Text Location (PLACETEXT_LEFT or PLACETEXT_RIGHT). */
  42.  
  43. #define    CHECKBOX_Checked        GA_Selected
  44.     /* (BOOL) Checkmark state. */
  45.  
  46. /*****************************************************************************/
  47.  
  48. #endif /* GADGETS_CHECKBOX_H */
  49.