revert between 56095 -> 55830 in arch
[AROS.git] / workbench / prefs / font / prefs.h
blobc8c72a2a7e615922cd010081e8ca280cdf11b767
1 #ifndef PREFS_H
2 #define PREFS_H
4 #include <exec/types.h>
5 #include <prefs/font.h>
6 #include <dos/bptr.h>
8 #define FP_COUNT (3) /* Number of entries in fped_FontPrefs array */
10 /* Data is stored on disk in this format */
11 struct FileFontPrefs
13 UBYTE fp_Reserved[4 * 3];
14 UBYTE fp_Reserved2[2];
15 UBYTE fp_Type[2];
16 UBYTE fp_FrontPen;
17 UBYTE fp_BackPen;
18 UBYTE fp_Drawmode;
19 UBYTE fp_pad;
20 UBYTE fp_TextAttr_ta_Name[4];
21 UBYTE fp_TextAttr_ta_YSize[2];
22 UBYTE fp_TextAttr_ta_Style;
23 UBYTE fp_TextAttr_ta_Flags;
24 BYTE fp_Name[FONTNAMESIZE];
27 /*** Prototypes *************************************************************/
28 BOOL Prefs_HandleArgs(STRPTR from, BOOL use, BOOL save);
29 BOOL Prefs_Default(struct FontPrefs fp[]);
30 BOOL Prefs_ImportFH(BPTR fh, struct FontPrefs fp[]);
31 BOOL Prefs_ExportFH(BPTR fh, struct FontPrefs fp[]);
33 #endif