Safer handling of Booleans.
[AROS.git] / workbench / libs / muimaster / muimaster.conf
blobc23a9eada9078fd8231d5d6c9c14bcc951fb4263
1 ##begin config
2 basename MUIMaster
3 libbase MUIMasterBase
4 libbasetype struct MUIMasterBase_intern
5 version 19.43
6 ##end config
8 ##begin cdef
10 #ifndef INTUITION_CLASSES_H
11 #   include <intuition/classes.h>
12 #endif
14 #ifndef INTUITION_CLASSUSR_H
15 #   include <intuition/classusr.h>
16 #endif
18 #ifndef UTILITIY_TAGITEM_H
19 #   include <utility/tagitem.h>
20 #endif
22 #ifndef GRAPHICS_REGIONS_H
23 #   include <graphics/regions.h>
24 #endif
26 #ifndef MUIMasterBase
27 extern struct Library *MUIMasterBase;
28 #endif
30 /* By default, disable the variadic stuff for zune, since it's not 
31    very backward compatible */
32 #ifndef MUIMASTER_YES_INLINE_STDARG
33 #undef  MUIMASTER_NO_INLINE_STDARG
34 #define MUIMASTER_NO_INLINE_STDARG
35 #endif
37 /* Prototypes for stubs in mui.lib */
39 __BEGIN_DECLS
41 APTR    MUI_AllocAslRequestTags(unsigned long reqType, Tag tag1, ...) __stackparm;
42 BOOL    MUI_AslRequestTags(APTR requester, Tag tag1, ...) __stackparm;
43 Object *MUI_MakeObject(LONG type, ...);
44 Object *MUI_NewObject(const char *classname, Tag tag1, ...) __stackparm;
45 LONG    MUI_Request(APTR app, APTR win, LONG flags, const char *title, const char *gadgets, 
46 const char *format, ...) __stackparm;
48 __END_DECLS
50 /* Predeclaration of private structures */
51 struct MUI_RenderInfo;
52 struct MUI_PenSpec;
54 ##end cdef
56 ##begin cdefprivate 
57 #define MUI_OBSOLETE
58 #include "muimaster_intern.h"
59 #include "mui.h"
60 ##end cdefprivate
62 ##begin functionlist
63 Object* MUI_NewObjectA(ClassID classid, struct TagItem* tags) (A0, A1)
64 void MUI_DisposeObject(Object* obj) (A0)
65 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)
66 APTR MUI_AllocAslRequest(unsigned long reqType, struct TagItem* tagList) (D0, A0)
67 BOOL MUI_AslRequest(APTR requester, struct TagItem* tagList) (A0, A1)
68 void MUI_FreeAslRequest(APTR requester) (A0)
69 LONG MUI_Error() ()
70 LONG MUI_SetError(LONG num) (D0)
71 struct IClass* MUI_GetClass(ClassID classid) (A0)
72 void MUI_FreeClass(Class* cl) (A0)
73 void MUI_RequestIDCMP(Object* obj, ULONG flags) (A0, D0)
74 void MUI_RejectIDCMP(Object* obj, ULONG flags) (A0, D0)
75 void MUI_Redraw(Object* obj, ULONG flags) (A0, D0)
76 struct MUI_CustomClass* MUI_CreateCustomClass(struct Library* base, ClassID supername, struct MUI_CustomClass* supermcc, ULONG datasize, APTR dispatcher) (A0, A1, A2, D0, A3)
77 BOOL MUI_DeleteCustomClass(struct MUI_CustomClass* mcc) (A0)
78 Object* MUI_MakeObjectA(LONG type, IPTR* params) (D0, A0)
79 BOOL MUI_Layout(Object* obj, LONG left, LONG top, LONG width, LONG height, ULONG flags) (A0, D0, D1, D2, D3, D4)
80 .skip 1 # Reserved
81 .skip 1 # Reserved
82 .skip 1 # Reserved
83 .skip 1 # Reserved
84 LONG MUI_ObtainPen(struct MUI_RenderInfo* mri, struct MUI_PenSpec* spec, ULONG flags) (A0, A1, D0)
85 void MUI_ReleasePen(struct MUI_RenderInfo* mri, LONG pen) (A0, D0)
86 APTR MUI_AddClipping(struct MUI_RenderInfo* mri, WORD left, WORD top, WORD width, WORD height) (A0, D0, D1, D2, D3)
87 void MUI_RemoveClipping(struct MUI_RenderInfo* mri, APTR handle) (A0, A1)
88 APTR MUI_AddClipRegion(struct MUI_RenderInfo* mri, struct Region* r) (A0, A1)
89 void MUI_RemoveClipRegion(struct MUI_RenderInfo* mri, APTR handle) (A0, A1)
90 BOOL MUI_BeginRefresh(struct MUI_RenderInfo* mri, ULONG flags) (A0, D0)
91 void MUI_EndRefresh(struct MUI_RenderInfo* mri, ULONG flags) (A0, D0)
92 ##end functionlist