5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 Desc: Font requester specific defs.
14 #ifndef INTUITION_CLASSES_H
15 # include <intuition/classes.h>
17 #ifndef DISKFONT_DISKFONT_H
18 # include <diskfont/diskfont.h>
23 #define FOREQ_MIN_VISIBLELINES 3
24 #define FOREQ_VISIBILE_SIZE_CHARS 4
27 #define FOREQ_COOL_BUTTONS 0
29 #define FOREQ_COOL_BUTTONS 1
32 #define FOREQ_FIRST_OBJECT(x) ((x)->NameListview)
33 #define FOREQ_LAST_OBJECT(x) ((x)->EraserGadget)
44 Object
*DrawModeLabel
;
45 Object
*DrawModeGadget
;
49 Object
*FGColorGadget
;
50 Object
*BGColorGadget
;
53 struct ScrollerGadget NameScrollGad
;
54 struct ScrollerGadget SizeScrollGad
;
56 struct List NameListviewList
;
57 struct Hook SizeListviewRenderHook
;
58 struct Hook StringEditHook
;
59 struct ASLLVFontReqNode
*ActiveFont
;
60 struct AvailFontsHeader
*AFH
;
61 struct TextFont
*PreviewFont
;
68 struct ASLLVFontReqNode
72 struct TextAttr TAttr
;
74 UBYTE Name
[MAXFONTNAME
+ 2];
75 struct Node SizeNode
[0];
79 #define FOFLG_LAYOUTED (1 << 0)
83 #define FOMEN_LASTFONT 1
84 #define FOMEN_NEXTFONT 2
85 #define FOMEN_RESTORE 3
86 #define FOMEN_RESCAN 4
88 #define FOMEN_CANCEL 6
90 #endif /* FONTREQHOOKS_H */