1 #ifndef PREFS_ICONTROL_H 2 #define PREFS_ICONTROL_H 3 4 /* 5 icontrol prefs definitions 6 7 Copyright ? 2002-2008 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef EXEC_TYPES_H 11 #include <exec/types.h> 12 #endif 13 14 #ifndef LIBRARIES_IFFPARSE_H 15 #include <libraries/iffparse.h> 16 #endif 17 18 #pragma pack(2) 19 20 21 #define ID_ICTL MAKE_ID('I','C','T','L') 22 23 struct IControlPrefs 24 { 25 LONG ic_Reserved[4]; 26 UWORD ic_TimeOut; 27 WORD ic_MetaDrag; 28 ULONG ic_Flags; 29 UBYTE ic_WBtoFront; 30 UBYTE ic_FrontToBack; 31 UBYTE ic_ReqTrue; 32 UBYTE ic_ReqFalse; 33 }; 34 35 #define ICB_COERCE_COLORS 0 36 #define ICB_COERCE_LACE 1 37 #define ICB_STRGAD_FILTER 2 38 #define ICB_MENUSNAP 3 39 #define ICB_MODEPROMOTE 4 40 #define ICB_SQUARE_RATIO 5 41 42 43 #define ICF_COERCE_COLORS (1<<ICB_COERCE_COLORS) 44 #define ICF_COERCE_LACE (1<<ICB_COERCE_LACE) 45 #define ICF_STRGAD_FILTER (1<<ICB_STRGAD_FILTER) 46 #define ICF_MENUSNAP (1<<ICB_MENUSNAP) 47 #define ICF_MODEPROMOTE (1<<ICB_MODEPROMOTE) 48 #define ICF_SQUARE_RATIO (1<<ICB_SQUARE_RATIO) 49 50 51 52 53 #pragma pack() 54 55 #endif /* PREFS_ICONTROL_H */