home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 15 / Amiga Plus Leser CD 15.iso / Tools / Development / CIT.v4 / citra / CITCheckBox.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-03-13  |  624 b   |  38 lines

  1. //
  2. //                  CITButtonGadget include
  3. //
  4. //                          StormC
  5. //
  6. //                     version 2002.01.29
  7. //
  8.  
  9. #ifndef CIT_CHECKBOX_H
  10. #define CIT_CHECKBOX_H TRUE
  11.  
  12. #ifndef CIT_GADGETS_H
  13. #include "CITGadget.h"
  14. #endif
  15.  
  16. class CITCheckBox:public CITGadget
  17. {
  18.   public:
  19.     CITCheckBox();
  20.     ~CITCheckBox();
  21.  
  22.     void TextPen(WORD pen);
  23.     void BackgroundPen(WORD pen);
  24.     void TextPlace(WORD pen);
  25.     void Checked(BOOL b);
  26.     BOOL Checked();
  27.  
  28.   protected:
  29.     virtual Object* NewObjectA(TagItem* tags);
  30.  
  31.   private:
  32.     void setTag(int index,ULONG attr,ULONG val);
  33.  
  34.     TagItem* checkBoxTag;
  35. };
  36.  
  37. #endif
  38.