1 #ifndef PREFS_FONT_H 2 #define PREFS_FONT_H 3 4 /* 5 font prefs definitions 6 7 Copyright © 2002 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 #ifndef GRAPHICS_TEXT_H 19 # include <graphics/text.h> 20 #endif 21 22 #pragma pack(2) 23 24 25 #define ID_FONT MAKE_ID('F','O','N','T') 26 27 #define FONTNAMESIZE (128) 28 29 30 struct FontPrefs 31 { 32 LONG fp_Reserved[3]; 33 UWORD fp_Reserved2; 34 UWORD fp_Type; 35 UBYTE fp_FrontPen; 36 UBYTE fp_BackPen; 37 UBYTE fp_DrawMode; 38 struct TextAttr fp_TextAttr; 39 BYTE fp_Name[FONTNAMESIZE]; 40 }; 41 42 43 #define FP_WBFONT 0 44 #define FP_SYSFONT 1 45 #define FP_SCREENFONT 2 46 47 48 #pragma pack() 49 50 #endif /* PREFS_FONT_H */