1 #ifndef GADGETS_BUTTON_H 2 #define GADGETS_BUTTON_H 3 4 /* 5 button.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 #ifndef IMAGES_BEVEL_H 19 # include <images/bevel.h> 20 #endif 21 22 23 /* Attributes defined by button.gadget */ 24 25 #define BUTTON_Dummy (TAG_USER + 0x04000000) 26 #define BUTTON_PushButton (BUTTON_Dummy + 1) 27 #define BUTTON_Glyph (BUTTON_Dummy + 2) 28 29 #define BUTTON_TextPen (BUTTON_Dummy + 5) 30 #define BUTTON_FillPen (BUTTON_Dummy + 6) 31 #define BUTTON_FillTextPen (BUTTON_Dummy + 7) 32 #define BUTTON_BackgroundPen (BUTTON_Dummy + 8) 33 34 #define BUTTON_RenderImage (GA_Image) 35 #define BUTTON_SelectImage (GA_SelectRender) 36 37 #define BUTTON_BevelStyle (BUTTON_Dummy + 13) 38 39 #define BUTTON_Transparent (BUTTON_Dummy + 15) 40 #define BUTTON_Justification (BUTTON_Dummy + 16) 41 #define BUTTON_SoftStyle (BUTTON_Dummy + 17) 42 #define BUTTON_AutoButton (BUTTON_Dummy + 18) 43 #define BUTTON_VarArgs (BUTTON_Dummy + 19) 44 #define BUTTON_DomainString (BUTTON_Dummy + 20) 45 #define BUTTON_Integer (BUTTON_Dummy + 21) 46 #define BUTTON_BitMap (BUTTON_Dummy + 22) 47 48 #define BUTTON_AnimButton (BUTTON_Dummy + 50) 49 #define BUTTON_AnimImages (BUTTON_Dummy + 51) 50 #define BUTTON_SelAnimImages (BUTTON_Dummy + 52) 51 #define BUTTON_MaxAnimImages (BUTTON_Dummy + 53) 52 #define BUTTON_AnimImageNumber (BUTTON_Dummy + 54) 53 #define BUTTON_AddAnimImageNumber (BUTTON_Dummy + 55) 54 #define BUTTON_SubAnimImageNumber (BUTTON_Dummy + 56) 55 56 57 /* BUTTON_Justification modes */ 58 59 #define BCJ_LEFT 0 60 #define BCJ_CENTER 1 61 #define BCJ_RIGHT 2 62 63 /* Language fix */ 64 65 #define BCJ_CENTRE BCJ_CENTER 66 67 68 /* BUTTON_AutoButton glyphs */ 69 70 #define BAG_POPFILE 1 71 #define BAG_POPDRAWER 2 72 #define BAG_POPFONT 3 73 #define BAG_CHECKBOX 4 74 #define BAG_CANCELBOX 5 75 #define BAG_UPARROW 6 76 #define BAG_DNARROW 7 77 #define BAG_RTARROW 8 78 #define BAG_LFARROW 9 79 #define BAG_POPTIME 10 80 #define BAG_POPSCREEN 11 81 #define BAG_POPUP 12 82 83 84 #endif /* GADGETS_BUTTON_H */