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)
35 /* Max. length of font name without ".font\0" */
36 #define MAXASLFONTNAME (MAXFILENAMELENGTH - 6)
47 Object
*DrawModeLabel
;
48 Object
*DrawModeGadget
;
52 Object
*FGColorGadget
;
53 Object
*BGColorGadget
;
56 struct ScrollerGadget NameScrollGad
;
57 struct ScrollerGadget SizeScrollGad
;
59 struct List NameListviewList
;
60 struct Hook SizeListviewRenderHook
;
61 struct Hook StringEditHook
;
62 struct ASLLVFontReqNode
*ActiveFont
;
63 struct AvailFontsHeader
*AFH
;
64 struct TextFont
*PreviewFont
;
71 struct ASLLVFontReqNode
75 struct TextAttr TAttr
;
77 UBYTE Name
[MAXASLFONTNAME
+ 6];
78 struct Node SizeNode
[0];
82 #define FOFLG_LAYOUTED (1 << 0)
86 #define FOMEN_LASTFONT 1
87 #define FOMEN_NEXTFONT 2
88 #define FOMEN_RESTORE 3
89 #define FOMEN_RESCAN 4
91 #define FOMEN_CANCEL 6
93 #endif /* FONTREQHOOKS_H */