Updated PCI IDs to latest snapshot.
[tangerine.git] / workbench / libs / openurl / include / mui / MUIundoc.h
blobcdab8f578a435c4bf4a86568747d87b5b09ef4a9
1 /***************************************************************************
2 ** The Hacker's include to MUI v1.8 :-)
3 **
4 ** Copyright 1997-98 by Alessandro Zummo
5 ** azummo@ita.flashnet.it
6 **
7 ** This include is unofficial, use at your own risk!
8 **
9 ** You can also find other undocumented tags in libraries/mui.h :-)
11 ****************************************************************************
12 ** Class Tree
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)
33 #ifndef MUI_UNDOC_H
34 #define MUI_UNDOC_H
36 #if defined(__GNUC__)
37 # pragma pack(2)
38 #endif
41 //Uncomment this if you want be able to use all the undocumented features
42 //But remember to modify your libraries/mui.h include
44 //#define UNDOC_HACK
47 /*************************************************************************
48 ** Black box specification structures for images, pens, frames
49 *************************************************************************/
51 /* Defined in mui.h
52 struct MUI_PenSpec
54 char buf[32];
58 struct MUI_ImageSpec
60 char buf[64];
63 struct MUI_FrameSpec
65 char buf[32];
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 *************************************************************************/
75 #ifdef UNDOC_HACK
77 struct MUI_NotifyData
79 struct MUI_GlobalInfo *mnd_GlobalInfo;
80 ULONG mnd_UserData;
81 ULONG mnd_ObjectID;
82 ULONG priv1;
83 Object *mnd_ParentObject; // The name may not be the real one
84 ULONG priv3;
85 ULONG priv4;
88 #define _parent(obj) (muiNotifyData(obj)->mnd_ParentObject) /* valid between MUIM_Setup/Cleanup */
90 #else
92 #define _parent(obj) xget(obj,MUIA_Parent)
94 #endif
97 // The use of _parent(obj) macro is strictly forbidden! Use xget(obj,MUIA_Parent) instead.
100 /****************************************************************************/
101 /** Flags **/
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 /****************************************************************************/
111 /** Crawling **/
112 /****************************************************************************/
114 #ifdef _DCC
115 extern char MUIC_Crawling[];
116 #else
117 #define MUIC_Crawling "Crawling.mcc"
118 #endif
120 #define CrawlingObject MUI_NewObject(MUIC_Crawling
123 /****************************************************************************/
124 /** Application **/
125 /****************************************************************************/
127 /* Attributes */
129 #ifndef MUIA_Application_UsedClasses
130 #define MUIA_Application_UsedClasses 0x8042E9A7 /* V20 (!) */
131 #endif
134 /****************************************************************************/
135 /** Window **/
136 /****************************************************************************/
138 /* Methods */
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 */
145 #endif
147 #ifndef MUIM_Window_Setup
148 #define MUIM_Window_Setup 0x8042c34c /* Custom Class */ /* V18 */
149 struct MUIP_Window_Setup { ULONG MethodID; }; /* Custom Class */
150 #endif
152 /* Attributes */
154 #define MUIA_Window_DisableKeys 0x80424c36 /* V15 isg ULONG */
157 /****************************************************************************/
158 /** Area **/
159 /****************************************************************************/
161 /* Methods */
163 #ifndef MUIM_DoDrag
164 #define MUIM_DoDrag 0x804216bb /* V18 */ /* Custom Class */
165 struct MUIP_DoDrag { ULONG MethodID; LONG touchx; LONG touchy; ULONG flags; }; /* Custom Class */
166 #endif
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 */
178 /* Attributes */
180 #define MUIA_CustomBackfill 0x80420a63
183 #define MUIV_CreateBubble_DontHidePointer (1<<0)
185 struct MUI_DragImage
187 struct BitMap *bm;
188 WORD width; /* exact width and height of bitmap */
189 WORD height;
190 WORD touchx; /* position of pointer click relative to bitmap */
191 WORD touchy;
192 ULONG flags; /* must be set to 0 */
196 /****************************************************************************/
197 /** Imagedisplay **/
198 /****************************************************************************/
200 /* Attributes */
202 #define MUIA_Imagedisplay_Spec 0x8042a547 /* V11 isg struct MUI_ImageSpec * */
205 /****************************************************************************/
206 /** Imageadjust **/
207 /****************************************************************************/
209 /* Attributes */
211 #define MUIA_Imageadjust_Type 0x80422f2b /* V11 i.. LONG */
214 /****************************************************************************/
215 /** Framedisplay **/
216 /****************************************************************************/
218 /* Attributes */
220 #define MUIA_Framedisplay_Spec 0x80421794 /* isg struct MUI_FrameSpec * */
223 /****************************************************************************/
224 /** Prop **/
225 /****************************************************************************/
227 /* Attributes */
229 #ifndef MUIA_Prop_DeltaFactor
230 #define MUIA_Prop_DeltaFactor 0x80427c5e /* V4 .s. LONG */
231 #endif
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 /****************************************************************************/
238 /** Group **/
239 /****************************************************************************/
241 /* Attributes */
243 #define MUIA_Group_Forward 0x80421422 /* V11 .s. BOOL */
245 /****************************************************************************/
246 /** List **/
247 /****************************************************************************/
249 /* Attributes */
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 /****************************************************************************/
257 /** Text **/
258 /****************************************************************************/
260 /* Attributes */
262 #define MUIA_Text_HiCharIdx 0x804214f5
265 /****************************************************************************/
266 /** Dtpic **/
267 /****************************************************************************/
269 /* Attributes */
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
277 #endif
279 #ifndef MUIA_Window_ShowSnapshot
280 #define MUIA_Window_ShowSnapshot 0x80423c55
281 #endif
283 #ifndef MUIA_Window_ShowPrefs
284 #define MUIA_Window_ShowPrefs 0x8042e262
285 #endif
287 #ifndef MUIA_Window_ShowIconify
288 #define MUIA_Window_ShowIconify 0x8042bc26
289 #endif
291 #ifndef MUIA_Window_ShowAbout
292 #define MUIA_Window_ShowAbout 0x80429c1e
293 #endif
295 #ifndef MUIA_Window_ShowJump
296 #define MUIA_Window_ShowJump 0x80422f40
297 #endif
299 #ifndef MUIA_Window_Frontdrop
300 #define MUIA_Window_Frontdrop 0x80426411
301 #endif
303 #ifndef MUIA_Window_AllowTopMenus
304 #define MUIA_Window_AllowTopMenus 0x8042fe69
305 #endif
307 #if defined(__GNUC__)
308 # pragma pack()
309 #endif
311 #endif /* MUI_UNDOC_H */