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

  1. #ifndef GADGETS_SCROLLER_H
  2. #define GADGETS_SCROLLER_H
  3. /*
  4. **    $VER: scroller.h 44.1 (19.10.1999)
  5. **    Includes Release 44.1
  6. **
  7. **  Definitions for the scroller.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 scroller.gadget class
  26.  */
  27.  
  28. #define SCROLLER_Dummy            (REACTION_Dummy+0x0005000)
  29.  
  30. #define SCROLLER_Top            (SCROLLER_Dummy+1L)
  31.     /* (WORD) scroller Top value (Defaults to 0). */
  32.  
  33. #define SCROLLER_Visible        (SCROLLER_Dummy+2L)
  34.     /* (WORD) visible part of total. */
  35.  
  36. #define SCROLLER_Total            (SCROLLER_Dummy+3L)
  37.     /* (WORD) total scroller size. */
  38.  
  39. #define SCROLLER_Orientation    (SCROLLER_Dummy+4L)
  40.     /* (WORD) Vertical or Horizontal mode. */
  41.  
  42. #define SCROLLER_Arrows            (SCROLLER_Dummy+5L)
  43.     /* (BOOL) Render arrows. */
  44.  
  45. #define SCROLLER_Stretch        (SCROLLER_Dummy+6L)
  46.     /* (BOOL) AutoExpand/Stretch Total. */
  47.  
  48. #define SCROLLER_ArrowDelta        (SCROLLER_Dummy+7L)
  49.     /* (WORD) Change arrow click makes. */
  50.  
  51. #define SCROLLER_SignalTask        (SCROLLER_Dummy+10L)
  52.     /* (struct Task *) Signal this Task while scroller is active */
  53.  
  54. #define SCROLLER_SignalTaskBit    (SCROLLER_Dummy+11L)
  55.     /* (ULONG) Signal with this Bit. */
  56.  
  57. /*****************************************************************************/
  58.  
  59. /* SCROLLER_Orientation Modes
  60.  */
  61.  
  62. #define SORIENT_HORIZ    FREEHORIZ
  63. #define SORIENT_VERT    FREEVERT
  64.  
  65. #define SCROLLER_HORIZONTAL    SORIENT_HORIZ
  66. #define SCROLLER_VERTICAL    SORIENT_VERT
  67.  
  68. #endif /* GADGETS_SCROLLER_H */
  69.