8 #define CHECK_PASSWORD 0
9 #define ENTER_PASSWORD 1
10 #define ENTER_STRING 2
11 #define ENTER_NUMBER 3
12 #define IS_EZREQUEST 4
15 /* compiler/AmigaOS/AROS specific defines */
18 # define USE_ASM_FUNCS 1
19 # define USE_OPTASM_FUNCS 1
21 # include "compilerspecific.h"
23 # include <aros/asmcall.h>
24 # include <dos/dos.h> /* for MININT and MAXINT defines */
26 # define USE_ASM_FUNCS 0
27 # define USE_OPTASM_FUNCS 0
48 #define REGPARAM(reg,type,name) type name
49 #define OPT_REGPARAM(reg,type,name) type name
50 #define ASM_REGPARAM(reg,type,name) type name
54 struct PWCallBackArgs
;
55 #ifndef CLIB_REQTOOLS_PROTOS_H
56 typedef STDARGS
char * (*PWCALLBACKFUNPTR
) (long, long, struct PWCallBackArgs
*);
62 extern void REGARGS
InitNewGadget (struct NewGadget
*, int, int,
63 int, int, char *, UWORD
);
64 extern int REGARGS
GetVpCM (struct ViewPort
*, APTR
*);
65 extern void REGARGS
RefreshVpCM (struct ViewPort
*, APTR
);
66 extern void REGARGS
LoadCMap (struct ViewPort
*, APTR
);
67 extern void REGARGS
FreeVpCM (struct ViewPort
*, APTR
, BOOL
);
69 extern struct TextFont
* REGARGS
GetReqFont (struct TextAttr
*,
70 struct TextFont
*, int *, int *, int);
71 extern struct Screen
*REGARGS
LockPubScreenByAddr (struct Screen
*);
72 extern struct Screen
*REGARGS
GetReqScreen (struct NewWindow
*,
73 struct Window
**, struct Screen
*, char *);
74 extern void REGARGS
DoWaitPointer (struct Window
*, int, int);
75 extern APTR REGARGS
DoLockWindow (struct Window
*, int, APTR
, int);
76 extern void REGARGS
DoScreenToFront (struct Screen
*, int, int);
77 extern struct IntuiMessage
*REGARGS
GetWin_GT_Msg (struct Window
*,
79 extern struct IntuiMessage
*REGARGS
ProcessWin_Msg (struct Window
*,
80 struct IntuiMessage
*, struct Hook
*, APTR
);
81 extern void REGARGS
Reply_GT_Msg (struct IntuiMessage
*);
82 extern void REGARGS
DoCloseWindow (struct Window
*, int);
83 extern void REGARGS
mySetWriteMask (struct RastPort
*, ULONG
);
86 AROS_UFP3(void, WinBackFill
,
87 AROS_UFPA(struct Hook
*, hook
, A0
),
88 AROS_UFPA(struct RastPort
*, the_rp
, A2
),
89 AROS_UFPA(struct BackFillMsg
*, msg
, A1
));
91 void SAVEDS ASM
WinBackFill (REGPARAM(a0
, struct Hook
*,),
92 REGPARAM(a2
, struct RastPort
*,), REGPARAM(a1
, struct BackFillMsg
*,));
95 struct Window
*REGARGS
OpenWindowBF (struct NewWindow
*,
96 struct Hook
*, UWORD
*, ULONG
*, WORD
*, BOOL
);
97 int CheckReqPos (int, int, struct NewWindow
*);
98 int REGARGS
StrWidth_noloc (struct IntuiText
*, UBYTE
*);
99 int CheckBoxWidth (struct NewGadget
*);
100 int CheckBoxHeight (struct NewGadget
*);
101 LONG
BottomBorderHeight (struct Screen
*);
103 #define REQPOS_DEFAULT (ULONG)0xFFFF
105 #endif /* GENERAL_H */