1 #ifndef GADGETS_SCROLLER_H 2 #define GADGETS_SCROLLER_H 3 4 /* 5 scroller.gadget definitions (V45) 6 7 Copyright © 2002 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef REACTION_REACTION_H 11 # include <reaction/reaction.h> 12 #endif 13 14 #ifndef INTUITION_GADGETCLASS_H 15 # include <intuition/gadgetclass.h> 16 #endif 17 18 19 /* Attributes defined by scroller.gadget */ 20 21 #define SCROLLER_Dummy (REACTION_Dummy + 0x0005000) 22 #define SCROLLER_Top (SCROLLER_Dummy + 1) 23 #define SCROLLER_Visible (SCROLLER_Dummy + 2) 24 #define SCROLLER_Total (SCROLLER_Dummy + 3) 25 #define SCROLLER_Orientation (SCROLLER_Dummy + 4) 26 #define SCROLLER_Arrows (SCROLLER_Dummy + 5) 27 #define SCROLLER_Stretch (SCROLLER_Dummy + 6) 28 #define SCROLLER_ArrowDelta (SCROLLER_Dummy + 7) 29 #define SCROLLER_SignalTask (SCROLLER_Dummy + 10) 30 #define SCROLLER_SignalTaskBit (SCROLLER_Dummy + 11) 31 32 33 /* SCROLLER_Orientation modes */ 34 35 #define SORIENT_HORIZ FREEHORIZ 36 #define SORIENT_VERT FREEVERT 37 38 /*** OBSOLETE ***/ 39 40 #define SCROLLER_HORIZONTAL SORIENT_HORIZ 41 #define SCROLLER_VERTICAL SORIENT_VERT 42 43 44 #endif /* GADGETS_SCROLLER_H */