home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #3 / Amiga Plus CD - 2002 - No. 03.iso / AmiSoft / Dev / Gui / Cit.lha / CIT / citra / CITInteger.h < prev    next >
Encoding:
C/C++ Source or Header  |  2003-02-13  |  652 b   |  42 lines

  1. //
  2. //                    CITInteger include
  3. //
  4. //                          StormC
  5. //
  6. //                     version 2003.02.12
  7. //
  8.  
  9. #ifndef CITINTEGER_H
  10. #define CITINTEGER_H TRUE
  11.  
  12. #include "CITInput.h"
  13.  
  14. class CITInteger:public CITInput
  15. {
  16.   public:
  17.     CITInteger();
  18.     ~CITInteger();
  19.  
  20.     void Minimum(LONG min);
  21.     void Maximum(LONG max);
  22.     void Arrows(BOOL b = TRUE);
  23.     void Number(LONG num);
  24.     int  Number();
  25.     
  26.   protected:
  27.     virtual Object* NewObjectA(TagItem* tags);
  28.     
  29.   private:
  30.     void setTag(int index,ULONG attr,ULONG val);
  31.   
  32.     TagItem* integerTag;
  33. };
  34.  
  35. enum
  36. {
  37.   INTEGERCLASS_FLAGBITUSED = INPUTCLASS_FLAGBITUSED
  38. };
  39.  
  40.  
  41. #endif
  42.