1 #ifndef GADGETS_SLIDER_H 2 #define GADGETS_SLIDER_H 3 4 /* 5 slider.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 slider.gadget */ 20 21 #define SLIDER_Dummy (REACTION_Dummy + 0x0028000) 22 #define SLIDER_Min (SLIDER_Dummy + 1) 23 #define SLIDER_Max (SLIDER_Dummy + 2) 24 #define SLIDER_Level (SLIDER_Dummy + 3) 25 #define SLIDER_Orientation (SLIDER_Dummy + 4) 26 #define SLIDER_DispHook (SLIDER_Dummy + 5) 27 #define SLIDER_Ticks (SLIDER_Dummy + 6) 28 #define SLIDER_ShortTicks (SLIDER_Dummy + 7) 29 #define SLIDER_TickSize (SLIDER_Dummy + 8) 30 #define SLIDER_KnobImage (SLIDER_Dummy + 9) 31 #define SLIDER_BodyFill (SLIDER_Dummy + 10) 32 #define SLIDER_BodyImage (SLIDER_Dummy + 11) 33 #define SLIDER_Gradient (SLIDER_Dummy + 12) 34 #define SLIDER_PenArray (SLIDER_Dummy + 13) 35 #define SLIDER_Invert (SLIDER_Dummy + 14) 36 #define SLIDER_KnobDelta (SLIDER_Dummy + 15) 37 38 39 /* SLIDER_Orientation modes */ 40 41 #define SORIENT_HORIZ FREEHORIZ 42 #define SORIENT_VERT FREEVERT 43 44 /*** OBSOLETE ***/ 45 46 #define SLIDER_HORIZONTAL SORIENT_HORIZ 47 #define SLIDER_VERTICAL SORIENT_VERT 48 49 50 #endif /* GADGETS_SLIDER_H */