4 libbasetype struct MUIMasterBase_intern
10 #ifndef INTUITION_CLASSES_H
11 # include <intuition/classes.h>
14 #ifndef INTUITION_CLASSUSR_H
15 # include <intuition/classusr.h>
18 #ifndef UTILITIY_TAGITEM_H
19 # include <utility/tagitem.h>
22 #ifndef GRAPHICS_REGIONS_H
23 # include <graphics/regions.h>
26 #include <aros/preprocessor/variadic/cast2iptr.hpp>
29 extern struct Library *MUIMasterBase;
32 # if defined(__GNUC__) && (defined(NO_INLINE_STDARG) || !defined(MUIMASTER_YES_INLINE_STDARG))
33 # define MUI_Request(app, win, flags, title, gadgets, format, ...) \
35 IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
36 MUI_RequestA((app), (win), (flags), (title), (gadgets), (format), __args); \
40 /* By default, disable the variadic stuff for zune, since it's not
41 very backward compatible */
42 #if !defined(MUIMASTER_YES_INLINE_STDARG)
43 #undef MUIMASTER_NO_INLINE_STDARG
44 #define MUIMASTER_NO_INLINE_STDARG
47 /* Prototypes for stubs in mui.lib */
51 APTR MUI_AllocAslRequestTags(unsigned long reqType, Tag tag1, ...) __stackparm;
52 BOOL MUI_AslRequestTags(APTR requester, Tag tag1, ...) __stackparm;
53 Object *MUI_MakeObject(LONG type, ...);
54 Object *MUI_NewObject(const char *classname, Tag tag1, ...) __stackparm;
58 /* Predeclaration of private structures */
59 struct MUI_RenderInfo;
66 #include "muimaster_intern.h"
71 Object* MUI_NewObjectA(ClassID classid, struct TagItem* tags) (A0, A1)
72 void MUI_DisposeObject(Object* obj) (A0)
73 LONG MUI_RequestA(APTR app, APTR win, LONGBITS flags, CONST_STRPTR title, CONST_STRPTR gadgets, CONST_STRPTR format, APTR params) (D0, D1, D2, A0, A1, A2, A3)
74 APTR MUI_AllocAslRequest(unsigned long reqType, struct TagItem* tagList) (D0, A0)
75 BOOL MUI_AslRequest(APTR requester, struct TagItem* tagList) (A0, A1)
76 void MUI_FreeAslRequest(APTR requester) (A0)
78 LONG MUI_SetError(LONG num) (D0)
79 struct IClass* MUI_GetClass(ClassID classid) (A0)
80 void MUI_FreeClass(Class* cl) (A0)
81 void MUI_RequestIDCMP(Object* obj, ULONG flags) (A0, D0)
82 void MUI_RejectIDCMP(Object* obj, ULONG flags) (A0, D0)
83 void MUI_Redraw(Object* obj, ULONG flags) (A0, D0)
84 struct MUI_CustomClass* MUI_CreateCustomClass(struct Library* base, ClassID supername, struct MUI_CustomClass* supermcc, ULONG datasize, APTR dispatcher) (A0, A1, A2, D0, A3)
85 BOOL MUI_DeleteCustomClass(struct MUI_CustomClass* mcc) (A0)
86 Object* MUI_MakeObjectA(LONG type, IPTR* params) (D0, A0)
87 BOOL MUI_Layout(Object* obj, LONG left, LONG top, LONG width, LONG height, ULONG flags) (A0, D0, D1, D2, D3, D4)
92 LONG MUI_ObtainPen(struct MUI_RenderInfo* mri, struct MUI_PenSpec* spec, ULONG flags) (A0, A1, D0)
93 void MUI_ReleasePen(struct MUI_RenderInfo* mri, LONG pen) (A0, D0)
94 APTR MUI_AddClipping(struct MUI_RenderInfo* mri, WORD left, WORD top, WORD width, WORD height) (A0, D0, D1, D2, D3)
95 void MUI_RemoveClipping(struct MUI_RenderInfo* mri, APTR handle) (A0, A1)
96 APTR MUI_AddClipRegion(struct MUI_RenderInfo* mri, struct Region* r) (A0, A1)
97 void MUI_RemoveClipRegion(struct MUI_RenderInfo* mri, APTR handle) (A0, A1)
98 BOOL MUI_BeginRefresh(struct MUI_RenderInfo* mri, ULONG flags) (A0, D0)
99 void MUI_EndRefresh(struct MUI_RenderInfo* mri, ULONG flags) (A0, D0)