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 / integer.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-19  |  1.3 KB  |  49 lines

  1. #ifndef GADGETS_INTEGER_H
  2. #define GADGETS_INTEGER_H
  3. /*
  4. **    $VER: integer.h 44.1 (19.10.1999)
  5. **    Includes Release 44.1
  6. **
  7. **  Definitions for the integer.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 Integer class
  26.  */
  27. #define INTEGER_Dummy        (REACTION_Dummy+0x0002000)
  28.  
  29. #define INTEGER_Number        (INTEGER_Dummy+1)
  30.     /* (LONG) The value in the gadget.  Defaults to 0. */
  31.  
  32. #define INTEGER_MaxChars    (INTEGER_Dummy+2)
  33.     /* (WORD) Maximum number of characters for the numer (including
  34.      * negative sign.  Defaults to 10. */
  35.  
  36. #define INTEGER_Minimum        (INTEGER_Dummy+3)
  37.     /* (LONG) Minimum value for the number. */
  38.  
  39. #define INTEGER_Maximum        (INTEGER_Dummy+4)
  40.     /* (LONG) Maximum value for the number. */
  41.  
  42. #define INTEGER_Arrows        (INTEGER_Dummy+5)
  43.     /* (BOOL) Should arrows be available.  Defaults to TRUE. */
  44.  
  45. #define INTEGER_MinVisible    (INTEGER_Dummy+6)
  46.     /* (BOOL) Minimum number of digits to be visible.  Defaults to 0. (V41) */
  47.  
  48. #endif /* GADGETS_INTEGER_H */
  49.