2 Copyright © 2002-2007, The AROS Development Team. All rights reserved.
6 #ifndef MUIMASTER_INTERN_H
7 #define MUIMASTER_INTERN_H
10 # include <exec/types.h>
12 #ifndef EXEC_LIBRARIES_H
13 # include <exec/libraries.h>
16 # include <exec/memory.h>
18 #ifndef INTUITION_CLASSES_H
19 # include <intuition/classes.h>
21 #ifndef INTUITION_INTUITIONBASE_H
22 # include <intuition/intuitionbase.h>
24 #ifndef GRAPHICS_GFXBASE_H
25 # include <graphics/gfxbase.h>
30 #ifndef UTILITY_UTILITY_H
31 # include <utility/utility.h>
33 #ifndef EXEC_SEMAPHORES_H
34 # include <exec/semaphores.h>
38 # ifndef AROS_ASMCALL_H
39 # include <aros/asmcall.h>
42 # include "support_amigaos.h"
46 #include "textengine.h"
50 /****************************************************************************************/
52 struct MUIMasterBase_intern
54 struct Library library
;
56 /* On AROS these fields are handled by the system */
57 struct ExecBase
*sysbase
;
60 /* On AROS autoopened libraries are used */
61 struct DosLibrary
*dosbase
;
62 struct UtilityBase
*utilitybase
;
63 struct Library
*aslbase
;
64 struct GfxBase
*gfxbase
;
65 struct Library
*layersbase
;
66 struct IntuitionBase
*intuibase
;
67 struct Library
*cxbase
;
68 struct Library
*keymapbase
;
69 struct Library
*gadtoolsbase
;
70 struct Library
*iffparsebase
;
71 struct Library
*diskfontbase
;
72 struct Library
*iconbase
;
73 struct Library
*cybergfxbase
;
74 #ifdef HAVE_COOLIMAGES
75 struct Library
*coolimagesbase
;
78 /* struct Library *datatypesbase; */
81 struct TextFont
*topaz8font
;
82 struct SignalSemaphore ZuneSemaphore
; /* Used when accessing global data */
84 struct MinList BuiltinClasses
;
85 struct MinList Applications
;
88 /****************************************************************************************/
91 #define MUIMB(b) ((struct MUIMasterBase_intern *)b)
96 #define SysBase (MUIMB(MUIMasterBase)->sysbase)
99 #define DOSBase (MUIMB(MUIMasterBase)->dosbase)
102 #define UtilityBase (MUIMB(MUIMasterBase)->utilitybase)
105 #define AslBase (MUIMB(MUIMasterBase)->aslbase)
108 #define GfxBase (MUIMB(MUIMasterBase)->gfxbase)
111 #define LayersBase (MUIMB(MUIMasterBase)->layersbase)
114 #define IntuitionBase (MUIMB(MUIMasterBase)->intuibase)
117 #define CxBase (MUIMB(MUIMasterBase)->cxbase)
120 #define KeymapBase (MUIMB(MUIMasterBase)->keymapbase)
123 #define GadToolsBase (MUIMB(MUIMasterBase)->gadtoolsbase)
126 #define IFFParseBase (MUIMB(MUIMasterBase)->iffparsebase)
129 #define DiskfontBase (MUIMB(MUIMasterBase)->diskfontbase)
132 #define IconBase (MUIMB(MUIMasterBase)->iconbase)
135 #define CyberGfxBase (MUIMB(MUIMasterBase)->cybergfxbase)
137 #undef CoolImagesBase
138 #define CoolImagesBase (MUIMB(MUIMasterBase)->coolimagesbase)
140 #endif /* __AROS__ */
142 #endif /* MUIMASTER_INTERN_H */