5 #include <aros/asmcall.h>
8 #define NOSCRTOFRONT_GADID 1
9 #define IMMSORT_GADID 2
10 #define DIRSFIRST_GADID 3
11 #define DIRSMIXED_GADID 4
13 #define DEFAULTFONT_GADID 6
14 #define REQTYPE_GADID 7
15 #define DEFSIZE_GADID 8
16 #define SETSIZE_GADID 9
17 #define MINENTRIES_GADID 10
18 #define MAXENTRIES_GADID 11
20 #define POSITION_GADID 13
21 #define OFFSETX_GADID 14
22 #define OFFSETY_GADID 15
25 #define CANCEL_GADID 18
27 #define FKEYS_GADID 19
28 #define DOWHEEL_GADID 20
33 #define SAVEAS_MENUID 3
34 #define ABOUT_MENUID 4
35 #define RESET_MENUID 5
37 #define RESTORE_MENUID 7
41 #define OPTIONS_MENU 2
42 #define SAVEICONS_ITEM 0
44 extern struct ReqToolsPrefs RTPrefs
;
45 extern struct Screen
*Screen
;
46 extern struct Window
*WindowPtr
;
47 extern struct DrawInfo
*DrawInfo
;
48 extern struct Gadget
*glist
, *xoffgad
, *yoffgad
, *mixdirsgad
, *dirsfirstgad
, *mmbgad
;
49 extern struct Gadget
*mingad
, *maxgad
;
50 extern struct Menu
*Menus
;
51 extern APTR VisualInfo
;
53 extern WORD CurrentReq
, WheelType
;
54 extern BOOL UseScreenFont
;
56 extern void RenderPrefsWindow (void);
57 extern long OpenPrefsWindow (void);
58 extern void UpdatePrefsWindow (int);
59 extern void ClosePrefsWindow (void);
61 extern BOOL
OpenGUI( VOID
);
62 extern VOID
CloseGUI( VOID
);
63 extern VOID
LoopGUI( VOID
);
65 extern VOID
GadgetOff( struct Gadget
* );
66 extern VOID
GadgetOn( struct Gadget
* );
67 extern VOID
SetCheckState( struct Gadget
*, BOOL
);
68 extern VOID
SetIntGad( struct Gadget
*, LONG
);
69 extern LONG
IntGadValue( struct Gadget
* );
71 extern BOOL
ProcessGadget( UWORD
, UWORD
);
72 extern BOOL
ProcessMenuItem( UWORD
);
75 AROS_UFP3(void, IntuiMsgFunc
,
76 AROS_UFPA(struct Hook
*, hook
, A0
),
77 AROS_UFPA(APTR
, req
, A2
),
78 AROS_UFPA(struct IntuiMessage
*, imsg
, A1
));
80 extern void __asm __saveds
IntuiMsgFunc( register __a0
struct Hook
*, register __a2 APTR
, register __a1
struct IntuiMessage
* );