arch/cpu.resource: remove dead code
[AROS.git] / workbench / classes / zune / texteditor / include / clib / muimaster_protos.h
blob6cb7e168fb55bf3edadba7e6b41ff6c93655abbd
1 #ifndef CLIB_MUIMASTER_PROTOS_H
2 #define CLIB_MUIMASTER_PROTOS_H
4 #ifndef EXEC_TYPES_H
5 #include <exec/types.h>
6 #endif
7 #ifndef INTUITION_CLASSES_H
8 #include <intuition/classes.h>
9 #endif
10 #ifndef UTILITY_TAGITEM_H
11 #include <utility/tagitem.h>
12 #endif
13 #ifndef LIBRARIES_MUI_H
14 #include <libraries/mui.h>
15 #endif
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
21 /****************************************/
22 /* functions to be used in applications */
23 /****************************************/
25 Object *MUI_NewObjectA (const char *classname,struct TagItem *tags);
26 Object *MUI_NewObject (const char *classname,Tag tag1,...);
27 Object *MUI_MakeObjectA (LONG type,ULONG *params);
28 Object *MUI_MakeObject (LONG type,...);
29 VOID MUI_DisposeObject (Object *obj);
30 LONG MUI_RequestA (APTR app,APTR win,LONGBITS flags,const char *title,const char *gadgets,const char *format,APTR params);
31 LONG MUI_Request (APTR app,APTR win,LONGBITS flags,const char *title,const char *gadgets,const char *format,...);
32 LONG MUI_Error (VOID);
33 APTR MUI_AllocAslRequest (unsigned long reqType, struct TagItem *tagList);
34 APTR MUI_AllocAslRequestTags(unsigned long reqType, Tag Tag1, ...);
35 VOID MUI_FreeAslRequest (APTR requester );
36 BOOL MUI_AslRequest (APTR requester, struct TagItem *tagList);
37 BOOL MUI_AslRequestTags (APTR requester, Tag Tag1, ...);
39 /******************************************/
40 /* functions to be used in custom classes */
41 /******************************************/
43 LONG MUI_SetError (LONG num);
44 struct IClass * MUI_GetClass (const char *classname);
45 VOID MUI_FreeClass (struct IClass *classptr);
46 VOID MUI_RequestIDCMP (Object *obj,ULONG flags);
47 VOID MUI_RejectIDCMP (Object *obj,ULONG flags);
48 VOID MUI_Redraw (Object *obj,ULONG flags);
49 APTR MUI_AddClipping (struct MUI_RenderInfo *mri,WORD left,WORD top,WORD width,WORD height);
50 VOID MUI_RemoveClipping (struct MUI_RenderInfo *mri,APTR handle);
51 APTR MUI_AddClipRegion (struct MUI_RenderInfo *mri,struct Region *r);
52 VOID MUI_RemoveClipRegion (struct MUI_RenderInfo *mri,APTR handle);
53 BOOL MUI_BeginRefresh (struct MUI_RenderInfo *mri,ULONG flags);
54 VOID MUI_EndRefresh (struct MUI_RenderInfo *mri,ULONG flags);
55 struct MUI_CustomClass *MUI_CreateCustomClass(struct Library *base,const char *supername,struct MUI_CustomClass *supermcc,int datasize,APTR dispatcher);
56 BOOL MUI_DeleteCustomClass(struct MUI_CustomClass *mcc);
57 LONG MUI_ObtainPen (struct MUI_RenderInfo *mri,struct MUI_PenSpec *spec,ULONG flags);
58 VOID MUI_ReleasePen (struct MUI_RenderInfo *mri,LONG pen);
60 /*************************************************************/
61 /* layout function, use only in custom layout callback hook! */
62 /*************************************************************/
64 BOOL MUI_Layout(Object *obj,LONG left,LONG top,LONG width,LONG height,ULONG flags);
66 #ifdef __cplusplus
68 #endif
70 #endif /* CLIB_MUIMASTER_PROTOS_H */