1 #ifndef GADGETS_PALETTE_H 2 #define GADGETS_PALETTE_H 3 4 /* 5 palette.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 palette.gadget */ 20 21 #define PALETTE_Dummy (REACTION_Dummy + 0x0004000) 22 #define PALETTE_Colour (PALETTE_Dummy + 1) 23 #define PALETTE_ColourOffset (PALETTE_Dummy + 2) 24 #define PALETTE_ColourTable (PALETTE_Dummy + 3) 25 #define PALETTE_NumColours (PALETTE_Dummy + 4) 26 27 28 /* Language fix */ 29 30 #define PALETTE_Color PALETTE_Colour 31 #define PALETTE_ColorOffset PALETTE_ColourOffset 32 #define PALETTE_ColorTable PALETTE_ColourTable 33 #define PALETTE_NumColors PALETTE_NumColours 34 35 36 #endif /* GADGETS_PALETTE_H */