1 #ifndef _VBCCINLINE_MUIMASTER_H
2 #define _VBCCINLINE_MUIMASTER_H
4 Object
* __MUI_NewObjectA(__reg("a0") const char * a0arg
, __reg("a1") struct TagItem
* tags
, __reg("a6") void *)="\tjsr\t-30(a6)";
5 #define MUI_NewObjectA(a0arg, tags) __MUI_NewObjectA((a0arg), (tags), MUIMasterBase)
7 VOID
__MUI_DisposeObject(__reg("a0") Object
* obj
, __reg("a6") void *)="\tjsr\t-36(a6)";
8 #define MUI_DisposeObject(obj) __MUI_DisposeObject((obj), MUIMasterBase)
10 LONG
__MUI_RequestA(__reg("d0") APTR app
, __reg("d1") APTR win
, __reg("d2") LONGBITS flags
, __reg("a0") const char * title
, __reg("a1") const char * gadgets
, __reg("a2") const char * format
, __reg("a3") APTR params
, __reg("a6") void *)="\tjsr\t-42(a6)";
11 #define MUI_RequestA(app, win, flags, title, gadgets, format, params) __MUI_RequestA((app), (win), (flags), (title), (gadgets), (format), (params), MUIMasterBase)
13 APTR
__MUI_AllocAslRequest(__reg("d0") unsigned long type
, __reg("a0") struct TagItem
* tags
, __reg("a6") void *)="\tjsr\t-48(a6)";
14 #define MUI_AllocAslRequest(type, tags) __MUI_AllocAslRequest((type), (tags), MUIMasterBase)
16 BOOL
__MUI_AslRequest(__reg("a0") APTR req
, __reg("a1") struct TagItem
* tags
, __reg("a6") void *)="\tjsr\t-54(a6)";
17 #define MUI_AslRequest(req, tags) __MUI_AslRequest((req), (tags), MUIMasterBase)
19 VOID
__MUI_FreeAslRequest(__reg("a0") APTR req
, __reg("a6") void *)="\tjsr\t-60(a6)";
20 #define MUI_FreeAslRequest(req) __MUI_FreeAslRequest((req), MUIMasterBase)
22 LONG
__MUI_Error(__reg("a6") void *)="\tjsr\t-66(a6)";
23 #define MUI_Error() __MUI_Error(MUIMasterBase)
25 LONG
__MUI_SetError(__reg("d0") LONG errnum
, __reg("a6") void *)="\tjsr\t-72(a6)";
26 #define MUI_SetError(errnum) __MUI_SetError((errnum), MUIMasterBase)
28 struct IClass
* __MUI_GetClass(__reg("a0") const char * name
, __reg("a6") void *)="\tjsr\t-78(a6)";
29 #define MUI_GetClass(name) __MUI_GetClass((name), MUIMasterBase)
31 VOID
__MUI_FreeClass(__reg("a0") struct IClass
* cl
, __reg("a6") void *)="\tjsr\t-84(a6)";
32 #define MUI_FreeClass(cl) __MUI_FreeClass((cl), MUIMasterBase)
34 VOID
__MUI_RequestIDCMP(__reg("a0") Object
* obj
, __reg("d0") ULONG flags
, __reg("a6") void *)="\tjsr\t-90(a6)";
35 #define MUI_RequestIDCMP(obj, flags) __MUI_RequestIDCMP((obj), (flags), MUIMasterBase)
37 VOID
__MUI_RejectIDCMP(__reg("a0") Object
* obj
, __reg("d0") ULONG flags
, __reg("a6") void *)="\tjsr\t-96(a6)";
38 #define MUI_RejectIDCMP(obj, flags) __MUI_RejectIDCMP((obj), (flags), MUIMasterBase)
40 VOID
__MUI_Redraw(__reg("a0") Object
* obj
, __reg("d0") ULONG flags
, __reg("a6") void *)="\tjsr\t-102(a6)";
41 #define MUI_Redraw(obj, flags) __MUI_Redraw((obj), (flags), MUIMasterBase)
43 struct MUI_CustomClass
* __MUI_CreateCustomClass(__reg("a0") struct Library
* base
, __reg("a1") const char * supername
, __reg("a2") struct MUI_CustomClass
* supermcc
, __reg("d0") int datasize
, __reg("a3") APTR dispatcher
, __reg("a6") void *)="\tjsr\t-108(a6)";
44 #define MUI_CreateCustomClass(base, supername, supermcc, datasize, dispatcher) __MUI_CreateCustomClass((base), (supername), (supermcc), (datasize), (dispatcher), MUIMasterBase)
46 BOOL
__MUI_DeleteCustomClass(__reg("a0") struct MUI_CustomClass
* mcc
, __reg("a6") void *)="\tjsr\t-114(a6)";
47 #define MUI_DeleteCustomClass(mcc) __MUI_DeleteCustomClass((mcc), MUIMasterBase)
49 Object
* __MUI_MakeObjectA(__reg("d0") LONG type
, __reg("a0") ULONG
* params
, __reg("a6") void *)="\tjsr\t-120(a6)";
50 #define MUI_MakeObjectA(type, params) __MUI_MakeObjectA((type), (params), MUIMasterBase)
52 BOOL
__MUI_Layout(__reg("a0") Object
* obj
, __reg("d0") LONG l
, __reg("d1") LONG t
, __reg("d2") LONG w
, __reg("d3") LONG h
, __reg("d4") ULONG flags
, __reg("a6") void *)="\tjsr\t-126(a6)";
53 #define MUI_Layout(obj, l, t, w, h, flags) __MUI_Layout((obj), (l), (t), (w), (h), (flags), MUIMasterBase)
55 LONG
__MUI_ObtainPen(__reg("a0") struct MUI_RenderInfo
* mri
, __reg("a1") struct MUI_PenSpec
* spec
, __reg("d0") ULONG flags
, __reg("a6") void *)="\tjsr\t-156(a6)";
56 #define MUI_ObtainPen(mri, spec, flags) __MUI_ObtainPen((mri), (spec), (flags), MUIMasterBase)
58 VOID
__MUI_ReleasePen(__reg("a0") struct MUI_RenderInfo
* mri
, __reg("d0") LONG pen
, __reg("a6") void *)="\tjsr\t-162(a6)";
59 #define MUI_ReleasePen(mri, pen) __MUI_ReleasePen((mri), (pen), MUIMasterBase)
61 APTR
__MUI_AddClipping(__reg("a0") struct MUI_RenderInfo
* mri
, __reg("d0") WORD l
, __reg("d1") WORD t
, __reg("d2") WORD w
, __reg("d3") WORD h
, __reg("a6") void *)="\tjsr\t-168(a6)";
62 #define MUI_AddClipping(mri, l, t, w, h) __MUI_AddClipping((mri), (l), (t), (w), (h), MUIMasterBase)
64 VOID
__MUI_RemoveClipping(__reg("a0") struct MUI_RenderInfo
* mri
, __reg("a1") APTR h
, __reg("a6") void *)="\tjsr\t-174(a6)";
65 #define MUI_RemoveClipping(mri, h) __MUI_RemoveClipping((mri), (h), MUIMasterBase)
67 APTR
__MUI_AddClipRegion(__reg("a0") struct MUI_RenderInfo
* mri
, __reg("a1") struct Region
* region
, __reg("a6") void *)="\tjsr\t-180(a6)";
68 #define MUI_AddClipRegion(mri, region) __MUI_AddClipRegion((mri), (region), MUIMasterBase)
70 VOID
__MUI_RemoveClipRegion(__reg("a0") struct MUI_RenderInfo
* mri
, __reg("a1") APTR region
, __reg("a6") void *)="\tjsr\t-186(a6)";
71 #define MUI_RemoveClipRegion(mri, region) __MUI_RemoveClipRegion((mri), (region), MUIMasterBase)
73 BOOL
__MUI_BeginRefresh(__reg("a0") struct MUI_RenderInfo
* mri
, __reg("d0") ULONG flags
, __reg("a6") void *)="\tjsr\t-192(a6)";
74 #define MUI_BeginRefresh(mri, flags) __MUI_BeginRefresh((mri), (flags), MUIMasterBase)
76 VOID
__MUI_EndRefresh(__reg("a0") struct MUI_RenderInfo
* mri
, __reg("d0") ULONG flags
, __reg("a6") void *)="\tjsr\t-198(a6)";
77 #define MUI_EndRefresh(mri, flags) __MUI_EndRefresh((mri), (flags), MUIMasterBase)
79 #endif /* _VBCCINLINE_MUIMASTER_H */