1 #ifndef FONTINFO_CLASS_H
2 #define FONTINFO_CLASS_H
4 #include <diskfont/diskfonttag.h>
6 #define FONTINFO_BASE TAG_USER
7 #define MUIA_FontInfo_Filename (FONTINFO_BASE + 1)
8 #define MUIA_FontInfo_Face (FONTINFO_BASE + 2)
10 #define FONTINFO_MBASE TAG_USER
11 #define MUIM_FontInfo_UpdatePreview (FONTINFO_MBASE + 1)
12 #define MUIM_FontInfo_SetOTags (FONTINFO_MBASE + 2)
13 #define MUIM_FontInfo_WriteFiles (FONTINFO_MBASE + 3)
15 struct MUI_CustomClass
*FontInfoClass
;
17 #define FontInfoObject NewObject(FontInfoClass->mcc_Class, NULL //)
19 void CleanupFontInfoClass(void);
20 int InitFontInfoClass(void);
29 Object
*YSizeFactorHigh
;
30 Object
*YSizeFactorLow
;
48 struct TagItem OTags
[26];
49 UWORD AvailSizes
[OT_MAXAVAILSIZES
];
52 typedef struct FontInfoData FontInfoData
;
54 ULONG
fiWriteFiles(FontInfoData
*dat
, STRPTR base
, STRPTR target_dir
, ULONG size
);