1 /***************************************************************************
2 ** The Hacker's include to MUI v1.8 :-)
4 ** Copyright 1997-98 by Alessandro Zummo
5 ** azummo@ita.flashnet.it
7 ** This include is unofficial, use at your own risk!
9 ** You can also find other undocumented tags in libraries/mui.h :-)
11 ****************************************************************************
13 ****************************************************************************
15 ** rootclass (BOOPSI's base class)
16 ** +--Notify (implements notification mechanism)
17 ** ! +--Area (base class for all GUI elements)
18 ** ! +--Framedisplay (displays frame specification)
19 ** ! ! \--Popframe (popup button to adjust a frame spec)
20 ** ! +--Imagedisplay (displays image specification)
21 ** ! ! \--Popimage (popup button to adjust an image spec)
22 ** ! +--Pendisplay (displays a pen specification)
23 ** ! ! \--Poppen (popup button to adjust a pen spec)
24 ** ! +--Group (groups other GUI elements)
25 ** ! +--Register (handles page groups with titles)
26 ** ! ! \--Penadjust (group to adjust a pen)
27 ** ! +--Frameadjust (group to adjust a frame)
28 ** ! +--Imageadjust (group to adjust an image)
41 //Uncomment this if you want be able to use all the undocumented features
42 //But remember to modify your libraries/mui.h include
47 /*************************************************************************
48 ** Black box specification structures for images, pens, frames
49 *************************************************************************/
69 // I'm not sure if MUI_ImageSpec and MUI_FrameSpec are 32 or 64 bytes wide.
71 /*************************************************************************
72 ** The real MUI_NotifyData structure
73 *************************************************************************/
79 struct MUI_GlobalInfo
*mnd_GlobalInfo
;
83 Object
*mnd_ParentObject
; // The name may not be the real one
88 #define _parent(obj) (muiNotifyData(obj)->mnd_ParentObject) /* valid between MUIM_Setup/Cleanup */
92 #define _parent(obj) xget(obj,MUIA_Parent)
97 // The use of _parent(obj) macro is strictly forbidden! Use xget(obj,MUIA_Parent) instead.
100 /****************************************************************************/
102 /****************************************************************************/
104 #define MADF_OBJECTVISIBLE (1<<14) // The object is visible
106 #define MUIMRI_INVIRTUALGROUP (1<<29) // The object is inside a virtual group
107 #define MUIMRI_ISVIRTUALGROUP (1<<30) // The object is a virtual group
110 /****************************************************************************/
112 /****************************************************************************/
115 extern char MUIC_Crawling
[];
117 #define MUIC_Crawling "Crawling.mcc"
120 #define CrawlingObject MUI_NewObject(MUIC_Crawling
123 /****************************************************************************/
125 /****************************************************************************/
129 #ifndef MUIA_Application_UsedClasses
130 #define MUIA_Application_UsedClasses 0x8042E9A7 /* V20 (!) */
134 /****************************************************************************/
136 /****************************************************************************/
140 #define MUIM_Window_ActionIconify 0x80422cc0 /* V18 */
142 #ifndef MUIM_Window_Cleanup
143 #define MUIM_Window_Cleanup 0x8042ab26 /* Custom Class */ /* V18 */
144 struct MUIP_Window_Cleanup
{ ULONG MethodID
; }; /* Custom Class */
147 #ifndef MUIM_Window_Setup
148 #define MUIM_Window_Setup 0x8042c34c /* Custom Class */ /* V18 */
149 struct MUIP_Window_Setup
{ ULONG MethodID
; }; /* Custom Class */
154 #define MUIA_Window_DisableKeys 0x80424c36 /* V15 isg ULONG */
157 /****************************************************************************/
159 /****************************************************************************/
164 #define MUIM_DoDrag 0x804216bb /* V18 */ /* Custom Class */
165 struct MUIP_DoDrag
{ ULONG MethodID
; LONG touchx
; LONG touchy
; ULONG flags
; }; /* Custom Class */
168 #define MUIM_CreateDragImage 0x8042eb6f /* V18 */ /* Custom Class */
169 #define MUIM_DeleteDragImage 0x80423037 /* V18 */ /* Custom Class */
170 #define MUIM_GoActive 0x8042491a
171 #define MUIM_GoInactive 0x80422c0c
172 #define MUIM_CustomBackfill 0x80428d73
174 struct MUIP_CustomBackfill
{ ULONG MethodID
; LONG left
; LONG top
; LONG right
; LONG bottom
; LONG xoffset
; LONG yoffset
; };
175 struct MUIP_DeleteDragImage
{ ULONG MethodID
; struct MUI_DragImage
*di
; }; /* Custom Class */
176 struct MUIP_CreateDragImage
{ ULONG MethodID
; LONG touchx
; LONG touchy
; ULONG flags
; }; /* Custom Class */
180 #define MUIA_CustomBackfill 0x80420a63
183 #define MUIV_CreateBubble_DontHidePointer (1<<0)
188 WORD width
; /* exact width and height of bitmap */
190 WORD touchx
; /* position of pointer click relative to bitmap */
192 ULONG flags
; /* must be set to 0 */
196 /****************************************************************************/
198 /****************************************************************************/
202 #define MUIA_Imagedisplay_Spec 0x8042a547 /* V11 isg struct MUI_ImageSpec * */
205 /****************************************************************************/
207 /****************************************************************************/
211 #define MUIA_Imageadjust_Type 0x80422f2b /* V11 i.. LONG */
214 /****************************************************************************/
216 /****************************************************************************/
220 #define MUIA_Framedisplay_Spec 0x80421794 /* isg struct MUI_FrameSpec * */
223 /****************************************************************************/
225 /****************************************************************************/
229 #ifndef MUIA_Prop_DeltaFactor
230 #define MUIA_Prop_DeltaFactor 0x80427c5e /* V4 .s. LONG */
232 #define MUIA_Prop_DoSmooth 0x804236ce /* V4 i.. LONG */
233 #define MUIA_Prop_Release 0x80429839 /* V? g BOOL */ /* private */
234 #define MUIA_Prop_Pressed 0x80422cd7 /* V6 g BOOL */ /* private */
237 /****************************************************************************/
239 /****************************************************************************/
243 #define MUIA_Group_Forward 0x80421422 /* V11 .s. BOOL */
245 /****************************************************************************/
247 /****************************************************************************/
251 #define MUIA_List_Prop_Entries 0x8042a8f5 /* V? ??? */
252 #define MUIA_List_Prop_Visible 0x804273e9 /* V? ??? */
253 #define MUIA_List_Prop_First 0x80429df3 /* V? ??? */
256 /****************************************************************************/
258 /****************************************************************************/
262 #define MUIA_Text_HiCharIdx 0x804214f5
265 /****************************************************************************/
267 /****************************************************************************/
271 #define MUIA_Dtpic_Name 0x80423d72
273 #define MUIV_Application_OCW_ScreenPage (1<<1) /* show just the screen page of the config window */
275 #ifndef MUIA_Window_ShowPopup
276 #define MUIA_Window_ShowPopup 0x8042324e
279 #ifndef MUIA_Window_ShowSnapshot
280 #define MUIA_Window_ShowSnapshot 0x80423c55
283 #ifndef MUIA_Window_ShowPrefs
284 #define MUIA_Window_ShowPrefs 0x8042e262
287 #ifndef MUIA_Window_ShowIconify
288 #define MUIA_Window_ShowIconify 0x8042bc26
291 #ifndef MUIA_Window_ShowAbout
292 #define MUIA_Window_ShowAbout 0x80429c1e
295 #ifndef MUIA_Window_ShowJump
296 #define MUIA_Window_ShowJump 0x80422f40
299 #ifndef MUIA_Window_Frontdrop
300 #define MUIA_Window_Frontdrop 0x80426411
303 #ifndef MUIA_Window_AllowTopMenus
304 #define MUIA_Window_AllowTopMenus 0x8042fe69
307 #if defined(__GNUC__)
311 #endif /* MUI_UNDOC_H */