1 /***************************************************************************
3 ** MUI - MagicUserInterface
4 ** (c) 1993-2003 Stefan Stuntz
8 ****************************************************************************
10 ****************************************************************************
12 ** rootclass (BOOPSI's base class)
13 ** +--Notify (implements notification mechanism)
14 ** ! +--Family (handles multiple children)
15 ** ! ! +--Menustrip (describes a complete menu strip)
16 ** ! ! +--Menu (describes a single menu)
17 ** ! ! \--Menuitem (describes a single menu item)
18 ** ! +--Application (main class for all applications)
19 ** ! +--Window (main class for all windows)
20 ** ! ! \--Aboutmui (About window of MUI preferences)
21 ** ! +--Area (base class for all GUI elements)
22 ** ! +--Rectangle (spacing object)
23 ** ! +--Balance (balancing separator bar)
24 ** ! +--Image (image display)
25 ** ! +--Bitmap (draws bitmaps)
26 ** ! ! \--Bodychunk (makes bitmap from ILBM body chunk)
27 ** ! +--Text (text display)
28 ** ! +--Gadget (base class for intuition gadgets)
29 ** ! ! +--String (string gadget)
30 ** ! ! +--Boopsi (interface to BOOPSI gadgets)
31 ** ! ! \--Prop (proportional gadget)
32 ** ! +--Gauge (fule gauge)
33 ** ! +--Scale (percentage scale)
34 ** ! +--Colorfield (field with changeable color)
35 ** ! +--List (line-oriented list)
36 ** ! ! +--Floattext (special list with floating text)
37 ** ! ! +--Volumelist (special list with volumes)
38 ** ! ! +--Scrmodelist (special list with screen modes)
39 ** ! ! \--Dirlist (special list with files)
40 ** ! +--Numeric (base class for slider gadgets)
41 ** ! ! +--Knob (turning knob)
42 ** ! ! +--Levelmeter (level display)
43 ** ! ! +--Numericbutton (space saving popup slider)
44 ** ! ! \--Slider (traditional slider)
45 ** ! +--Framedisplay (private)
46 ** ! ! \--Popframe (private)
47 ** ! +--Imagedisplay (private)
48 ** ! ! \--Popimage (private)
49 ** ! +--Pendisplay (displays a pen specification)
50 ** ! ! \--Poppen (popup button to adjust a pen spec)
51 ** ! +--Group (groups other GUI elements)
52 ** ! +--Mccprefs (private)
53 ** ! +--Register (handles page groups with titles)
54 ** ! ! \--Penadjust (group to adjust a pen)
55 ** ! +--Settingsgroup (private)
56 ** ! +--Settings (private)
57 ** ! +--Frameadjust (private)
58 ** ! +--Imageadjust (private)
59 ** ! +--Virtgroup (handles virtual groups)
60 ** ! +--Scrollgroup (virtual groups with scrollbars)
61 ** ! +--Scrollbar (traditional scrollbar)
62 ** ! +--Listview (listview)
63 ** ! +--Radio (radio button)
64 ** ! +--Cycle (cycle gadget)
65 ** ! +--Coloradjust (several gadgets to adjust a color)
66 ** ! +--Palette (complete palette gadget)
67 ** ! +--Popstring (base class for popup objects)
68 ** ! +--Popobject (popup aynthing in a separate window)
69 ** ! ! +--Poplist (popup a simple listview)
70 ** ! ! \--Popscreen (popup a list of public screens)
71 ** ! \--Popasl (popup an asl requester)
72 ** +--Semaphore (semaphore equipped objects)
73 ** +--Applist (private)
74 ** +--Dataspace (handles general purpose data spaces)
75 ** \--Configdata (private)
77 ****************************************************************************
78 ** General Header File Information
79 ****************************************************************************
81 ** All macro and structure definitions follow these rules:
85 ** MUIC_<class> Name of a class
86 ** MUIM_<class>_<method> Method
87 ** MUIP_<class>_<method> Methods parameter structure
88 ** MUIV_<class>_<method>_<x> Special method value
89 ** MUIA_<class>_<attrib> Attribute
90 ** MUIV_<class>_<attrib>_<x> Special attribute value
91 ** MUIE_<error> Error return code from MUI_Error()
92 ** MUII_<name> Standard MUI image
93 ** MUIX_<code> Control codes for text strings
94 ** MUIO_<name> Object type for MUI_MakeObject()
96 ** MUIA_... attribute definitions are followed by a comment
97 ** consisting of the three possible letters I, S and G.
98 ** I: it's possible to specify this attribute at object creation time.
99 ** S: it's possible to change this attribute with SetAttrs().
100 ** G: it's possible to get this attribute with GetAttr().
102 ** Items marked with "Custom Class" are for use in custom classes only!
106 #ifndef LIBRARIES_MUI_H
107 #define LIBRARIES_MUI_H
111 #include <exec/types.h>
118 #ifndef INTUITION_CLASSES_H
119 #include <intuition/classes.h>
122 #ifndef INTUITION_SCREENS_H
123 #include <intuition/screens.h>
127 #include <emul/emulinterface.h>
133 /***************************************************************************
134 ** Library specification
135 ***************************************************************************/
137 #define MUIMASTER_NAME "muimaster.library"
138 #define MUIMASTER_VMIN 20
139 #define MUIMASTER_VLATEST 20
142 ** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
143 ** Warning, some of the macros in this header file work only with
144 ** uptodate versions of muimaster.library. If you recompile your programs,
145 ** be sure to open muimaster.library with MUIMASTER_VMIN as version number.
146 ** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
150 /* include obsolete identifiers for backward compatibility */
155 /*************************************************************************
156 ** Config items for MUIM_GetConfigItem
157 *************************************************************************/
159 #define MUICFG_PublicScreen 36
163 /*************************************************************************
164 ** Black box specification structures for images, pens, frames
165 *************************************************************************/
172 /***************************************************************************
173 ** Object Types for MUI_MakeObject()
174 ***************************************************************************/
176 #define MUIO_Label 1 /* STRPTR label, ULONG flags */
177 #define MUIO_Button 2 /* STRPTR label */
178 #define MUIO_Checkmark 3 /* STRPTR label */
179 #define MUIO_Cycle 4 /* STRPTR label, STRPTR *entries */
180 #define MUIO_Radio 5 /* STRPTR label, STRPTR *entries */
181 #define MUIO_Slider 6 /* STRPTR label, LONG min, LONG max */
182 #define MUIO_String 7 /* STRPTR label, LONG maxlen */
183 #define MUIO_PopButton 8 /* STRPTR imagespec */
184 #define MUIO_HSpace 9 /* LONG space */
185 #define MUIO_VSpace 10 /* LONG space */
186 #define MUIO_HBar 11 /* LONG space */
187 #define MUIO_VBar 12 /* LONG space */
188 #define MUIO_MenustripNM 13 /* struct NewMenu *nm, ULONG flags */
189 #define MUIO_Menuitem 14 /* STRPTR label, STRPTR shortcut, ULONG flags, ULONG data */
190 #define MUIO_BarTitle 15 /* STRPTR label */
191 #define MUIO_NumericButton 16 /* STRPTR label, LONG min, LONG max, STRPTR format */
193 #define MUIO_Menuitem_CopyStrings (1<<30)
195 #define MUIO_Label_SingleFrame (1<< 8)
196 #define MUIO_Label_DoubleFrame (1<< 9)
197 #define MUIO_Label_LeftAligned (1<<10)
198 #define MUIO_Label_Centered (1<<11)
199 #define MUIO_Label_FreeVert (1<<12)
200 #define MUIO_Label_Tiny (1<<13)
201 #define MUIO_Label_DontCopy (1<<14)
203 #define MUIO_MenustripNM_CommandKeyCheck (1<<0) /* check for "localized" menu items such as "O\0Open" */
207 /***************************************************************************
209 ***************************************************************************/
216 struct Hook
*mc_Hook
;
220 #define MC_TEMPLATE_ID ((STRPTR)~0)
222 #define MUI_RXERR_BADDEFINITION -1
223 #define MUI_RXERR_OUTOFMEMORY -2
224 #define MUI_RXERR_UNKNOWNCOMMAND -3
225 #define MUI_RXERR_BADSYNTAX -4
228 /***************************************************************************
229 ** Return values for MUI_Error()
230 ***************************************************************************/
233 #define MUIE_OutOfMemory 1
234 #define MUIE_OutOfGfxMemory 2
235 #define MUIE_InvalidWindowObject 3
236 #define MUIE_MissingLibrary 4
237 #define MUIE_NoARexx 5
238 #define MUIE_SingleTask 6
242 /***************************************************************************
243 ** Standard MUI Images & Backgrounds
244 ***************************************************************************/
246 #define MUII_WindowBack 0 /* These images are configured */
247 #define MUII_RequesterBack 1 /* with the preferences program. */
248 #define MUII_ButtonBack 2
249 #define MUII_ListBack 3
250 #define MUII_TextBack 4
251 #define MUII_PropBack 5
252 #define MUII_PopupBack 6
253 #define MUII_SelectedBack 7
254 #define MUII_ListCursor 8
255 #define MUII_ListSelect 9
256 #define MUII_ListSelCur 10
257 #define MUII_ArrowUp 11
258 #define MUII_ArrowDown 12
259 #define MUII_ArrowLeft 13
260 #define MUII_ArrowRight 14
261 #define MUII_CheckMark 15
262 #define MUII_RadioButton 16
263 #define MUII_Cycle 17
264 #define MUII_PopUp 18
265 #define MUII_PopFile 19
266 #define MUII_PopDrawer 20
267 #define MUII_PropKnob 21
268 #define MUII_Drawer 22
269 #define MUII_HardDisk 23
272 #define MUII_Volume 26
273 #define MUII_RegisterBack 27
274 #define MUII_Network 28
275 #define MUII_Assign 29
276 #define MUII_TapePlay 30
277 #define MUII_TapePlayBack 31
278 #define MUII_TapePause 32
279 #define MUII_TapeStop 33
280 #define MUII_TapeRecord 34
281 #define MUII_GroupBack 35
282 #define MUII_SliderBack 36
283 #define MUII_SliderKnob 37
284 #define MUII_TapeUp 38
285 #define MUII_TapeDown 39
286 #define MUII_PageBack 40
287 #define MUII_ReadListBack 41
288 #define MUII_PopFont 42
289 #define MUII_ImageButtonBack 43
290 #define MUII_ImageSelectedBack 44
291 #define MUII_Count 45
293 #define MUII_BACKGROUND 128 /* These are direct color */
294 #define MUII_SHADOW 129 /* combinations and are not */
295 #define MUII_SHINE 130 /* affected by users prefs. */
296 #define MUII_FILL 131
297 #define MUII_SHADOWBACK 132 /* Generally, you should */
298 #define MUII_SHADOWFILL 133 /* avoid using them. Better */
299 #define MUII_SHADOWSHINE 134 /* use one of the customized */
300 #define MUII_FILLBACK 135 /* images above. */
301 #define MUII_FILLSHINE 136
302 #define MUII_SHINEBACK 137
303 #define MUII_FILLBACK2 138
304 #define MUII_HSHINEBACK 139
305 #define MUII_HSHADOWBACK 140
306 #define MUII_HSHINESHINE 141
307 #define MUII_HSHADOWSHADOW 142
308 #define MUII_MARKSHINE 143
309 #define MUII_MARKHALFSHINE 144
310 #define MUII_MARKBACKGROUND 145
311 #define MUII_BARBLOCK 146
312 #define MUII_BARDETAIL 147
313 #define MUII_LASTPAT 147
317 /***************************************************************************
318 ** Special values for some methods
319 ***************************************************************************/
321 #define MUIV_TriggerValue 0x49893131
322 #define MUIV_NotTriggerValue 0x49893133
323 #define MUIV_EveryTime 0x49893131
325 #define MUIV_Notify_Self 1
326 #define MUIV_Notify_Window 2
327 #define MUIV_Notify_Application 3
328 #define MUIV_Notify_Parent 4
330 #define MUIV_Application_Save_ENV ((STRPTR) 0)
331 #define MUIV_Application_Save_ENVARC ((STRPTR)~0)
332 #define MUIV_Application_Load_ENV ((STRPTR) 0)
333 #define MUIV_Application_Load_ENVARC ((STRPTR)~0)
335 #define MUIV_Application_ReturnID_Quit -1
337 #define MUIV_List_Insert_Top 0
338 #define MUIV_List_Insert_Active -1
339 #define MUIV_List_Insert_Sorted -2
340 #define MUIV_List_Insert_Bottom -3
342 #define MUIV_List_Remove_First 0
343 #define MUIV_List_Remove_Active -1
344 #define MUIV_List_Remove_Last -2
345 #define MUIV_List_Remove_Selected -3
347 #define MUIV_List_Select_Off 0
348 #define MUIV_List_Select_On 1
349 #define MUIV_List_Select_Toggle 2
350 #define MUIV_List_Select_Ask 3
352 #define MUIV_List_GetEntry_Active -1
353 #define MUIV_List_Select_Active -1
354 #define MUIV_List_Select_All -2
356 #define MUIV_List_Redraw_Active -1
357 #define MUIV_List_Redraw_All -2
359 #define MUIV_List_Move_Top 0
360 #define MUIV_List_Move_Active -1
361 #define MUIV_List_Move_Bottom -2
362 #define MUIV_List_Move_Next -3 /* only valid for second parameter */
363 #define MUIV_List_Move_Previous -4 /* only valid for second parameter */
365 #define MUIV_List_Exchange_Top 0
366 #define MUIV_List_Exchange_Active -1
367 #define MUIV_List_Exchange_Bottom -2
368 #define MUIV_List_Exchange_Next -3 /* only valid for second parameter */
369 #define MUIV_List_Exchange_Previous -4 /* only valid for second parameter */
371 #define MUIV_List_Jump_Top 0
372 #define MUIV_List_Jump_Active -1
373 #define MUIV_List_Jump_Bottom -2
374 #define MUIV_List_Jump_Up -4
375 #define MUIV_List_Jump_Down -3
377 #define MUIV_List_NextSelected_Start -1
378 #define MUIV_List_NextSelected_End -1
380 #define MUIV_DragQuery_Refuse 0
381 #define MUIV_DragQuery_Accept 1
383 #define MUIV_DragReport_Abort 0
384 #define MUIV_DragReport_Continue 1
385 #define MUIV_DragReport_Lock 2
386 #define MUIV_DragReport_Refresh 3
389 #define MUIV_CreateBubble_DontHidePointer (1<<0)
391 #define MUIV_Application_OCW_ScreenPage (1<<1) /* show just the screen page of the config window */
393 #define MUIV_ContextMenuBuild_Default 0xffffffff
395 #define MUIV_PushMethod_Delay(millis) (((ULONG)millis)<<8)
399 /***************************************************************************
400 ** Control codes for text strings
401 ***************************************************************************/
403 #define MUIX_R "\033r" /* right justified */
404 #define MUIX_C "\033c" /* centered */
405 #define MUIX_L "\033l" /* left justified */
407 #define MUIX_N "\033n" /* normal */
408 #define MUIX_B "\033b" /* bold */
409 #define MUIX_I "\033i" /* italic */
410 #define MUIX_U "\033u" /* underlined */
412 #define MUIX_PT "\0332" /* text pen */
413 #define MUIX_PH "\0338" /* highlight text pen */
417 /***************************************************************************
418 ** Parameter structures for some classes
419 ***************************************************************************/
421 struct MUI_Palette_Entry
430 #define MUIV_Palette_Entry_End -1
433 /*****************************/
434 /* Application Input Handler */
435 /*****************************/
437 struct MUI_InputHandlerNode
439 struct MinNode ihn_Node
;
452 ULONG ihn_Flags
; /* see below */
456 #define ihn_Signals ihn_stuff.ihn_sigs
457 #define ihn_Millis ihn_stuff.ihn_timer.ihn_millis
458 #define ihn_Current ihn_stuff.ihn_timer.ihn_current
460 /* Flags for ihn_Flags */
461 #define MUIIHNF_TIMER (1<<0) /* set ihn_Millis to number of 1/1000 sec ticks you want to be triggered */
462 #define MUIIHNF_TIMER_SCALE10 (1<<1) /* ihn_Millis is in 1/100 seconds instead */
463 #define MUIIHNF_TIMER_SCALE100 (1<<2) /* ihn_Millis is in 1/10 seconds instead */
464 /* setting both SCALE10|SCALE100 makes ihn_Millis 1/1 seconds */
468 /************************/
469 /* Window Event Handler */
470 /************************/
472 struct MUI_EventHandlerNode
474 struct MinNode ehn_Node
;
475 BYTE ehn_Reserved
; /* don't touch! */
476 BYTE ehn_Priority
; /* event handlers are inserted according to their priority. */
477 UWORD ehn_Flags
; /* certain flags, see below for definitions. */
478 Object
*ehn_Object
; /* object which should receive MUIM_HandleEvent. */
479 struct IClass
*ehn_Class
; /* if !=NULL, MUIM_HandleEvent is invoked on exactly this class with CoerceMethod(). */
480 ULONG ehn_Events
; /* one or more IDCMP flags this handler should react on. */
483 /* flags for ehn_Flags */
485 #define MUI_EHF_ALWAYSKEYS (1<<0) /* not for public use */
487 #define MUI_EHF_GUIMODE (1<<1) /* set this if you dont want your handler to be called */
488 /* when your object is disabled or invisible */
490 #define MUI_EHF_ISACTIVEGRP (1<<12) /* not for public use */
492 #define MUI_EHF_ISACTIVE (1<<13) /* this flag is maintained by MUI and READ-ONLY: */
493 /* set when ehn_Object is a window's active or default object. */
495 #define MUI_EHF_ISCALLING (1<<14) /* not for public use */
497 #define MUI_EHF_ISENABLED (1<<15) /* this flag is maintained by MUI and READ-ONLY: */
498 /* it is set when the handler is added (after MUIM_Window_AddEventHandler) */
499 /* and cleared when the handler is removed (after MUIM_Window_RemEventHandler). */
500 /* you may not change the state of this flag yourself, but you may read it */
501 /* to find out whether your handler is currently added to a window or not. */
504 /* other values reserved for future use */
506 /* return values for MUIM_HandleEvent (bit-masked, all other bits must be 0) */
507 #define MUI_EventHandlerRC_Eat (1<<0) /* stop MUI from calling other handlers */
510 /**********************/
511 /* List Position Test */
512 /**********************/
514 struct MUI_List_TestPos_Result
516 LONG entry
; /* number of entry, -1 if mouse not over valid entry */
517 WORD column
; /* numer of column, -1 if no valid column */
518 UWORD flags
; /* see below */
519 WORD xoffset
; /* x offset of mouse click relative to column start */
520 WORD yoffset
; /* y offset of mouse click from center of line
521 (negative values mean click was above center,
522 positive values mean click was below center) */
525 #define MUI_LPR_ABOVE (1<<0)
526 #define MUI_LPR_BELOW (1<<1)
527 #define MUI_LPR_LEFT (1<<2)
528 #define MUI_LPR_RIGHT (1<<3)
531 /***************************************************************************
536 ** To make GUI creation more easy and understandable, you can use the
537 ** macros below. If you dont want, just define MUI_NOSHORTCUTS to disable
540 ** These macros are available to C programmers only.
542 ***************************************************************************/
544 #ifndef MUI_NOSHORTCUTS
548 /***************************************************************************
553 ** The xxxObject (and xChilds) macros generate new instances of MUI classes.
554 ** Every xxxObject can be followed by tagitems specifying initial create
555 ** time attributes for the new object and must be terminated with the
558 ** obj = StringObject,
559 ** MUIA_String_Contents, "foo",
560 ** MUIA_String_MaxLen , 40,
563 ** With the Child, SubWindow and WindowContents shortcuts you can
564 ** construct a complete GUI within one command:
566 ** app = ApplicationObject,
570 ** SubWindow, WindowObject,
571 ** WindowContents, VGroup,
572 ** Child, String("foo",40),
573 ** Child, String("bar",50),
575 ** Child, CheckMark(TRUE),
576 ** Child, CheckMark(FALSE),
581 ** SubWindow, WindowObject,
582 ** WindowContents, HGroup,
592 ***************************************************************************/
594 #define MenustripObject MUI_NewObject(MUIC_Menustrip
595 #define MenuObject MUI_NewObject(MUIC_Menu
596 #define MenuObjectT(name) MUI_NewObject(MUIC_Menu,MUIA_Menu_Title,name
597 #define PopmenuObject MUI_NewObject(MUIC_Popmenu
598 #define MenuitemObject MUI_NewObject(MUIC_Menuitem
599 #define WindowObject MUI_NewObject(MUIC_Window
600 #define ImageObject MUI_NewObject(MUIC_Image
601 #define BitmapObject MUI_NewObject(MUIC_Bitmap
602 #define BodychunkObject MUI_NewObject(MUIC_Bodychunk
603 #define NotifyObject MUI_NewObject(MUIC_Notify
604 #define ApplicationObject MUI_NewObject(MUIC_Application
605 #define TextObject MUI_NewObject(MUIC_Text
606 #define RectangleObject MUI_NewObject(MUIC_Rectangle
607 #define BalanceObject MUI_NewObject(MUIC_Balance
608 #define ListObject MUI_NewObject(MUIC_List
609 #define PropObject MUI_NewObject(MUIC_Prop
610 #define StringObject MUI_NewObject(MUIC_String
611 #define ScrollbarObject MUI_NewObject(MUIC_Scrollbar
612 #define ListviewObject MUI_NewObject(MUIC_Listview
613 #define RadioObject MUI_NewObject(MUIC_Radio
614 #define VolumelistObject MUI_NewObject(MUIC_Volumelist
615 #define FloattextObject MUI_NewObject(MUIC_Floattext
616 #define DirlistObject MUI_NewObject(MUIC_Dirlist
617 #define CycleObject MUI_NewObject(MUIC_Cycle
618 #define GaugeObject MUI_NewObject(MUIC_Gauge
619 #define ScaleObject MUI_NewObject(MUIC_Scale
620 #define NumericObject MUI_NewObject(MUIC_Numeric
621 #define SliderObject MUI_NewObject(MUIC_Slider
622 #define NumericbuttonObject MUI_NewObject(MUIC_Numericbutton
623 #define KnobObject MUI_NewObject(MUIC_Knob
624 #define LevelmeterObject MUI_NewObject(MUIC_Levelmeter
625 #define BoopsiObject MUI_NewObject(MUIC_Boopsi
626 #define ColorfieldObject MUI_NewObject(MUIC_Colorfield
627 #define PenadjustObject MUI_NewObject(MUIC_Penadjust
628 #define ColoradjustObject MUI_NewObject(MUIC_Coloradjust
629 #define PaletteObject MUI_NewObject(MUIC_Palette
630 #define GroupObject MUI_NewObject(MUIC_Group
631 #define RegisterObject MUI_NewObject(MUIC_Register
632 #define VirtgroupObject MUI_NewObject(MUIC_Virtgroup
633 #define ScrollgroupObject MUI_NewObject(MUIC_Scrollgroup
634 #define PopstringObject MUI_NewObject(MUIC_Popstring
635 #define PopobjectObject MUI_NewObject(MUIC_Popobject
636 #define PoplistObject MUI_NewObject(MUIC_Poplist
637 #define PopaslObject MUI_NewObject(MUIC_Popasl
638 #define PendisplayObject MUI_NewObject(MUIC_Pendisplay
639 #define PoppenObject MUI_NewObject(MUIC_Poppen
640 #define AboutmuiObject MUI_NewObject(MUIC_Aboutmui
641 #define ScrmodelistObject MUI_NewObject(MUIC_Scrmodelist
642 #define KeyentryObject MUI_NewObject(MUIC_Keyentry
643 #define VGroup MUI_NewObject(MUIC_Group
644 #define HGroup MUI_NewObject(MUIC_Group,MUIA_Group_Horiz,TRUE
645 #define ColGroup(cols) MUI_NewObject(MUIC_Group,MUIA_Group_Columns,(cols)
646 #define RowGroup(rows) MUI_NewObject(MUIC_Group,MUIA_Group_Rows ,(rows)
647 #define PageGroup MUI_NewObject(MUIC_Group,MUIA_Group_PageMode,TRUE
648 #define VGroupV MUI_NewObject(MUIC_Virtgroup
649 #define HGroupV MUI_NewObject(MUIC_Virtgroup,MUIA_Group_Horiz,TRUE
650 #define ColGroupV(cols) MUI_NewObject(MUIC_Virtgroup,MUIA_Group_Columns,(cols)
651 #define RowGroupV(rows) MUI_NewObject(MUIC_Virtgroup,MUIA_Group_Rows ,(rows)
652 #define PageGroupV MUI_NewObject(MUIC_Virtgroup,MUIA_Group_PageMode,TRUE
653 #define RegisterGroup(t) MUI_NewObject(MUIC_Register,MUIA_Register_Titles,(t)
654 #define End TAG_DONE)
656 #define Child MUIA_Group_Child
657 #define SubWindow MUIA_Application_Window
658 #define WindowContents MUIA_Window_RootObject
662 /***************************************************************************
667 ** These macros may be used to specify one of MUI's different frame types.
668 ** Note that every macro consists of one { ti_Tag, ti_Data } pair.
670 ** GroupFrameT() is a special kind of frame that contains a centered
673 ** HGroup, GroupFrameT("Horiz Groups"),
674 ** Child, RectangleObject, TextFrame , End,
675 ** Child, RectangleObject, StringFrame, End,
676 ** Child, RectangleObject, ButtonFrame, End,
677 ** Child, RectangleObject, ListFrame , End,
680 ***************************************************************************/
682 #define NoFrame MUIA_Frame, MUIV_Frame_None
683 #define ButtonFrame MUIA_Frame, MUIV_Frame_Button
684 #define ImageButtonFrame MUIA_Frame, MUIV_Frame_ImageButton
685 #define TextFrame MUIA_Frame, MUIV_Frame_Text
686 #define StringFrame MUIA_Frame, MUIV_Frame_String
687 #define ReadListFrame MUIA_Frame, MUIV_Frame_ReadList
688 #define InputListFrame MUIA_Frame, MUIV_Frame_InputList
689 #define PropFrame MUIA_Frame, MUIV_Frame_Prop
690 #define SliderFrame MUIA_Frame, MUIV_Frame_Slider
691 #define GaugeFrame MUIA_Frame, MUIV_Frame_Gauge
692 #define VirtualFrame MUIA_Frame, MUIV_Frame_Virtual
693 #define GroupFrame MUIA_Frame, MUIV_Frame_Group
694 #define GroupFrameT(s) MUIA_Frame, MUIV_Frame_Group, MUIA_FrameTitle, s, MUIA_Background, MUII_GroupBack
698 /***************************************************************************
703 ***************************************************************************/
705 #define HVSpace MUI_NewObject(MUIC_Rectangle,TAG_DONE)
706 #define HSpace(x) MUI_MakeObject(MUIO_HSpace,(x))
707 #define VSpace(x) MUI_MakeObject(MUIO_VSpace,(x))
708 #define HCenter(obj) (HGroup, GroupSpacing(0), Child, HSpace(0), Child, (obj), Child, HSpace(0), End)
709 #define VCenter(obj) (VGroup, GroupSpacing(0), Child, VSpace(0), Child, (obj), Child, VSpace(0), End)
710 #define InnerSpacing(h,v) MUIA_InnerLeft,(h),MUIA_InnerRight,(h),MUIA_InnerTop,(v),MUIA_InnerBottom,(v)
711 #define GroupSpacing(x) MUIA_Group_Spacing,(x)
717 /***************************************************************************
722 ** The following macro creates a simple string gadget.
724 ***************************************************************************/
726 #define String(contents,maxlen)\
729 MUIA_String_MaxLen , maxlen,\
730 MUIA_String_Contents, contents,\
733 #define KeyString(contents,maxlen,controlchar)\
736 MUIA_ControlChar , controlchar,\
737 MUIA_String_MaxLen , maxlen,\
738 MUIA_String_Contents, contents,\
747 /***************************************************************************
752 ** The following macro creates a checkmark gadget.
754 ***************************************************************************/
756 #define CheckMark(selected)\
759 MUIA_InputMode , MUIV_InputMode_Toggle,\
760 MUIA_Image_Spec , MUII_CheckMark,\
761 MUIA_Image_FreeVert , TRUE,\
762 MUIA_Selected , selected,\
763 MUIA_Background , MUII_ButtonBack,\
764 MUIA_ShowSelState , FALSE,\
767 #define KeyCheckMark(selected,control)\
770 MUIA_InputMode , MUIV_InputMode_Toggle,\
771 MUIA_Image_Spec , MUII_CheckMark,\
772 MUIA_Image_FreeVert , TRUE,\
773 MUIA_Selected , selected,\
774 MUIA_Background , MUII_ButtonBack,\
775 MUIA_ShowSelState , FALSE,\
776 MUIA_ControlChar , control,\
782 /***************************************************************************
787 ** Note: Use small letters for KeyButtons, e.g.
788 ** KeyButton("Cancel",'c') and not KeyButton("Cancel",'C') !!
790 ***************************************************************************/
792 #define SimpleButton(label) MUI_MakeObject(MUIO_Button,(unsigned long)label)
796 #define KeyButton(name,key)\
799 MUIA_Font, MUIV_Font_Button,\
800 MUIA_Text_Contents, name,\
801 MUIA_Text_PreParse, "\33c",\
802 MUIA_Text_HiChar , key,\
803 MUIA_ControlChar , key,\
804 MUIA_InputMode , MUIV_InputMode_RelVerify,\
805 MUIA_Background , MUII_ButtonBack,\
813 /***************************************************************************
818 ***************************************************************************/
820 #define Cycle(entries) CycleObject, MUIA_Font, MUIV_Font_Button, MUIA_Cycle_Entries, entries, End
821 #define KeyCycle(entries,key) CycleObject, MUIA_Font, MUIV_Font_Button, MUIA_Cycle_Entries, entries, MUIA_ControlChar, key, End
825 /***************************************************************************
830 ***************************************************************************/
832 #define Radio(name,array)\
835 MUIA_Radio_Entries,array,\
838 #define KeyRadio(name,array,key)\
841 MUIA_Radio_Entries,array,\
842 MUIA_ControlChar, key,\
847 /***************************************************************************
852 ***************************************************************************/
855 #define Slider(min,max,level)\
857 MUIA_Numeric_Min , min,\
858 MUIA_Numeric_Max , max,\
859 MUIA_Numeric_Value, level,\
862 #define KeySlider(min,max,level,key)\
864 MUIA_Numeric_Min , min,\
865 MUIA_Numeric_Max , max,\
866 MUIA_Numeric_Value, level,\
867 MUIA_ControlChar , key,\
874 /***************************************************************************
876 ** Button to be used for popup objects
878 ***************************************************************************/
880 #define PopButton(img) MUI_MakeObject(MUIO_PopButton,(unsigned long)img)
884 /***************************************************************************
889 ** Labeling objects, e.g. a group of string gadgets,
896 ** is done using a 2 column group:
899 ** Child, Label2("Small:" ),
900 ** Child, StringObject, End,
901 ** Child, Label2("Normal:"),
902 ** Child, StringObject, End,
903 ** Child, Label2("Big:" ),
904 ** Child, StringObject, End,
905 ** Child, Label2("Huge:" ),
906 ** Child, StringObject, End,
909 ** Note that we have three versions of the label macro, depending on
910 ** the frame type of the right hand object:
912 ** Label1(): For use with standard frames (e.g. checkmarks).
913 ** Label2(): For use with double high frames (e.g. string gadgets).
914 ** Label() : For use with objects without a frame.
916 ** These macros ensure that your label will look fine even if the
917 ** user of your application configured some strange spacing values.
918 ** If you want to use your own labeling, you'll have to pay attention
919 ** on this topic yourself.
921 ***************************************************************************/
923 #define Label(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,0)
924 #define Label1(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_SingleFrame)
925 #define Label2(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_DoubleFrame)
926 #define LLabel(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_LeftAligned)
927 #define LLabel1(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_LeftAligned|MUIO_Label_SingleFrame)
928 #define LLabel2(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_LeftAligned|MUIO_Label_DoubleFrame)
929 #define CLabel(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_Centered)
930 #define CLabel1(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_Centered|MUIO_Label_SingleFrame)
931 #define CLabel2(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_Centered|MUIO_Label_DoubleFrame)
933 #define FreeLabel(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert)
934 #define FreeLabel1(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|MUIO_Label_SingleFrame)
935 #define FreeLabel2(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|MUIO_Label_DoubleFrame)
936 #define FreeLLabel(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|MUIO_Label_LeftAligned)
937 #define FreeLLabel1(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|MUIO_Label_LeftAligned|MUIO_Label_SingleFrame)
938 #define FreeLLabel2(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|MUIO_Label_LeftAligned|MUIO_Label_DoubleFrame)
939 #define FreeCLabel(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|MUIO_Label_Centered)
940 #define FreeCLabel1(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|MUIO_Label_Centered|MUIO_Label_SingleFrame)
941 #define FreeCLabel2(label) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|MUIO_Label_Centered|MUIO_Label_DoubleFrame)
943 #define KeyLabel(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,key)
944 #define KeyLabel1(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_SingleFrame|(key))
945 #define KeyLabel2(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_DoubleFrame|(key))
946 #define KeyLLabel(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_LeftAligned|(key))
947 #define KeyLLabel1(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_LeftAligned|MUIO_Label_SingleFrame|(key))
948 #define KeyLLabel2(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_LeftAligned|MUIO_Label_DoubleFrame|(key))
949 #define KeyCLabel(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_Centered|(key))
950 #define KeyCLabel1(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_Centered|MUIO_Label_SingleFrame|(key))
951 #define KeyCLabel2(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_Centered|MUIO_Label_DoubleFrame|(key))
953 #define FreeKeyLabel(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|(key))
954 #define FreeKeyLabel1(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|MUIO_Label_SingleFrame|(key))
955 #define FreeKeyLabel2(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|MUIO_Label_DoubleFrame|(key))
956 #define FreeKeyLLabel(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|MUIO_Label_LeftAligned|(key))
957 #define FreeKeyLLabel1(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|MUIO_Label_LeftAligned|MUIO_Label_SingleFrame|(key))
958 #define FreeKeyLLabel2(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|MUIO_Label_LeftAligned|MUIO_Label_DoubleFrame|(key))
959 #define FreeKeyCLabel(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|MUIO_Label_Centered|(key))
960 #define FreeKeyCLabel1(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|MUIO_Label_Centered|MUIO_Label_SingleFrame|(key))
961 #define FreeKeyCLabel2(label,key) MUI_MakeObject(MUIO_Label,(unsigned long)label,MUIO_Label_FreeVert|MUIO_Label_Centered|MUIO_Label_DoubleFrame|(key))
965 /***************************************************************************
967 ** Controlling Objects
968 ** -------------------
970 ** set() and get() are two short stubs for BOOPSI GetAttr() and SetAttrs()
976 ** set(obj,MUIA_String_Contents,"foobar");
977 ** get(obj,MUIA_String_Contents,&x);
979 ** printf("gadget contains '%s'\n",x);
982 ** nnset() sets an attribute without triggering a possible notification.
984 ***************************************************************************/
988 #define get(obj,attr,store) GetAttr(attr,obj,(ULONG *)store)
989 #define set(obj,attr,value) SetAttrs(obj,attr,value,TAG_DONE)
990 #define nnset(obj,attr,value) SetAttrs(obj,MUIA_NoNotify,TRUE,attr,value,TAG_DONE)
992 #define setmutex(obj,n) set(obj,MUIA_Radio_Active,n)
993 #define setcycle(obj,n) set(obj,MUIA_Cycle_Active,n)
994 #define setstring(obj,s) set(obj,MUIA_String_Contents,s)
995 #define setcheckmark(obj,b) set(obj,MUIA_Selected,b)
996 #define setslider(obj,l) set(obj,MUIA_Numeric_Value,l)
1000 #endif /* MUI_NOSHORTCUTS */
1003 /***************************************************************************
1005 ** For Boopsi Image Implementors Only:
1007 ** If MUI is using a boopsi image object, it will send a special method
1008 ** immediately after object creation. This method has a parameter structure
1009 ** where the boopsi can fill in its minimum and maximum size and learn if
1010 ** its used in a horizontal or vertical context.
1012 ** The boopsi image must use the method id (MUIM_BoopsiQuery) as return
1013 ** value. That's how MUI sees that the method is implemented.
1015 ** Note: MUI does not depend on this method. If the boopsi image doesn't
1016 ** implement it, minimum size will be 0 and maximum size unlimited.
1018 ***************************************************************************/
1020 #define MUIM_BoopsiQuery 0x80427157 /* this is send to the boopsi and */
1021 /* must be used as return value */
1023 struct MUI_BoopsiQuery
/* parameter structure */
1025 ULONG mbq_MethodID
; /* always MUIM_BoopsiQuery */
1027 struct Screen
*mbq_Screen
; /* obsolete, use mbq_RenderInfo */
1028 ULONG mbq_Flags
; /* read only, see below */
1030 LONG mbq_MinWidth
; /* write only, fill in min width */
1031 LONG mbq_MinHeight
; /* write only, fill in min height */
1032 LONG mbq_MaxWidth
; /* write only, fill in max width */
1033 LONG mbq_MaxHeight
; /* write only, fill in max height */
1034 LONG mbq_DefWidth
; /* write only, fill in def width */
1035 LONG mbq_DefHeight
; /* write only, fill in def height */
1037 struct MUI_RenderInfo
*mbq_RenderInfo
; /* read only, display context */
1039 /* may grow in future ... */
1042 #define MUIP_BoopsiQuery MUI_BoopsiQuery /* old structure name */
1044 #define MBQF_HORIZ (1<<0) /* object used in a horizontal */
1045 /* context (else vertical) */
1047 #define MBQ_MUI_MAXMAX (10000) /* use this for unlimited MaxWidth/Height */
1049 #define IDCMP_MOUSEOBJECT 0x40000000 /* special idcmp message created by MUI */
1052 /*******************************************/
1053 /* Begin of automatic header file creation */
1054 /*******************************************/
1059 /****************************************************************************/
1061 /****************************************************************************/
1064 extern char MUIC_Notify
[];
1066 #define MUIC_Notify "Notify.mui"
1071 #define MUIM_CallHook 0x8042b96b /* V4 */
1072 #define MUIM_Export 0x80420f1c /* V12 */
1073 #define MUIM_FindUData 0x8042c196 /* V8 */
1074 #define MUIM_GetConfigItem 0x80423edb /* V11 */
1075 #define MUIM_GetUData 0x8042ed0c /* V8 */
1076 #define MUIM_Import 0x8042d012 /* V12 */
1077 #define MUIM_KillNotify 0x8042d240 /* V4 */
1078 #define MUIM_KillNotifyObj 0x8042b145 /* V16 */
1079 #define MUIM_MultiSet 0x8042d356 /* V7 */
1080 #define MUIM_NoNotifySet 0x8042216f /* V9 */
1081 #define MUIM_Notify 0x8042c9cb /* V4 */
1082 #define MUIM_Set 0x8042549a /* V4 */
1083 #define MUIM_SetAsString 0x80422590 /* V4 */
1084 #define MUIM_SetUData 0x8042c920 /* V8 */
1085 #define MUIM_SetUDataOnce 0x8042ca19 /* V11 */
1086 #define MUIM_WriteLong 0x80428d86 /* V6 */
1087 #define MUIM_WriteString 0x80424bf4 /* V6 */
1088 struct MUIP_CallHook
{ ULONG MethodID
; struct Hook
*Hook
; ULONG param1
; /* ... */ };
1089 struct MUIP_Export
{ ULONG MethodID
; Object
*dataspace
; };
1090 struct MUIP_FindUData
{ ULONG MethodID
; ULONG udata
; };
1091 struct MUIP_GetConfigItem
{ ULONG MethodID
; ULONG id
; ULONG
*storage
; };
1092 struct MUIP_GetUData
{ ULONG MethodID
; ULONG udata
; ULONG attr
; ULONG
*storage
; };
1093 struct MUIP_Import
{ ULONG MethodID
; Object
*dataspace
; };
1094 struct MUIP_KillNotify
{ ULONG MethodID
; ULONG TrigAttr
; };
1095 struct MUIP_KillNotifyObj
{ ULONG MethodID
; ULONG TrigAttr
; Object
*dest
; };
1096 struct MUIP_MultiSet
{ ULONG MethodID
; ULONG attr
; ULONG val
; APTR obj
; /* ... */ };
1097 struct MUIP_NoNotifySet
{ ULONG MethodID
; ULONG attr
; char *format
; ULONG val
; /* ... */ };
1098 struct MUIP_Notify
{ ULONG MethodID
; ULONG TrigAttr
; ULONG TrigVal
; APTR DestObj
; ULONG FollowParams
; /* ... */ };
1099 struct MUIP_Set
{ ULONG MethodID
; ULONG attr
; ULONG val
; };
1100 struct MUIP_SetAsString
{ ULONG MethodID
; ULONG attr
; char *format
; ULONG val
; /* ... */ };
1101 struct MUIP_SetUData
{ ULONG MethodID
; ULONG udata
; ULONG attr
; ULONG val
; };
1102 struct MUIP_SetUDataOnce
{ ULONG MethodID
; ULONG udata
; ULONG attr
; ULONG val
; };
1103 struct MUIP_WriteLong
{ ULONG MethodID
; ULONG val
; ULONG
*memory
; };
1104 struct MUIP_WriteString
{ ULONG MethodID
; char *str
; char *memory
; };
1108 #define MUIA_ApplicationObject 0x8042d3ee /* V4 ..g Object * */
1109 #define MUIA_AppMessage 0x80421955 /* V5 ..g struct AppMessage * */
1110 #define MUIA_HelpLine 0x8042a825 /* V4 isg LONG */
1111 #define MUIA_HelpNode 0x80420b85 /* V4 isg STRPTR */
1112 #define MUIA_NoNotify 0x804237f9 /* V7 .s. BOOL */
1113 #define MUIA_ObjectID 0x8042d76e /* V11 isg ULONG */
1114 #define MUIA_Parent 0x8042e35f /* V11 ..g Object * */
1115 #define MUIA_Revision 0x80427eaa /* V4 ..g LONG */
1116 #define MUIA_UserData 0x80420313 /* V4 isg ULONG */
1117 #define MUIA_Version 0x80422301 /* V4 ..g LONG */
1121 /****************************************************************************/
1123 /****************************************************************************/
1126 extern char MUIC_Family
[];
1128 #define MUIC_Family "Family.mui"
1133 #define MUIM_Family_AddHead 0x8042e200 /* V8 */
1134 #define MUIM_Family_AddTail 0x8042d752 /* V8 */
1135 #define MUIM_Family_Insert 0x80424d34 /* V8 */
1136 #define MUIM_Family_Remove 0x8042f8a9 /* V8 */
1137 #define MUIM_Family_Sort 0x80421c49 /* V8 */
1138 #define MUIM_Family_Transfer 0x8042c14a /* V8 */
1139 struct MUIP_Family_AddHead
{ ULONG MethodID
; Object
*obj
; };
1140 struct MUIP_Family_AddTail
{ ULONG MethodID
; Object
*obj
; };
1141 struct MUIP_Family_Insert
{ ULONG MethodID
; Object
*obj
; Object
*pred
; };
1142 struct MUIP_Family_Remove
{ ULONG MethodID
; Object
*obj
; };
1143 struct MUIP_Family_Sort
{ ULONG MethodID
; Object
*obj
[1]; };
1144 struct MUIP_Family_Transfer
{ ULONG MethodID
; Object
*family
; };
1148 #define MUIA_Family_Child 0x8042c696 /* V8 i.. Object * */
1149 #define MUIA_Family_List 0x80424b9e /* V8 ..g struct MinList * */
1153 /****************************************************************************/
1155 /****************************************************************************/
1158 extern char MUIC_Menustrip
[];
1160 #define MUIC_Menustrip "Menustrip.mui"
1165 #define MUIM_Menustrip_ExitChange 0x8042ce4d /* V20 */
1166 #define MUIM_Menustrip_InitChange 0x8042dcd9 /* V20 */
1167 struct MUIP_Menustrip_ExitChange
{ ULONG MethodID
; };
1168 struct MUIP_Menustrip_InitChange
{ ULONG MethodID
; };
1172 #define MUIA_Menustrip_Enabled 0x8042815b /* V8 isg BOOL */
1176 /****************************************************************************/
1178 /****************************************************************************/
1181 extern char MUIC_Menu
[];
1183 #define MUIC_Menu "Menu.mui"
1188 #define MUIA_Menu_Enabled 0x8042ed48 /* V8 isg BOOL */
1189 #define MUIA_Menu_Title 0x8042a0e3 /* V8 isg STRPTR */
1193 /****************************************************************************/
1195 /****************************************************************************/
1198 extern char MUIC_Menuitem
[];
1200 #define MUIC_Menuitem "Menuitem.mui"
1208 #define MUIA_Menuitem_Checked 0x8042562a /* V8 isg BOOL */
1209 #define MUIA_Menuitem_Checkit 0x80425ace /* V8 isg BOOL */
1210 #define MUIA_Menuitem_CommandString 0x8042b9cc /* V16 isg BOOL */
1211 #define MUIA_Menuitem_Enabled 0x8042ae0f /* V8 isg BOOL */
1212 #define MUIA_Menuitem_Exclude 0x80420bc6 /* V8 isg LONG */
1213 #define MUIA_Menuitem_Shortcut 0x80422030 /* V8 isg STRPTR */
1214 #define MUIA_Menuitem_Title 0x804218be /* V8 isg STRPTR */
1215 #define MUIA_Menuitem_Toggle 0x80424d5c /* V8 isg BOOL */
1216 #define MUIA_Menuitem_Trigger 0x80426f32 /* V8 ..g struct MenuItem * */
1218 #define MUIV_Menuitem_Shortcut_Check -1
1221 /****************************************************************************/
1223 /****************************************************************************/
1226 extern char MUIC_Application
[];
1228 #define MUIC_Application "Application.mui"
1233 #define MUIM_Application_AboutMUI 0x8042d21d /* V14 */
1234 #define MUIM_Application_AddInputHandler 0x8042f099 /* V11 */
1235 #define MUIM_Application_CheckRefresh 0x80424d68 /* V11 */
1237 #define MUIM_Application_GetMenuCheck 0x8042c0a7 /* V4 */
1238 #endif /* MUI_OBSOLETE */
1240 #define MUIM_Application_GetMenuState 0x8042a58f /* V4 */
1241 #endif /* MUI_OBSOLETE */
1243 #define MUIM_Application_Input 0x8042d0f5 /* V4 */
1244 #endif /* MUI_OBSOLETE */
1245 #define MUIM_Application_InputBuffered 0x80427e59 /* V4 */
1246 #define MUIM_Application_Load 0x8042f90d /* V4 */
1247 #define MUIM_Application_NewInput 0x80423ba6 /* V11 */
1248 #define MUIM_Application_OpenConfigWindow 0x804299ba /* V11 */
1249 #define MUIM_Application_PushMethod 0x80429ef8 /* V4 */
1250 #define MUIM_Application_RemInputHandler 0x8042e7af /* V11 */
1251 #define MUIM_Application_ReturnID 0x804276ef /* V4 */
1252 #define MUIM_Application_Save 0x804227ef /* V4 */
1253 #define MUIM_Application_SetConfigItem 0x80424a80 /* V11 */
1255 #define MUIM_Application_SetMenuCheck 0x8042a707 /* V4 */
1256 #endif /* MUI_OBSOLETE */
1258 #define MUIM_Application_SetMenuState 0x80428bef /* V4 */
1259 #endif /* MUI_OBSOLETE */
1260 #define MUIM_Application_ShowHelp 0x80426479 /* V4 */
1261 struct MUIP_Application_AboutMUI
{ ULONG MethodID
; Object
*refwindow
; };
1262 struct MUIP_Application_AddInputHandler
{ ULONG MethodID
; struct MUI_InputHandlerNode
*ihnode
; };
1263 struct MUIP_Application_CheckRefresh
{ ULONG MethodID
; };
1264 struct MUIP_Application_GetMenuCheck
{ ULONG MethodID
; ULONG MenuID
; };
1265 struct MUIP_Application_GetMenuState
{ ULONG MethodID
; ULONG MenuID
; };
1266 struct MUIP_Application_Input
{ ULONG MethodID
; ULONG
*signal
; };
1267 struct MUIP_Application_InputBuffered
{ ULONG MethodID
; };
1268 struct MUIP_Application_Load
{ ULONG MethodID
; STRPTR name
; };
1269 struct MUIP_Application_NewInput
{ ULONG MethodID
; ULONG
*signal
; };
1270 struct MUIP_Application_OpenConfigWindow
{ ULONG MethodID
; ULONG flags
; STRPTR classid
; };
1271 struct MUIP_Application_PushMethod
{ ULONG MethodID
; Object
*dest
; LONG count
; /* ... */ };
1272 struct MUIP_Application_RemInputHandler
{ ULONG MethodID
; struct MUI_InputHandlerNode
*ihnode
; };
1273 struct MUIP_Application_ReturnID
{ ULONG MethodID
; ULONG retid
; };
1274 struct MUIP_Application_Save
{ ULONG MethodID
; STRPTR name
; };
1275 struct MUIP_Application_SetConfigItem
{ ULONG MethodID
; ULONG item
; APTR data
; };
1276 struct MUIP_Application_SetMenuCheck
{ ULONG MethodID
; ULONG MenuID
; LONG stat
; };
1277 struct MUIP_Application_SetMenuState
{ ULONG MethodID
; ULONG MenuID
; LONG stat
; };
1278 struct MUIP_Application_ShowHelp
{ ULONG MethodID
; Object
*window
; char *name
; char *node
; LONG line
; };
1282 #define MUIA_Application_Active 0x804260ab /* V4 isg BOOL */
1283 #define MUIA_Application_Author 0x80424842 /* V4 i.g STRPTR */
1284 #define MUIA_Application_Base 0x8042e07a /* V4 i.g STRPTR */
1285 #define MUIA_Application_Broker 0x8042dbce /* V4 ..g Broker * */
1286 #define MUIA_Application_BrokerHook 0x80428f4b /* V4 isg struct Hook * */
1287 #define MUIA_Application_BrokerPort 0x8042e0ad /* V6 ..g struct MsgPort * */
1288 #define MUIA_Application_BrokerPri 0x8042c8d0 /* V6 i.g LONG */
1289 #define MUIA_Application_Commands 0x80428648 /* V4 isg struct MUI_Command * */
1290 #define MUIA_Application_Copyright 0x8042ef4d /* V4 i.g STRPTR */
1291 #define MUIA_Application_Description 0x80421fc6 /* V4 i.g STRPTR */
1292 #define MUIA_Application_DiskObject 0x804235cb /* V4 isg struct DiskObject * */
1293 #define MUIA_Application_DoubleStart 0x80423bc6 /* V4 ..g BOOL */
1294 #define MUIA_Application_DropObject 0x80421266 /* V5 is. Object * */
1295 #define MUIA_Application_ForceQuit 0x804257df /* V8 ..g BOOL */
1296 #define MUIA_Application_HelpFile 0x804293f4 /* V8 isg STRPTR */
1297 #define MUIA_Application_Iconified 0x8042a07f /* V4 .sg BOOL */
1299 #define MUIA_Application_Menu 0x80420e1f /* V4 i.g struct NewMenu * */
1300 #endif /* MUI_OBSOLETE */
1301 #define MUIA_Application_MenuAction 0x80428961 /* V4 ..g ULONG */
1302 #define MUIA_Application_MenuHelp 0x8042540b /* V4 ..g ULONG */
1303 #define MUIA_Application_Menustrip 0x804252d9 /* V8 i.. Object * */
1304 #define MUIA_Application_RexxHook 0x80427c42 /* V7 isg struct Hook * */
1305 #define MUIA_Application_RexxMsg 0x8042fd88 /* V4 ..g struct RxMsg * */
1306 #define MUIA_Application_RexxString 0x8042d711 /* V4 .s. STRPTR */
1307 #define MUIA_Application_SingleTask 0x8042a2c8 /* V4 i.. BOOL */
1308 #define MUIA_Application_Sleep 0x80425711 /* V4 .s. BOOL */
1309 #define MUIA_Application_Title 0x804281b8 /* V4 i.g STRPTR */
1310 #define MUIA_Application_UseCommodities 0x80425ee5 /* V10 i.. BOOL */
1311 #define MUIA_Application_UsedClasses 0x8042e9a7 /* V20 isg STRPTR * */
1312 #define MUIA_Application_UseRexx 0x80422387 /* V10 i.. BOOL */
1313 #define MUIA_Application_Version 0x8042b33f /* V4 i.g STRPTR */
1314 #define MUIA_Application_Window 0x8042bfe0 /* V4 i.. Object * */
1315 #define MUIA_Application_WindowList 0x80429abe /* V13 ..g struct List * */
1317 #define MUIV_Application_Package_NetConnect 0xa3ff7b49
1320 /****************************************************************************/
1322 /****************************************************************************/
1325 extern char MUIC_Window
[];
1327 #define MUIC_Window "Window.mui"
1332 #define MUIM_Window_AddEventHandler 0x804203b7 /* V16 */
1333 #define MUIM_Window_Cleanup 0x8042ab26 /* V18 */
1335 #define MUIM_Window_GetMenuCheck 0x80420414 /* V4 */
1336 #endif /* MUI_OBSOLETE */
1338 #define MUIM_Window_GetMenuState 0x80420d2f /* V4 */
1339 #endif /* MUI_OBSOLETE */
1340 #define MUIM_Window_RemEventHandler 0x8042679e /* V16 */
1341 #define MUIM_Window_ScreenToBack 0x8042913d /* V4 */
1342 #define MUIM_Window_ScreenToFront 0x804227a4 /* V4 */
1344 #define MUIM_Window_SetCycleChain 0x80426510 /* V4 */
1345 #endif /* MUI_OBSOLETE */
1347 #define MUIM_Window_SetMenuCheck 0x80422243 /* V4 */
1348 #endif /* MUI_OBSOLETE */
1350 #define MUIM_Window_SetMenuState 0x80422b5e /* V4 */
1351 #endif /* MUI_OBSOLETE */
1352 #define MUIM_Window_Setup 0x8042c34c /* V18 */
1353 #define MUIM_Window_Snapshot 0x8042945e /* V11 */
1354 #define MUIM_Window_ToBack 0x8042152e /* V4 */
1355 #define MUIM_Window_ToFront 0x8042554f /* V4 */
1356 struct MUIP_Window_AddEventHandler
{ ULONG MethodID
; struct MUI_EventHandlerNode
*ehnode
; };
1357 struct MUIP_Window_Cleanup
{ ULONG MethodID
; };
1358 struct MUIP_Window_GetMenuCheck
{ ULONG MethodID
; ULONG MenuID
; };
1359 struct MUIP_Window_GetMenuState
{ ULONG MethodID
; ULONG MenuID
; };
1360 struct MUIP_Window_RemEventHandler
{ ULONG MethodID
; struct MUI_EventHandlerNode
*ehnode
; };
1361 struct MUIP_Window_ScreenToBack
{ ULONG MethodID
; };
1362 struct MUIP_Window_ScreenToFront
{ ULONG MethodID
; };
1363 struct MUIP_Window_SetCycleChain
{ ULONG MethodID
; Object
*obj
[1]; };
1364 struct MUIP_Window_SetMenuCheck
{ ULONG MethodID
; ULONG MenuID
; LONG stat
; };
1365 struct MUIP_Window_SetMenuState
{ ULONG MethodID
; ULONG MenuID
; LONG stat
; };
1366 struct MUIP_Window_Setup
{ ULONG MethodID
; };
1367 struct MUIP_Window_Snapshot
{ ULONG MethodID
; LONG flags
; };
1368 struct MUIP_Window_ToBack
{ ULONG MethodID
; };
1369 struct MUIP_Window_ToFront
{ ULONG MethodID
; };
1373 #define MUIA_Window_Activate 0x80428d2f /* V4 isg BOOL */
1374 #define MUIA_Window_ActiveObject 0x80427925 /* V4 .sg Object * */
1375 #define MUIA_Window_AltHeight 0x8042cce3 /* V4 i.g LONG */
1376 #define MUIA_Window_AltLeftEdge 0x80422d65 /* V4 i.g LONG */
1377 #define MUIA_Window_AltTopEdge 0x8042e99b /* V4 i.g LONG */
1378 #define MUIA_Window_AltWidth 0x804260f4 /* V4 i.g LONG */
1379 #define MUIA_Window_AppWindow 0x804280cf /* V5 i.. BOOL */
1380 #define MUIA_Window_Backdrop 0x8042c0bb /* V4 i.. BOOL */
1381 #define MUIA_Window_Borderless 0x80429b79 /* V4 i.. BOOL */
1382 #define MUIA_Window_CloseGadget 0x8042a110 /* V4 i.. BOOL */
1383 #define MUIA_Window_CloseRequest 0x8042e86e /* V4 ..g BOOL */
1384 #define MUIA_Window_DefaultObject 0x804294d7 /* V4 isg Object * */
1385 #define MUIA_Window_DepthGadget 0x80421923 /* V4 i.. BOOL */
1386 #define MUIA_Window_DisableKeys 0x80424c36 /* V15 isg ULONG */
1387 #define MUIA_Window_DragBar 0x8042045d /* V4 i.. BOOL */
1388 #define MUIA_Window_FancyDrawing 0x8042bd0e /* V8 isg BOOL */
1389 #define MUIA_Window_Height 0x80425846 /* V4 i.g LONG */
1390 #define MUIA_Window_ID 0x804201bd /* V4 isg ULONG */
1391 #define MUIA_Window_InputEvent 0x804247d8 /* V4 ..g struct InputEvent * */
1392 #define MUIA_Window_IsSubWindow 0x8042b5aa /* V4 isg BOOL */
1393 #define MUIA_Window_LeftEdge 0x80426c65 /* V4 i.g LONG */
1395 #define MUIA_Window_Menu 0x8042db94 /* V4 i.. struct NewMenu * */
1396 #endif /* MUI_OBSOLETE */
1397 #define MUIA_Window_MenuAction 0x80427521 /* V8 isg ULONG */
1398 #define MUIA_Window_Menustrip 0x8042855e /* V8 i.g Object * */
1399 #define MUIA_Window_MouseObject 0x8042bf9b /* V10 ..g Object * */
1400 #define MUIA_Window_NeedsMouseObject 0x8042372a /* V10 i.. BOOL */
1401 #define MUIA_Window_NoMenus 0x80429df5 /* V4 is. BOOL */
1402 #define MUIA_Window_Open 0x80428aa0 /* V4 .sg BOOL */
1403 #define MUIA_Window_PublicScreen 0x804278e4 /* V6 isg STRPTR */
1404 #define MUIA_Window_RefWindow 0x804201f4 /* V4 is. Object * */
1405 #define MUIA_Window_RootObject 0x8042cba5 /* V4 isg Object * */
1406 #define MUIA_Window_Screen 0x8042df4f /* V4 isg struct Screen * */
1407 #define MUIA_Window_ScreenTitle 0x804234b0 /* V5 isg STRPTR */
1408 #define MUIA_Window_SizeGadget 0x8042e33d /* V4 i.. BOOL */
1409 #define MUIA_Window_SizeRight 0x80424780 /* V4 i.. BOOL */
1410 #define MUIA_Window_Sleep 0x8042e7db /* V4 .sg BOOL */
1411 #define MUIA_Window_Title 0x8042ad3d /* V4 isg STRPTR */
1412 #define MUIA_Window_TopEdge 0x80427c66 /* V4 i.g LONG */
1413 #define MUIA_Window_UseBottomBorderScroller 0x80424e79 /* V13 isg BOOL */
1414 #define MUIA_Window_UseLeftBorderScroller 0x8042433e /* V13 isg BOOL */
1415 #define MUIA_Window_UseRightBorderScroller 0x8042c05e /* V13 isg BOOL */
1416 #define MUIA_Window_Width 0x8042dcae /* V4 i.g LONG */
1417 #define MUIA_Window_Window 0x80426a42 /* V4 ..g struct Window * */
1419 #define MUIV_Window_ActiveObject_None 0
1420 #define MUIV_Window_ActiveObject_Next -1
1421 #define MUIV_Window_ActiveObject_Prev -2
1422 #define MUIV_Window_ActiveObject_Left -3
1423 #define MUIV_Window_ActiveObject_Right -4
1424 #define MUIV_Window_ActiveObject_Up -5
1425 #define MUIV_Window_ActiveObject_Down -6
1426 #define MUIV_Window_AltHeight_MinMax(p) (0-(p))
1427 #define MUIV_Window_AltHeight_Visible(p) (-100-(p))
1428 #define MUIV_Window_AltHeight_Screen(p) (-200-(p))
1429 #define MUIV_Window_AltHeight_Scaled -1000
1430 #define MUIV_Window_AltLeftEdge_Centered -1
1431 #define MUIV_Window_AltLeftEdge_Moused -2
1432 #define MUIV_Window_AltLeftEdge_NoChange -1000
1433 #define MUIV_Window_AltTopEdge_Centered -1
1434 #define MUIV_Window_AltTopEdge_Moused -2
1435 #define MUIV_Window_AltTopEdge_Delta(p) (-3-(p))
1436 #define MUIV_Window_AltTopEdge_NoChange -1000
1437 #define MUIV_Window_AltWidth_MinMax(p) (0-(p))
1438 #define MUIV_Window_AltWidth_Visible(p) (-100-(p))
1439 #define MUIV_Window_AltWidth_Screen(p) (-200-(p))
1440 #define MUIV_Window_AltWidth_Scaled -1000
1441 #define MUIV_Window_Height_MinMax(p) (0-(p))
1442 #define MUIV_Window_Height_Visible(p) (-100-(p))
1443 #define MUIV_Window_Height_Screen(p) (-200-(p))
1444 #define MUIV_Window_Height_Scaled -1000
1445 #define MUIV_Window_Height_Default -1001
1446 #define MUIV_Window_LeftEdge_Centered -1
1447 #define MUIV_Window_LeftEdge_Moused -2
1448 #define MUIV_Window_LeftEdge_Right(n) (-1000-(n))
1450 #define MUIV_Window_Menu_NoMenu -1
1451 #endif /* MUI_OBSOLETE */
1452 #define MUIV_Window_Timeout_Off 0
1453 #define MUIV_Window_Timeout_Restart -1
1454 #define MUIV_Window_TopEdge_Centered -1
1455 #define MUIV_Window_TopEdge_Moused -2
1456 #define MUIV_Window_TopEdge_Delta(p) (-3-(p))
1457 #define MUIV_Window_TopEdge_Bottom(n) (-1000-(n))
1458 #define MUIV_Window_TopMenuPos_Off 0
1459 #define MUIV_Window_TopMenuPos_Top 1
1460 #define MUIV_Window_TopMenuPos_Bottom 2
1461 #define MUIV_Window_TopMenuPos_Left 3
1462 #define MUIV_Window_TopMenuPos_Right 4
1463 #define MUIV_Window_Width_MinMax(p) (0-(p))
1464 #define MUIV_Window_Width_Visible(p) (-100-(p))
1465 #define MUIV_Window_Width_Screen(p) (-200-(p))
1466 #define MUIV_Window_Width_Scaled -1000
1467 #define MUIV_Window_Width_Default -1001
1470 /****************************************************************************/
1472 /****************************************************************************/
1475 extern char MUIC_Aboutmui
[];
1477 #define MUIC_Aboutmui "Aboutmui.mui"
1485 #define MUIA_Aboutmui_Application 0x80422523 /* V11 i.. Object * */
1489 /****************************************************************************/
1491 /****************************************************************************/
1494 extern char MUIC_Area
[];
1496 #define MUIC_Area "Area.mui"
1501 #define MUIM_AskMinMax 0x80423874 /* Custom Class */ /* V4 */
1502 #define MUIM_Cleanup 0x8042d985 /* Custom Class */ /* V4 */
1503 #define MUIM_ContextMenuBuild 0x80429d2e /* V11 */
1504 #define MUIM_ContextMenuChoice 0x80420f0e /* V11 */
1505 #define MUIM_CreateBubble 0x80421c41 /* V18 */
1506 #define MUIM_CreateShortHelp 0x80428e93 /* V11 */
1507 #define MUIM_DeleteBubble 0x804211af /* V18 */
1508 #define MUIM_DeleteShortHelp 0x8042d35a /* V11 */
1509 #define MUIM_DoDrag 0x804216bb /* V20 */
1510 #define MUIM_DragBegin 0x8042c03a /* V11 */
1511 #define MUIM_DragDrop 0x8042c555 /* V11 */
1512 #define MUIM_DragFinish 0x804251f0 /* V11 */
1513 #define MUIM_DragQuery 0x80420261 /* V11 */
1514 #define MUIM_DragReport 0x8042edad /* V11 */
1515 #define MUIM_Draw 0x80426f3f /* Custom Class */ /* V4 */
1516 #define MUIM_DrawBackground 0x804238ca /* V11 */
1517 #define MUIM_HandleEvent 0x80426d66 /* Custom Class */ /* V16 */
1518 #define MUIM_HandleInput 0x80422a1a /* Custom Class */ /* V4 */
1519 #define MUIM_Hide 0x8042f20f /* Custom Class */ /* V4 */
1520 #define MUIM_Setup 0x80428354 /* Custom Class */ /* V4 */
1521 #define MUIM_Show 0x8042cc84 /* Custom Class */ /* V4 */
1522 struct MUIP_AskMinMax
{ ULONG MethodID
; struct MUI_MinMax
*MinMaxInfo
; }; /* Custom Class */
1523 struct MUIP_Cleanup
{ ULONG MethodID
; }; /* Custom Class */
1524 struct MUIP_ContextMenuBuild
{ ULONG MethodID
; LONG mx
; LONG my
; };
1525 struct MUIP_ContextMenuChoice
{ ULONG MethodID
; Object
*item
; };
1526 struct MUIP_CreateBubble
{ ULONG MethodID
; LONG x
; LONG y
; char *txt
; ULONG flags
; };
1527 struct MUIP_CreateShortHelp
{ ULONG MethodID
; LONG mx
; LONG my
; };
1528 struct MUIP_DeleteBubble
{ ULONG MethodID
; APTR bubble
; };
1529 struct MUIP_DeleteShortHelp
{ ULONG MethodID
; STRPTR help
; };
1530 struct MUIP_DoDrag
{ ULONG MethodID
; LONG touchx
; LONG touchy
; ULONG flags
; };
1531 struct MUIP_DragBegin
{ ULONG MethodID
; Object
*obj
; };
1532 struct MUIP_DragDrop
{ ULONG MethodID
; Object
*obj
; LONG x
; LONG y
; };
1533 struct MUIP_DragFinish
{ ULONG MethodID
; Object
*obj
; };
1534 struct MUIP_DragQuery
{ ULONG MethodID
; Object
*obj
; };
1535 struct MUIP_DragReport
{ ULONG MethodID
; Object
*obj
; LONG x
; LONG y
; LONG update
; };
1536 struct MUIP_Draw
{ ULONG MethodID
; ULONG flags
; }; /* Custom Class */
1537 struct MUIP_DrawBackground
{ ULONG MethodID
; LONG left
; LONG top
; LONG width
; LONG height
; LONG xoffset
; LONG yoffset
; LONG flags
; };
1538 struct MUIP_HandleEvent
{ ULONG MethodID
; struct IntuiMessage
*imsg
; LONG muikey
; }; /* Custom Class */
1539 struct MUIP_HandleInput
{ ULONG MethodID
; struct IntuiMessage
*imsg
; LONG muikey
; }; /* Custom Class */
1540 struct MUIP_Hide
{ ULONG MethodID
; }; /* Custom Class */
1541 struct MUIP_Setup
{ ULONG MethodID
; struct MUI_RenderInfo
*RenderInfo
; }; /* Custom Class */
1542 struct MUIP_Show
{ ULONG MethodID
; struct LongRect
*clip
; }; /* Custom Class */
1546 #define MUIA_Background 0x8042545b /* V4 is. LONG */
1547 #define MUIA_BottomEdge 0x8042e552 /* V4 ..g LONG */
1548 #define MUIA_ContextMenu 0x8042b704 /* V11 isg Object * */
1549 #define MUIA_ContextMenuTrigger 0x8042a2c1 /* V11 ..g Object * */
1550 #define MUIA_ControlChar 0x8042120b /* V4 isg char */
1551 #define MUIA_CycleChain 0x80421ce7 /* V11 isg LONG */
1552 #define MUIA_Disabled 0x80423661 /* V4 isg BOOL */
1553 #define MUIA_DoubleBuffer 0x8042a9c7 /* V20 isg BOOL */
1554 #define MUIA_Draggable 0x80420b6e /* V11 isg BOOL */
1555 #define MUIA_Dropable 0x8042fbce /* V11 isg BOOL */
1557 #define MUIA_ExportID 0x8042d76e /* V4 isg ULONG */
1558 #endif /* MUI_OBSOLETE */
1559 #define MUIA_FillArea 0x804294a3 /* V4 is. BOOL */
1560 #define MUIA_FixHeight 0x8042a92b /* V4 i.. LONG */
1561 #define MUIA_FixHeightTxt 0x804276f2 /* V4 i.. STRPTR */
1562 #define MUIA_FixWidth 0x8042a3f1 /* V4 i.. LONG */
1563 #define MUIA_FixWidthTxt 0x8042d044 /* V4 i.. STRPTR */
1564 #define MUIA_Font 0x8042be50 /* V4 i.g struct TextFont * */
1565 #define MUIA_Frame 0x8042ac64 /* V4 i.. LONG */
1566 #define MUIA_FrameDynamic 0x804223c9 /* V20 isg BOOL */
1567 #define MUIA_FramePhantomHoriz 0x8042ed76 /* V4 i.. BOOL */
1568 #define MUIA_FrameTitle 0x8042d1c7 /* V4 i.. STRPTR */
1569 #define MUIA_FrameVisible 0x80426498 /* V20 isg BOOL */
1570 #define MUIA_Height 0x80423237 /* V4 ..g LONG */
1571 #define MUIA_HorizDisappear 0x80429615 /* V11 isg LONG */
1572 #define MUIA_HorizWeight 0x80426db9 /* V4 isg WORD */
1573 #define MUIA_InnerBottom 0x8042f2c0 /* V4 i.g LONG */
1574 #define MUIA_InnerLeft 0x804228f8 /* V4 i.g LONG */
1575 #define MUIA_InnerRight 0x804297ff /* V4 i.g LONG */
1576 #define MUIA_InnerTop 0x80421eb6 /* V4 i.g LONG */
1577 #define MUIA_InputMode 0x8042fb04 /* V4 i.. LONG */
1578 #define MUIA_LeftEdge 0x8042bec6 /* V4 ..g LONG */
1579 #define MUIA_MaxHeight 0x804293e4 /* V11 i.. LONG */
1580 #define MUIA_MaxWidth 0x8042f112 /* V11 i.. LONG */
1581 #define MUIA_Pressed 0x80423535 /* V4 ..g BOOL */
1582 #define MUIA_RightEdge 0x8042ba82 /* V4 ..g LONG */
1583 #define MUIA_Selected 0x8042654b /* V4 isg BOOL */
1584 #define MUIA_ShortHelp 0x80428fe3 /* V11 isg STRPTR */
1585 #define MUIA_ShowMe 0x80429ba8 /* V4 isg BOOL */
1586 #define MUIA_ShowSelState 0x8042caac /* V4 i.. BOOL */
1587 #define MUIA_Timer 0x80426435 /* V4 ..g LONG */
1588 #define MUIA_TopEdge 0x8042509b /* V4 ..g LONG */
1589 #define MUIA_VertDisappear 0x8042d12f /* V11 isg LONG */
1590 #define MUIA_VertWeight 0x804298d0 /* V4 isg WORD */
1591 #define MUIA_Weight 0x80421d1f /* V4 i.. WORD */
1592 #define MUIA_Width 0x8042b59c /* V4 ..g LONG */
1593 #define MUIA_Window 0x80421591 /* V4 ..g struct Window * */
1594 #define MUIA_WindowObject 0x8042669e /* V4 ..g Object * */
1596 #define MUIV_Font_Inherit 0
1597 #define MUIV_Font_Normal -1
1598 #define MUIV_Font_List -2
1599 #define MUIV_Font_Tiny -3
1600 #define MUIV_Font_Fixed -4
1601 #define MUIV_Font_Title -5
1602 #define MUIV_Font_Big -6
1603 #define MUIV_Font_Button -7
1604 #define MUIV_Font_Slider -8
1605 #define MUIV_Font_Gauge -9
1606 #define MUIV_Font_Menudisplay -10
1607 #define MUIV_Frame_None 0
1608 #define MUIV_Frame_Button 1
1609 #define MUIV_Frame_ImageButton 2
1610 #define MUIV_Frame_Text 3
1611 #define MUIV_Frame_String 4
1612 #define MUIV_Frame_ReadList 5
1613 #define MUIV_Frame_InputList 6
1614 #define MUIV_Frame_Prop 7
1615 #define MUIV_Frame_Gauge 8
1616 #define MUIV_Frame_Group 9
1617 #define MUIV_Frame_PopUp 10
1618 #define MUIV_Frame_Virtual 11
1619 #define MUIV_Frame_Slider 12
1620 #define MUIV_Frame_SliderKnob 13
1621 #define MUIV_Frame_GaugeInner 14
1622 #define MUIV_Frame_Menudisplay 15
1623 #define MUIV_Frame_MenudisplayMenu 16
1624 #define MUIV_Frame_Count 17
1625 #define MUIV_InputMode_None 0
1626 #define MUIV_InputMode_RelVerify 1
1627 #define MUIV_InputMode_Immediate 2
1628 #define MUIV_InputMode_Toggle 3
1631 /****************************************************************************/
1633 /****************************************************************************/
1636 extern char MUIC_Dtpic
[];
1638 #define MUIC_Dtpic "Dtpic.mui"
1643 #define MUIA_Dtpic_Name 0x80423d72 /* V18 i.. STRPTR */
1647 /****************************************************************************/
1649 /****************************************************************************/
1652 extern char MUIC_Rectangle
[];
1654 #define MUIC_Rectangle "Rectangle.mui"
1659 #define MUIA_Rectangle_BarTitle 0x80426689 /* V11 i.g STRPTR */
1660 #define MUIA_Rectangle_HBar 0x8042c943 /* V7 i.g BOOL */
1661 #define MUIA_Rectangle_VBar 0x80422204 /* V7 i.g BOOL */
1665 /****************************************************************************/
1667 /****************************************************************************/
1670 extern char MUIC_Balance
[];
1672 #define MUIC_Balance "Balance.mui"
1677 #define MUIA_Balance_Quiet 0x80427486 /* V20 i.. LONG */
1681 /****************************************************************************/
1683 /****************************************************************************/
1686 extern char MUIC_Image
[];
1688 #define MUIC_Image "Image.mui"
1693 #define MUIA_Image_FontMatch 0x8042815d /* V4 i.. BOOL */
1694 #define MUIA_Image_FontMatchHeight 0x80429f26 /* V4 i.. BOOL */
1695 #define MUIA_Image_FontMatchWidth 0x804239bf /* V4 i.. BOOL */
1696 #define MUIA_Image_FreeHoriz 0x8042da84 /* V4 i.. BOOL */
1697 #define MUIA_Image_FreeVert 0x8042ea28 /* V4 i.. BOOL */
1698 #define MUIA_Image_OldImage 0x80424f3d /* V4 i.. struct Image * */
1699 #define MUIA_Image_Spec 0x804233d5 /* V4 i.. char * */
1700 #define MUIA_Image_State 0x8042a3ad /* V4 is. LONG */
1704 /****************************************************************************/
1706 /****************************************************************************/
1709 extern char MUIC_Menubar
[];
1711 #define MUIC_Menubar "Menubar.mui"
1722 /****************************************************************************/
1724 /****************************************************************************/
1727 extern char MUIC_Bitmap
[];
1729 #define MUIC_Bitmap "Bitmap.mui"
1734 #define MUIA_Bitmap_Alpha 0x80423e71 /* V20 isg ULONG */
1735 #define MUIA_Bitmap_Bitmap 0x804279bd /* V8 isg struct BitMap * */
1736 #define MUIA_Bitmap_Height 0x80421560 /* V8 isg LONG */
1737 #define MUIA_Bitmap_MappingTable 0x8042e23d /* V8 isg UBYTE * */
1738 #define MUIA_Bitmap_Precision 0x80420c74 /* V11 isg LONG */
1739 #define MUIA_Bitmap_RemappedBitmap 0x80423a47 /* V11 ..g struct BitMap * */
1740 #define MUIA_Bitmap_SourceColors 0x80425360 /* V8 isg ULONG * */
1741 #define MUIA_Bitmap_Transparent 0x80422805 /* V8 isg LONG */
1742 #define MUIA_Bitmap_UseFriend 0x804239d8 /* V11 i.. BOOL */
1743 #define MUIA_Bitmap_Width 0x8042eb3a /* V8 isg LONG */
1747 /****************************************************************************/
1749 /****************************************************************************/
1752 extern char MUIC_Bodychunk
[];
1754 #define MUIC_Bodychunk "Bodychunk.mui"
1759 #define MUIA_Bodychunk_Body 0x8042ca67 /* V8 isg UBYTE * */
1760 #define MUIA_Bodychunk_Compression 0x8042de5f /* V8 isg UBYTE */
1761 #define MUIA_Bodychunk_Depth 0x8042c392 /* V8 isg LONG */
1762 #define MUIA_Bodychunk_Masking 0x80423b0e /* V8 isg UBYTE */
1766 /****************************************************************************/
1768 /****************************************************************************/
1771 extern char MUIC_Text
[];
1773 #define MUIC_Text "Text.mui"
1778 #define MUIA_Text_Contents 0x8042f8dc /* V4 isg STRPTR */
1779 #define MUIA_Text_ControlChar 0x8042e6d0 /* V20 isg char */
1780 #define MUIA_Text_Copy 0x80427727 /* V20 i.. BOOL */
1781 #define MUIA_Text_HiChar 0x804218ff /* V4 i.. char */
1782 #define MUIA_Text_PreParse 0x8042566d /* V4 isg STRPTR */
1783 #define MUIA_Text_SetMax 0x80424d0a /* V4 i.. BOOL */
1784 #define MUIA_Text_SetMin 0x80424e10 /* V4 i.. BOOL */
1785 #define MUIA_Text_SetVMax 0x80420d8b /* V11 is. BOOL */
1789 /****************************************************************************/
1791 /****************************************************************************/
1794 extern char MUIC_Gadget
[];
1796 #define MUIC_Gadget "Gadget.mui"
1801 #define MUIA_Gadget_Gadget 0x8042ec1a /* V11 ..g struct Gadget * */
1805 /****************************************************************************/
1807 /****************************************************************************/
1810 extern char MUIC_String
[];
1812 #define MUIC_String "String.mui"
1820 #define MUIA_String_Accept 0x8042e3e1 /* V4 isg STRPTR */
1821 #define MUIA_String_Acknowledge 0x8042026c /* V4 ..g STRPTR */
1822 #define MUIA_String_AdvanceOnCR 0x804226de /* V11 isg BOOL */
1823 #define MUIA_String_AttachedList 0x80420fd2 /* V4 isg Object * */
1824 #define MUIA_String_BufferPos 0x80428b6c /* V4 .sg LONG */
1825 #define MUIA_String_Contents 0x80428ffd /* V4 isg STRPTR */
1826 #define MUIA_String_DisplayPos 0x8042ccbf /* V4 .sg LONG */
1827 #define MUIA_String_EditHook 0x80424c33 /* V7 isg struct Hook * */
1828 #define MUIA_String_Format 0x80427484 /* V4 i.g LONG */
1829 #define MUIA_String_Integer 0x80426e8a /* V4 isg ULONG */
1830 #define MUIA_String_LonelyEditHook 0x80421569 /* V11 isg BOOL */
1831 #define MUIA_String_MaxLen 0x80424984 /* V4 i.g LONG */
1832 #define MUIA_String_Reject 0x8042179c /* V4 isg STRPTR */
1833 #define MUIA_String_Secret 0x80428769 /* V4 i.g BOOL */
1835 #define MUIV_String_Format_Left 0
1836 #define MUIV_String_Format_Center 1
1837 #define MUIV_String_Format_Right 2
1840 /****************************************************************************/
1842 /****************************************************************************/
1845 extern char MUIC_Boopsi
[];
1847 #define MUIC_Boopsi "Boopsi.mui"
1852 #define MUIA_Boopsi_Class 0x80426999 /* V4 isg struct IClass * */
1853 #define MUIA_Boopsi_ClassID 0x8042bfa3 /* V4 isg char * */
1854 #define MUIA_Boopsi_MaxHeight 0x8042757f /* V4 isg ULONG */
1855 #define MUIA_Boopsi_MaxWidth 0x8042bcb1 /* V4 isg ULONG */
1856 #define MUIA_Boopsi_MinHeight 0x80422c93 /* V4 isg ULONG */
1857 #define MUIA_Boopsi_MinWidth 0x80428fb2 /* V4 isg ULONG */
1858 #define MUIA_Boopsi_Object 0x80420178 /* V4 ..g Object * */
1859 #define MUIA_Boopsi_Remember 0x8042f4bd /* V4 i.. ULONG */
1860 #define MUIA_Boopsi_Smart 0x8042b8d7 /* V9 i.. BOOL */
1861 #define MUIA_Boopsi_TagDrawInfo 0x8042bae7 /* V4 isg ULONG */
1862 #define MUIA_Boopsi_TagScreen 0x8042bc71 /* V4 isg ULONG */
1863 #define MUIA_Boopsi_TagWindow 0x8042e11d /* V4 isg ULONG */
1867 /****************************************************************************/
1869 /****************************************************************************/
1872 extern char MUIC_Prop
[];
1874 #define MUIC_Prop "Prop.mui"
1879 #define MUIM_Prop_Decrease 0x80420dd1 /* V16 */
1880 #define MUIM_Prop_Increase 0x8042cac0 /* V16 */
1881 struct MUIP_Prop_Decrease
{ ULONG MethodID
; LONG amount
; };
1882 struct MUIP_Prop_Increase
{ ULONG MethodID
; LONG amount
; };
1886 #define MUIA_Prop_Entries 0x8042fbdb /* V4 isg LONG */
1887 #define MUIA_Prop_First 0x8042d4b2 /* V4 isg LONG */
1888 #define MUIA_Prop_Horiz 0x8042f4f3 /* V4 i.g BOOL */
1889 #define MUIA_Prop_Slider 0x80429c3a /* V4 isg BOOL */
1890 #define MUIA_Prop_UseWinBorder 0x8042deee /* V13 i.. LONG */
1891 #define MUIA_Prop_Visible 0x8042fea6 /* V4 isg LONG */
1893 #define MUIV_Prop_UseWinBorder_None 0
1894 #define MUIV_Prop_UseWinBorder_Left 1
1895 #define MUIV_Prop_UseWinBorder_Right 2
1896 #define MUIV_Prop_UseWinBorder_Bottom 3
1899 /****************************************************************************/
1901 /****************************************************************************/
1904 extern char MUIC_Gauge
[];
1906 #define MUIC_Gauge "Gauge.mui"
1911 #define MUIA_Gauge_Current 0x8042f0dd /* V4 isg LONG */
1912 #define MUIA_Gauge_Divide 0x8042d8df /* V4 isg ULONG */
1913 #define MUIA_Gauge_Horiz 0x804232dd /* V4 i.. BOOL */
1914 #define MUIA_Gauge_InfoRate 0x804253c8 /* V4 isg LONG */
1915 #define MUIA_Gauge_InfoText 0x8042bf15 /* V7 isg STRPTR */
1916 #define MUIA_Gauge_Max 0x8042bcdb /* V4 isg LONG */
1920 /****************************************************************************/
1922 /****************************************************************************/
1925 extern char MUIC_Scale
[];
1927 #define MUIC_Scale "Scale.mui"
1932 #define MUIA_Scale_Horiz 0x8042919a /* V4 isg BOOL */
1936 /****************************************************************************/
1938 /****************************************************************************/
1941 extern char MUIC_Colorfield
[];
1943 #define MUIC_Colorfield "Colorfield.mui"
1948 #define MUIA_Colorfield_Blue 0x8042d3b0 /* V4 isg ULONG */
1949 #define MUIA_Colorfield_Green 0x80424466 /* V4 isg ULONG */
1950 #define MUIA_Colorfield_Pen 0x8042713a /* V4 ..g ULONG */
1951 #define MUIA_Colorfield_Red 0x804279f6 /* V4 isg ULONG */
1952 #define MUIA_Colorfield_RGB 0x8042677a /* V4 isg ULONG * */
1956 /****************************************************************************/
1958 /****************************************************************************/
1961 extern char MUIC_List
[];
1963 #define MUIC_List "List.mui"
1968 #define MUIM_List_Clear 0x8042ad89 /* V4 */
1969 #define MUIM_List_Compare 0x80421b68 /* V20 */
1970 #define MUIM_List_Construct 0x8042d662 /* V20 */
1971 #define MUIM_List_CreateImage 0x80429804 /* V11 */
1972 #define MUIM_List_DeleteImage 0x80420f58 /* V11 */
1973 #define MUIM_List_Destruct 0x80427d51 /* V20 */
1974 #define MUIM_List_Display 0x80425377 /* V20 */
1975 #define MUIM_List_Exchange 0x8042468c /* V4 */
1976 #define MUIM_List_GetEntry 0x804280ec /* V4 */
1977 #define MUIM_List_Insert 0x80426c87 /* V4 */
1978 #define MUIM_List_InsertSingle 0x804254d5 /* V7 */
1979 #define MUIM_List_Jump 0x8042baab /* V4 */
1980 #define MUIM_List_Move 0x804253c2 /* V9 */
1981 #define MUIM_List_NextSelected 0x80425f17 /* V6 */
1982 #define MUIM_List_Redraw 0x80427993 /* V4 */
1983 #define MUIM_List_Remove 0x8042647e /* V4 */
1984 #define MUIM_List_Select 0x804252d8 /* V4 */
1985 #define MUIM_List_Sort 0x80422275 /* V4 */
1986 #define MUIM_List_TestPos 0x80425f48 /* V11 */
1987 struct MUIP_List_Clear
{ ULONG MethodID
; };
1988 struct MUIP_List_Compare
{ ULONG MethodID
; APTR entry1
; APTR entry2
; };
1989 struct MUIP_List_Construct
{ ULONG MethodID
; APTR entry
; APTR pool
; };
1990 struct MUIP_List_CreateImage
{ ULONG MethodID
; Object
*obj
; ULONG flags
; };
1991 struct MUIP_List_DeleteImage
{ ULONG MethodID
; APTR listimg
; };
1992 struct MUIP_List_Destruct
{ ULONG MethodID
; APTR entry
; APTR pool
; };
1993 struct MUIP_List_Display
{ ULONG MethodID
; APTR entry
; STRPTR
*array
; };
1994 struct MUIP_List_Exchange
{ ULONG MethodID
; LONG pos1
; LONG pos2
; };
1995 struct MUIP_List_GetEntry
{ ULONG MethodID
; LONG pos
; APTR
*entry
; };
1996 struct MUIP_List_Insert
{ ULONG MethodID
; APTR
*entries
; LONG count
; LONG pos
; };
1997 struct MUIP_List_InsertSingle
{ ULONG MethodID
; APTR entry
; LONG pos
; };
1998 struct MUIP_List_Jump
{ ULONG MethodID
; LONG pos
; };
1999 struct MUIP_List_Move
{ ULONG MethodID
; LONG from
; LONG to
; };
2000 struct MUIP_List_NextSelected
{ ULONG MethodID
; LONG
*pos
; };
2001 struct MUIP_List_Redraw
{ ULONG MethodID
; LONG pos
; };
2002 struct MUIP_List_Remove
{ ULONG MethodID
; LONG pos
; };
2003 struct MUIP_List_Select
{ ULONG MethodID
; LONG pos
; LONG seltype
; LONG
*state
; };
2004 struct MUIP_List_Sort
{ ULONG MethodID
; };
2005 struct MUIP_List_TestPos
{ ULONG MethodID
; LONG x
; LONG y
; struct MUI_List_TestPos_Result
*res
; };
2009 #define MUIA_List_Active 0x8042391c /* V4 isg LONG */
2010 #define MUIA_List_AdjustHeight 0x8042850d /* V4 i.. BOOL */
2011 #define MUIA_List_AdjustWidth 0x8042354a /* V4 i.. BOOL */
2012 #define MUIA_List_AutoVisible 0x8042a445 /* V11 isg BOOL */
2013 #define MUIA_List_CompareHook 0x80425c14 /* V4 is. struct Hook * */
2014 #define MUIA_List_ConstructHook 0x8042894f /* V4 is. struct Hook * */
2015 #define MUIA_List_DestructHook 0x804297ce /* V4 is. struct Hook * */
2016 #define MUIA_List_DisplayHook 0x8042b4d5 /* V4 is. struct Hook * */
2017 #define MUIA_List_DragSortable 0x80426099 /* V11 isg BOOL */
2018 #define MUIA_List_DropMark 0x8042aba6 /* V11 ..g LONG */
2019 #define MUIA_List_Entries 0x80421654 /* V4 ..g LONG */
2020 #define MUIA_List_First 0x804238d4 /* V4 ..g LONG */
2021 #define MUIA_List_Format 0x80423c0a /* V4 isg STRPTR */
2022 #define MUIA_List_InsertPosition 0x8042d0cd /* V9 ..g LONG */
2023 #define MUIA_List_MinLineHeight 0x8042d1c3 /* V4 i.. LONG */
2024 #define MUIA_List_MultiTestHook 0x8042c2c6 /* V4 is. struct Hook * */
2025 #define MUIA_List_Pool 0x80423431 /* V13 i.. APTR */
2026 #define MUIA_List_PoolPuddleSize 0x8042a4eb /* V13 i.. ULONG */
2027 #define MUIA_List_PoolThreshSize 0x8042c48c /* V13 i.. ULONG */
2028 #define MUIA_List_Quiet 0x8042d8c7 /* V4 .s. BOOL */
2029 #define MUIA_List_ShowDropMarks 0x8042c6f3 /* V11 isg BOOL */
2030 #define MUIA_List_SourceArray 0x8042c0a0 /* V4 i.. APTR */
2031 #define MUIA_List_Title 0x80423e66 /* V6 isg char * */
2032 #define MUIA_List_Visible 0x8042191f /* V4 ..g LONG */
2034 #define MUIV_List_Active_Off -1
2035 #define MUIV_List_Active_Top -2
2036 #define MUIV_List_Active_Bottom -3
2037 #define MUIV_List_Active_Up -4
2038 #define MUIV_List_Active_Down -5
2039 #define MUIV_List_Active_PageUp -6
2040 #define MUIV_List_Active_PageDown -7
2041 #define MUIV_List_ConstructHook_String -1
2042 #define MUIV_List_CopyHook_String -1
2043 #define MUIV_List_CursorType_None 0
2044 #define MUIV_List_CursorType_Bar 1
2045 #define MUIV_List_CursorType_Rect 2
2046 #define MUIV_List_DestructHook_String -1
2049 /****************************************************************************/
2051 /****************************************************************************/
2054 extern char MUIC_Floattext
[];
2056 #define MUIC_Floattext "Floattext.mui"
2061 #define MUIA_Floattext_Justify 0x8042dc03 /* V4 isg BOOL */
2062 #define MUIA_Floattext_SkipChars 0x80425c7d /* V4 is. STRPTR */
2063 #define MUIA_Floattext_TabSize 0x80427d17 /* V4 is. LONG */
2064 #define MUIA_Floattext_Text 0x8042d16a /* V4 isg STRPTR */
2068 /****************************************************************************/
2070 /****************************************************************************/
2073 extern char MUIC_Volumelist
[];
2075 #define MUIC_Volumelist "Volumelist.mui"
2080 #define MUIA_Volumelist_ExampleMode 0x804246a5 /* V20 i.. BOOL */
2084 /****************************************************************************/
2086 /****************************************************************************/
2089 extern char MUIC_Scrmodelist
[];
2091 #define MUIC_Scrmodelist "Scrmodelist.mui"
2099 /****************************************************************************/
2101 /****************************************************************************/
2104 extern char MUIC_Dirlist
[];
2106 #define MUIC_Dirlist "Dirlist.mui"
2111 #define MUIM_Dirlist_ReRead 0x80422d71 /* V4 */
2112 struct MUIP_Dirlist_ReRead
{ ULONG MethodID
; };
2116 #define MUIA_Dirlist_AcceptPattern 0x8042760a /* V4 is. STRPTR */
2117 #define MUIA_Dirlist_Directory 0x8042ea41 /* V4 isg STRPTR */
2118 #define MUIA_Dirlist_DrawersOnly 0x8042b379 /* V4 is. BOOL */
2119 #define MUIA_Dirlist_ExAllType 0x8042cd7c /* V20 i.g ULONG */
2120 #define MUIA_Dirlist_FilesOnly 0x8042896a /* V4 is. BOOL */
2121 #define MUIA_Dirlist_FilterDrawers 0x80424ad2 /* V4 is. BOOL */
2122 #define MUIA_Dirlist_FilterHook 0x8042ae19 /* V4 is. struct Hook * */
2123 #define MUIA_Dirlist_MultiSelDirs 0x80428653 /* V6 is. BOOL */
2124 #define MUIA_Dirlist_NumBytes 0x80429e26 /* V4 ..g LONG */
2125 #define MUIA_Dirlist_NumDrawers 0x80429cb8 /* V4 ..g LONG */
2126 #define MUIA_Dirlist_NumFiles 0x8042a6f0 /* V4 ..g LONG */
2127 #define MUIA_Dirlist_Path 0x80426176 /* V4 ..g STRPTR */
2128 #define MUIA_Dirlist_RejectIcons 0x80424808 /* V4 is. BOOL */
2129 #define MUIA_Dirlist_RejectPattern 0x804259c7 /* V4 is. STRPTR */
2130 #define MUIA_Dirlist_SortDirs 0x8042bbb9 /* V4 is. LONG */
2131 #define MUIA_Dirlist_SortHighLow 0x80421896 /* V4 is. BOOL */
2132 #define MUIA_Dirlist_SortType 0x804228bc /* V4 is. LONG */
2133 #define MUIA_Dirlist_Status 0x804240de /* V4 ..g LONG */
2135 #define MUIV_Dirlist_SortDirs_First 0
2136 #define MUIV_Dirlist_SortDirs_Last 1
2137 #define MUIV_Dirlist_SortDirs_Mix 2
2138 #define MUIV_Dirlist_SortType_Name 0
2139 #define MUIV_Dirlist_SortType_Date 1
2140 #define MUIV_Dirlist_SortType_Size 2
2141 #define MUIV_Dirlist_Status_Invalid 0
2142 #define MUIV_Dirlist_Status_Reading 1
2143 #define MUIV_Dirlist_Status_Valid 2
2146 /****************************************************************************/
2148 /****************************************************************************/
2151 extern char MUIC_Numeric
[];
2153 #define MUIC_Numeric "Numeric.mui"
2158 #define MUIM_Numeric_Decrease 0x804243a7 /* V11 */
2159 #define MUIM_Numeric_Increase 0x80426ecd /* V11 */
2160 #define MUIM_Numeric_ScaleToValue 0x8042032c /* V11 */
2161 #define MUIM_Numeric_SetDefault 0x8042ab0a /* V11 */
2162 #define MUIM_Numeric_Stringify 0x80424891 /* V11 */
2163 #define MUIM_Numeric_ValueToScale 0x80423e4f /* V11 */
2164 struct MUIP_Numeric_Decrease
{ ULONG MethodID
; LONG amount
; };
2165 struct MUIP_Numeric_Increase
{ ULONG MethodID
; LONG amount
; };
2166 struct MUIP_Numeric_ScaleToValue
{ ULONG MethodID
; LONG scalemin
; LONG scalemax
; LONG scale
; };
2167 struct MUIP_Numeric_SetDefault
{ ULONG MethodID
; };
2168 struct MUIP_Numeric_Stringify
{ ULONG MethodID
; LONG value
; };
2169 struct MUIP_Numeric_ValueToScale
{ ULONG MethodID
; LONG scalemin
; LONG scalemax
; };
2173 #define MUIA_Numeric_CheckAllSizes 0x80421594 /* V11 isg BOOL */
2174 #define MUIA_Numeric_Default 0x804263e8 /* V11 isg LONG */
2175 #define MUIA_Numeric_Format 0x804263e9 /* V11 isg STRPTR */
2176 #define MUIA_Numeric_Max 0x8042d78a /* V11 isg LONG */
2177 #define MUIA_Numeric_Min 0x8042e404 /* V11 isg LONG */
2178 #define MUIA_Numeric_Reverse 0x8042f2a0 /* V11 isg BOOL */
2179 #define MUIA_Numeric_RevLeftRight 0x804294a7 /* V11 isg BOOL */
2180 #define MUIA_Numeric_RevUpDown 0x804252dd /* V11 isg BOOL */
2181 #define MUIA_Numeric_Value 0x8042ae3a /* V11 isg LONG */
2185 /****************************************************************************/
2187 /****************************************************************************/
2190 extern char MUIC_Knob
[];
2192 #define MUIC_Knob "Knob.mui"
2196 /****************************************************************************/
2198 /****************************************************************************/
2201 extern char MUIC_Levelmeter
[];
2203 #define MUIC_Levelmeter "Levelmeter.mui"
2208 #define MUIA_Levelmeter_Label 0x80420dd5 /* V11 isg STRPTR */
2212 /****************************************************************************/
2213 /** Numericbutton **/
2214 /****************************************************************************/
2217 extern char MUIC_Numericbutton
[];
2219 #define MUIC_Numericbutton "Numericbutton.mui"
2223 /****************************************************************************/
2225 /****************************************************************************/
2228 extern char MUIC_Slider
[];
2230 #define MUIC_Slider "Slider.mui"
2235 #define MUIA_Slider_Horiz 0x8042fad1 /* V11 isg BOOL */
2237 #define MUIA_Slider_Level 0x8042ae3a /* V4 isg LONG */
2238 #endif /* MUI_OBSOLETE */
2240 #define MUIA_Slider_Max 0x8042d78a /* V4 isg LONG */
2241 #endif /* MUI_OBSOLETE */
2243 #define MUIA_Slider_Min 0x8042e404 /* V4 isg LONG */
2244 #endif /* MUI_OBSOLETE */
2245 #define MUIA_Slider_Quiet 0x80420b26 /* V6 i.. BOOL */
2247 #define MUIA_Slider_Reverse 0x8042f2a0 /* V4 isg BOOL */
2248 #endif /* MUI_OBSOLETE */
2252 /****************************************************************************/
2253 /** Framedisplay **/
2254 /****************************************************************************/
2257 extern char MUIC_Framedisplay
[];
2259 #define MUIC_Framedisplay "Framedisplay.mui"
2267 /****************************************************************************/
2269 /****************************************************************************/
2272 extern char MUIC_Popframe
[];
2274 #define MUIC_Popframe "Popframe.mui"
2278 /****************************************************************************/
2279 /** Imagedisplay **/
2280 /****************************************************************************/
2283 extern char MUIC_Imagedisplay
[];
2285 #define MUIC_Imagedisplay "Imagedisplay.mui"
2293 /****************************************************************************/
2295 /****************************************************************************/
2298 extern char MUIC_Popimage
[];
2300 #define MUIC_Popimage "Popimage.mui"
2304 /****************************************************************************/
2306 /****************************************************************************/
2309 extern char MUIC_Pendisplay
[];
2311 #define MUIC_Pendisplay "Pendisplay.mui"
2316 #define MUIM_Pendisplay_SetColormap 0x80426c80 /* V13 */
2317 #define MUIM_Pendisplay_SetMUIPen 0x8042039d /* V13 */
2318 #define MUIM_Pendisplay_SetRGB 0x8042c131 /* V13 */
2319 struct MUIP_Pendisplay_SetColormap
{ ULONG MethodID
; LONG colormap
; };
2320 struct MUIP_Pendisplay_SetMUIPen
{ ULONG MethodID
; LONG muipen
; };
2321 struct MUIP_Pendisplay_SetRGB
{ ULONG MethodID
; ULONG red
; ULONG green
; ULONG blue
; };
2325 #define MUIA_Pendisplay_Pen 0x8042a748 /* V13 ..g ULONG */
2326 #define MUIA_Pendisplay_Reference 0x8042dc24 /* V13 isg Object * */
2327 #define MUIA_Pendisplay_RGBcolor 0x8042a1a9 /* V11 isg struct MUI_RGBcolor * */
2328 #define MUIA_Pendisplay_Spec 0x8042a204 /* V11 isg struct MUI_PenSpec * */
2332 /****************************************************************************/
2334 /****************************************************************************/
2337 extern char MUIC_Poppen
[];
2339 #define MUIC_Poppen "Poppen.mui"
2343 /****************************************************************************/
2345 /****************************************************************************/
2348 extern char MUIC_Group
[];
2350 #define MUIC_Group "Group.mui"
2355 #define MUIM_Group_ExitChange 0x8042d1cc /* V11 */
2356 #define MUIM_Group_InitChange 0x80420887 /* V11 */
2357 #define MUIM_Group_MoveMember 0x8042ff4e /* V16 */
2358 #define MUIM_Group_Sort 0x80427417 /* V4 */
2359 struct MUIP_Group_ExitChange
{ ULONG MethodID
; };
2360 struct MUIP_Group_InitChange
{ ULONG MethodID
; };
2361 struct MUIP_Group_MoveMember
{ ULONG MethodID
; Object
*o
; LONG pos
; };
2362 struct MUIP_Group_Sort
{ ULONG MethodID
; Object
*obj
[1]; };
2366 #define MUIA_Group_ActivePage 0x80424199 /* V5 isg LONG */
2367 #define MUIA_Group_Child 0x804226e6 /* V4 i.. Object * */
2368 #define MUIA_Group_ChildList 0x80424748 /* V4 ..g struct List * */
2369 #define MUIA_Group_Columns 0x8042f416 /* V4 is. LONG */
2370 #define MUIA_Group_Forward 0x80421422 /* V11 .s. BOOL */
2371 #define MUIA_Group_Horiz 0x8042536b /* V4 i.. BOOL */
2372 #define MUIA_Group_HorizSpacing 0x8042c651 /* V4 isg LONG */
2373 #define MUIA_Group_LayoutHook 0x8042c3b2 /* V11 i.. struct Hook * */
2374 #define MUIA_Group_PageMode 0x80421a5f /* V5 i.. BOOL */
2375 #define MUIA_Group_Rows 0x8042b68f /* V4 is. LONG */
2376 #define MUIA_Group_SameHeight 0x8042037e /* V4 i.. BOOL */
2377 #define MUIA_Group_SameSize 0x80420860 /* V4 i.. BOOL */
2378 #define MUIA_Group_SameWidth 0x8042b3ec /* V4 i.. BOOL */
2379 #define MUIA_Group_Spacing 0x8042866d /* V4 is. LONG */
2380 #define MUIA_Group_VertSpacing 0x8042e1bf /* V4 isg LONG */
2382 #define MUIV_Group_ActivePage_First 0
2383 #define MUIV_Group_ActivePage_Last -1
2384 #define MUIV_Group_ActivePage_Prev -2
2385 #define MUIV_Group_ActivePage_Next -3
2386 #define MUIV_Group_ActivePage_Advance -4
2389 /****************************************************************************/
2391 /****************************************************************************/
2394 extern char MUIC_Selectgroup
[];
2396 #define MUIC_Selectgroup "Selectgroup.mui"
2400 /****************************************************************************/
2402 /****************************************************************************/
2405 extern char MUIC_Menudisplay
[];
2407 #define MUIC_Menudisplay "Menudisplay.mui"
2414 /****************************************************************************/
2416 /****************************************************************************/
2419 extern char MUIC_Mccprefs
[];
2421 #define MUIC_Mccprefs "Mccprefs.mui"
2426 #define MUIM_Mccprefs_ConfigToGadgets 0x80427043 /* V11 */
2427 #define MUIM_Mccprefs_GadgetsToConfig 0x80425242 /* V11 */
2428 #define MUIM_Mccprefs_RegisterGadget 0x80424828 /* V20 */
2429 struct MUIP_Mccprefs_ConfigToGadgets
{ ULONG MethodID
; Object
*configdata
; };
2430 struct MUIP_Mccprefs_GadgetsToConfig
{ ULONG MethodID
; Object
*configdata
; };
2431 struct MUIP_Mccprefs_RegisterGadget
{ ULONG MethodID
; Object
*gadget
; ULONG id
; ULONG flags
; STRPTR title
; };
2438 /****************************************************************************/
2440 /****************************************************************************/
2443 extern char MUIC_Register
[];
2445 #define MUIC_Register "Register.mui"
2450 #define MUIA_Register_Frame 0x8042349b /* V7 i.g BOOL */
2451 #define MUIA_Register_Titles 0x804297ec /* V7 i.g STRPTR * */
2455 /****************************************************************************/
2457 /****************************************************************************/
2460 extern char MUIC_Penadjust
[];
2462 #define MUIC_Penadjust "Penadjust.mui"
2470 #define MUIA_Penadjust_PSIMode 0x80421cbb /* V11 i.. BOOL */
2474 /****************************************************************************/
2475 /** Settingsgroup **/
2476 /****************************************************************************/
2479 extern char MUIC_Settingsgroup
[];
2481 #define MUIC_Settingsgroup "Settingsgroup.mui"
2486 #define MUIM_Settingsgroup_ConfigToGadgets 0x80427043 /* V11 */
2487 #define MUIM_Settingsgroup_GadgetsToConfig 0x80425242 /* V11 */
2488 struct MUIP_Settingsgroup_ConfigToGadgets
{ ULONG MethodID
; Object
*configdata
; };
2489 struct MUIP_Settingsgroup_GadgetsToConfig
{ ULONG MethodID
; Object
*configdata
; };
2496 /****************************************************************************/
2497 /** Settingsgroupr **/
2498 /****************************************************************************/
2501 extern char MUIC_Settingsgroupr
[];
2503 #define MUIC_Settingsgroupr "Settingsgroupr.mui"
2507 /****************************************************************************/
2509 /****************************************************************************/
2512 extern char MUIC_Settings
[];
2514 #define MUIC_Settings "Settings.mui"
2525 /****************************************************************************/
2527 /****************************************************************************/
2530 extern char MUIC_Frameadjust
[];
2532 #define MUIC_Frameadjust "Frameadjust.mui"
2543 /****************************************************************************/
2545 /****************************************************************************/
2548 extern char MUIC_Imageadjust
[];
2550 #define MUIC_Imageadjust "Imageadjust.mui"
2559 #define MUIV_Imageadjust_Type_All 0
2560 #define MUIV_Imageadjust_Type_Image 1
2561 #define MUIV_Imageadjust_Type_Background 2
2562 #define MUIV_Imageadjust_Type_Pen 3
2565 /****************************************************************************/
2567 /****************************************************************************/
2570 extern char MUIC_Virtgroup
[];
2572 #define MUIC_Virtgroup "Virtgroup.mui"
2580 #define MUIA_Virtgroup_Height 0x80423038 /* V6 ..g LONG */
2581 #define MUIA_Virtgroup_Input 0x80427f7e /* V11 i.. BOOL */
2582 #define MUIA_Virtgroup_Left 0x80429371 /* V6 isg LONG */
2583 #define MUIA_Virtgroup_Top 0x80425200 /* V6 isg LONG */
2584 #define MUIA_Virtgroup_Width 0x80427c49 /* V6 ..g LONG */
2588 /****************************************************************************/
2590 /****************************************************************************/
2593 extern char MUIC_Scrollgroup
[];
2595 #define MUIC_Scrollgroup "Scrollgroup.mui"
2603 #define MUIA_Scrollgroup_Contents 0x80421261 /* V4 i.g Object * */
2604 #define MUIA_Scrollgroup_FreeHoriz 0x804292f3 /* V9 i.. BOOL */
2605 #define MUIA_Scrollgroup_FreeVert 0x804224f2 /* V9 i.. BOOL */
2606 #define MUIA_Scrollgroup_HorizBar 0x8042b63d /* V16 ..g Object * */
2607 #define MUIA_Scrollgroup_UseWinBorder 0x804284c1 /* V13 i.. BOOL */
2608 #define MUIA_Scrollgroup_VertBar 0x8042cdc0 /* V16 ..g Object * */
2612 /****************************************************************************/
2614 /****************************************************************************/
2617 extern char MUIC_Scrollbar
[];
2619 #define MUIC_Scrollbar "Scrollbar.mui"
2624 #define MUIA_Scrollbar_Type 0x8042fb6b /* V11 i.. LONG */
2626 #define MUIV_Scrollbar_Type_Default 0
2627 #define MUIV_Scrollbar_Type_Bottom 1
2628 #define MUIV_Scrollbar_Type_Top 2
2629 #define MUIV_Scrollbar_Type_Sym 3
2630 #define MUIV_Scrollbar_Type_None 4
2633 /****************************************************************************/
2635 /****************************************************************************/
2638 extern char MUIC_Listview
[];
2640 #define MUIC_Listview "Listview.mui"
2645 #define MUIA_Listview_ClickColumn 0x8042d1b3 /* V7 ..g LONG */
2646 #define MUIA_Listview_DefClickColumn 0x8042b296 /* V7 isg LONG */
2647 #define MUIA_Listview_DoubleClick 0x80424635 /* V4 i.g BOOL */
2648 #define MUIA_Listview_DragType 0x80425cd3 /* V11 isg LONG */
2649 #define MUIA_Listview_Input 0x8042682d /* V4 i.. BOOL */
2650 #define MUIA_Listview_List 0x8042bcce /* V4 i.g Object * */
2651 #define MUIA_Listview_MultiSelect 0x80427e08 /* V7 i.. LONG */
2652 #define MUIA_Listview_ScrollerPos 0x8042b1b4 /* V10 i.. BOOL */
2653 #define MUIA_Listview_SelectChange 0x8042178f /* V4 ..g BOOL */
2655 #define MUIV_Listview_DragType_None 0
2656 #define MUIV_Listview_DragType_Immediate 1
2657 #define MUIV_Listview_MultiSelect_None 0
2658 #define MUIV_Listview_MultiSelect_Default 1
2659 #define MUIV_Listview_MultiSelect_Shifted 2
2660 #define MUIV_Listview_MultiSelect_Always 3
2661 #define MUIV_Listview_ScrollerPos_Default 0
2662 #define MUIV_Listview_ScrollerPos_Left 1
2663 #define MUIV_Listview_ScrollerPos_Right 2
2664 #define MUIV_Listview_ScrollerPos_None 3
2667 /****************************************************************************/
2669 /****************************************************************************/
2672 extern char MUIC_Radio
[];
2674 #define MUIC_Radio "Radio.mui"
2679 #define MUIA_Radio_Active 0x80429b41 /* V4 isg LONG */
2680 #define MUIA_Radio_Entries 0x8042b6a1 /* V4 i.. STRPTR * */
2684 /****************************************************************************/
2686 /****************************************************************************/
2689 extern char MUIC_Cycle
[];
2691 #define MUIC_Cycle "Cycle.mui"
2696 #define MUIA_Cycle_Active 0x80421788 /* V4 isg LONG */
2697 #define MUIA_Cycle_Entries 0x80420629 /* V4 i.. STRPTR * */
2699 #define MUIV_Cycle_Active_Next -1
2700 #define MUIV_Cycle_Active_Prev -2
2703 /****************************************************************************/
2705 /****************************************************************************/
2708 extern char MUIC_Coloradjust
[];
2710 #define MUIC_Coloradjust "Coloradjust.mui"
2718 #define MUIA_Coloradjust_Blue 0x8042b8a3 /* V4 isg ULONG */
2719 #define MUIA_Coloradjust_Green 0x804285ab /* V4 isg ULONG */
2720 #define MUIA_Coloradjust_ModeID 0x8042ec59 /* V4 isg ULONG */
2721 #define MUIA_Coloradjust_Red 0x80420eaa /* V4 isg ULONG */
2722 #define MUIA_Coloradjust_RGB 0x8042f899 /* V4 isg ULONG * */
2726 /****************************************************************************/
2728 /****************************************************************************/
2731 extern char MUIC_Palette
[];
2733 #define MUIC_Palette "Palette.mui"
2738 #define MUIA_Palette_Entries 0x8042a3d8 /* V6 i.g struct MUI_Palette_Entry * */
2739 #define MUIA_Palette_Groupable 0x80423e67 /* V6 isg BOOL */
2740 #define MUIA_Palette_Names 0x8042c3a2 /* V6 isg char ** */
2744 /****************************************************************************/
2746 /****************************************************************************/
2749 extern char MUIC_Popstring
[];
2751 #define MUIC_Popstring "Popstring.mui"
2756 #define MUIM_Popstring_Close 0x8042dc52 /* V7 */
2757 #define MUIM_Popstring_Open 0x804258ba /* V7 */
2758 struct MUIP_Popstring_Close
{ ULONG MethodID
; LONG result
; };
2759 struct MUIP_Popstring_Open
{ ULONG MethodID
; };
2763 #define MUIA_Popstring_Button 0x8042d0b9 /* V7 i.g Object * */
2764 #define MUIA_Popstring_CloseHook 0x804256bf /* V7 isg struct Hook * */
2765 #define MUIA_Popstring_OpenHook 0x80429d00 /* V7 isg struct Hook * */
2766 #define MUIA_Popstring_String 0x804239ea /* V7 i.g Object * */
2767 #define MUIA_Popstring_Toggle 0x80422b7a /* V7 isg BOOL */
2771 /****************************************************************************/
2772 /** Pubscreenadjust **/
2773 /****************************************************************************/
2776 extern char MUIC_Pubscreenadjust
[];
2778 #define MUIC_Pubscreenadjust "Pubscreenadjust.mui"
2785 /****************************************************************************/
2786 /** Pubscreenpanel **/
2787 /****************************************************************************/
2790 extern char MUIC_Pubscreenpanel
[];
2792 #define MUIC_Pubscreenpanel "Pubscreenpanel.mui"
2803 /****************************************************************************/
2804 /** Pubscreenlist **/
2805 /****************************************************************************/
2808 extern char MUIC_Pubscreenlist
[];
2810 #define MUIC_Pubscreenlist "Pubscreenlist.mui"
2818 #define MUIA_Pubscreenlist_Selection 0x8042fe58 /* V20 ..g STRPTR */
2819 #define MUIA_Pubscreenlist_String 0x80422ce2 /* V20 .s. Object * */
2820 #define MUIA_Pubscreenlist_Type 0x80423201 /* V20 ..g ULONG */
2824 /****************************************************************************/
2826 /****************************************************************************/
2829 extern char MUIC_Popobject
[];
2831 #define MUIC_Popobject "Popobject.mui"
2836 #define MUIA_Popobject_Follow 0x80424cb5 /* V7 isg BOOL */
2837 #define MUIA_Popobject_Light 0x8042a5a3 /* V7 isg BOOL */
2838 #define MUIA_Popobject_Object 0x804293e3 /* V7 i.g Object * */
2839 #define MUIA_Popobject_ObjStrHook 0x8042db44 /* V7 isg struct Hook * */
2840 #define MUIA_Popobject_StrObjHook 0x8042fbe1 /* V7 isg struct Hook * */
2841 #define MUIA_Popobject_Volatile 0x804252ec /* V7 isg BOOL */
2842 #define MUIA_Popobject_WindowHook 0x8042f194 /* V9 isg struct Hook * */
2846 /****************************************************************************/
2848 /****************************************************************************/
2851 extern char MUIC_Poplist
[];
2853 #define MUIC_Poplist "Poplist.mui"
2858 #define MUIA_Poplist_Array 0x8042084c /* V8 i.. char ** */
2862 /****************************************************************************/
2864 /****************************************************************************/
2867 extern char MUIC_Popscreen
[];
2869 #define MUIC_Popscreen "Popscreen.mui"
2877 /****************************************************************************/
2879 /****************************************************************************/
2882 extern char MUIC_Popasl
[];
2884 #define MUIC_Popasl "Popasl.mui"
2889 #define MUIA_Popasl_Active 0x80421b37 /* V7 ..g BOOL */
2890 #define MUIA_Popasl_StartHook 0x8042b703 /* V7 isg struct Hook * */
2891 #define MUIA_Popasl_StopHook 0x8042d8d2 /* V7 isg struct Hook * */
2892 #define MUIA_Popasl_Type 0x8042df3d /* V7 i.g ULONG */
2896 /****************************************************************************/
2898 /****************************************************************************/
2901 extern char MUIC_Semaphore
[];
2903 #define MUIC_Semaphore "Semaphore.mui"
2908 #define MUIM_Semaphore_Attempt 0x80426ce2 /* V11 */
2909 #define MUIM_Semaphore_AttemptShared 0x80422551 /* V11 */
2910 #define MUIM_Semaphore_Obtain 0x804276f0 /* V11 */
2911 #define MUIM_Semaphore_ObtainShared 0x8042ea02 /* V11 */
2912 #define MUIM_Semaphore_Release 0x80421f2d /* V11 */
2913 struct MUIP_Semaphore_Attempt
{ ULONG MethodID
; };
2914 struct MUIP_Semaphore_AttemptShared
{ ULONG MethodID
; };
2915 struct MUIP_Semaphore_Obtain
{ ULONG MethodID
; };
2916 struct MUIP_Semaphore_ObtainShared
{ ULONG MethodID
; };
2917 struct MUIP_Semaphore_Release
{ ULONG MethodID
; };
2920 /****************************************************************************/
2922 /****************************************************************************/
2925 extern char MUIC_Applist
[];
2927 #define MUIC_Applist "Applist.mui"
2934 /****************************************************************************/
2936 /****************************************************************************/
2939 extern char MUIC_Cclist
[];
2941 #define MUIC_Cclist "Cclist.mui"
2948 /****************************************************************************/
2950 /****************************************************************************/
2953 extern char MUIC_Dataspace
[];
2955 #define MUIC_Dataspace "Dataspace.mui"
2960 #define MUIM_Dataspace_Add 0x80423366 /* V11 */
2961 #define MUIM_Dataspace_Clear 0x8042b6c9 /* V11 */
2962 #define MUIM_Dataspace_Find 0x8042832c /* V11 */
2963 #define MUIM_Dataspace_Merge 0x80423e2b /* V11 */
2964 #define MUIM_Dataspace_ReadIFF 0x80420dfb /* V11 */
2965 #define MUIM_Dataspace_Remove 0x8042dce1 /* V11 */
2966 #define MUIM_Dataspace_WriteIFF 0x80425e8e /* V11 */
2967 struct MUIP_Dataspace_Add
{ ULONG MethodID
; APTR data
; LONG len
; ULONG id
; };
2968 struct MUIP_Dataspace_Clear
{ ULONG MethodID
; };
2969 struct MUIP_Dataspace_Find
{ ULONG MethodID
; ULONG id
; };
2970 struct MUIP_Dataspace_Merge
{ ULONG MethodID
; Object
*dataspace
; };
2971 struct MUIP_Dataspace_ReadIFF
{ ULONG MethodID
; struct IFFHandle
*handle
; };
2972 struct MUIP_Dataspace_Remove
{ ULONG MethodID
; ULONG id
; };
2973 struct MUIP_Dataspace_WriteIFF
{ ULONG MethodID
; struct IFFHandle
*handle
; ULONG type
; ULONG id
; };
2977 #define MUIA_Dataspace_Pool 0x80424cf9 /* V11 i.. APTR */
2981 /****************************************************************************/
2983 /****************************************************************************/
2986 extern char MUIC_Configdata
[];
2988 #define MUIC_Configdata "Configdata.mui"
2999 /****************************************************************************/
3001 /****************************************************************************/
3004 extern char MUIC_Rootgrp
[];
3006 #define MUIC_Rootgrp "Rootgrp.mui"
3010 /****************************************************************************/
3011 /** Audiocontrols **/
3012 /****************************************************************************/
3015 extern char MUIC_Audiocontrols
[];
3017 #define MUIC_Audiocontrols "Audiocontrols.mui"
3028 /****************************************************************************/
3030 /****************************************************************************/
3033 extern char MUIC_Audiomixer
[];
3035 #define MUIC_Audiomixer "Audiomixer.mui"
3043 /****************************************************************************/
3045 /****************************************************************************/
3048 extern char MUIC_Popmenu
[];
3050 #define MUIC_Popmenu "Popmenu.mui"
3059 #define MUIV_Popmenu_Active_First -3
3060 #define MUIV_Popmenu_Active_Last -2
3061 #define MUIV_Popmenu_Active_None -1
3062 #define MUIV_Popmenu_PosX_Type_Center 0
3063 #define MUIV_Popmenu_PosX_Type_Left 1
3064 #define MUIV_Popmenu_PosX_Type_Right 2
3065 #define MUIV_Popmenu_PosY_Type_Middle 0
3066 #define MUIV_Popmenu_PosY_Type_Top 1
3067 #define MUIV_Popmenu_PosY_Type_Bottom 2
3068 #define MUIV_Popmenu_PosY_Type_Active 3
3069 #define MUIV_Popmenu_Stickyness_Auto 0
3070 #define MUIV_Popmenu_Stickyness_Always 1
3071 #define MUIV_Popmenu_Stickyness_Never 2
3072 #define MUIV_Popmenu_Type_Context 0
3073 #define MUIV_Popmenu_Type_Menu 1
3074 #define MUIV_Popmenu_Type_Cycle 2
3075 #define MUIV_Popmenu_Type_Popup 3
3076 #define MUIV_Popmenu_Type_Other 255
3079 /****************************************************************************/
3081 /****************************************************************************/
3084 extern char MUIC_Panel
[];
3086 #define MUIC_Panel "Panel.mui"
3097 /****************************************************************************/
3099 /****************************************************************************/
3102 extern char MUIC_Filepanel
[];
3104 #define MUIC_Filepanel "Filepanel.mui"
3115 /****************************************************************************/
3117 /****************************************************************************/
3120 extern char MUIC_Fontpanel
[];
3122 #define MUIC_Fontpanel "Fontpanel.mui"
3129 /****************************************************************************/
3130 /** Screenmodepanel **/
3131 /****************************************************************************/
3134 extern char MUIC_Screenmodepanel
[];
3136 #define MUIC_Screenmodepanel "Screenmodepanel.mui"
3147 /*****************************************/
3148 /* End of automatic header file creation */
3149 /*****************************************/
3157 /*************************************************************************
3158 ** Structures and Macros for creating custom classes.
3159 *************************************************************************/
3165 ** - Everything described in this header file is only valid within
3166 ** MUI classes. You may never use any of these things out of
3167 ** a class, e.g. in a traditional MUI application.
3169 ** - Except when otherwise stated, all structures are strictly read only.
3173 /* Global information for every object */
3175 struct MUI_GlobalInfo
3178 Object
*mgi_ApplicationObject
;
3180 /* ... private data follows ... */
3184 /* Instance data of notify class */
3186 struct MUI_NotifyData
3188 struct MUI_GlobalInfo
*mnd_GlobalInfo
;
3198 /* MUI_MinMax structure holds information about minimum, maximum
3199 and default dimensions of an object. */
3211 #define MUI_MAXMAX 10000 /* use this if a dimension is not limited. */
3214 /* Hook message for custom layout */
3216 struct MUI_LayoutMsg
3218 ULONG lm_Type
; /* type of message (see defines below) */
3219 struct MinList
*lm_Children
; /* list of this groups children, traverse with NextObject() */
3220 struct MUI_MinMax lm_MinMax
; /* results for MUILM_MINMAX */
3227 } lm_Layout
; /* size (and result) for MUILM_LAYOUT */
3230 #define MUILM_MINMAX 1 /* MUI wants you to calc your min & max sizes */
3231 #define MUILM_LAYOUT 2 /* MUI wants you to layout your children */
3233 #define MUILM_UNKNOWN -1 /* return this if your hook doesn't implement lm_Type */
3236 /* (partial) instance data of area class */
3240 struct MUI_RenderInfo
*mad_RenderInfo
; /* RenderInfo for this object */
3242 struct TextFont
*mad_Font
; /* Font */
3243 struct MUI_MinMax mad_MinMax
; /* min/max/default sizes */
3244 struct IBox mad_Box
; /* position and dimension */
3245 BYTE mad_addleft
; /* frame & innerspacing left offset */
3246 BYTE mad_addtop
; /* frame & innerspacing top offset */
3247 BYTE mad_subwidth
; /* frame & innerspacing add. width */
3248 BYTE mad_subheight
; /* frame & innerspacing add. height */
3249 ULONG mad_Flags
; /* see definitions below */
3254 /* ... private data follows ... */
3257 /* Definitions for mad_Flags, other flags are private */
3259 #define MADF_DRAWOBJECT (1<< 0) /* completely redraw yourself */
3260 #define MADF_DRAWUPDATE (1<< 1) /* only update yourself */
3265 /* MUI's draw pens */
3267 #define MPEN_SHINE 0
3268 #define MPEN_HALFSHINE 1
3269 #define MPEN_BACKGROUND 2
3270 #define MPEN_HALFSHADOW 3
3271 #define MPEN_SHADOW 4
3275 #define MPEN_COUNT 8
3278 /* Mask for pens from MUI_ObtainPen() */
3280 #define MUIPEN_MASK 0x0000ffff
3281 #define MUIPEN(pen) ((pen) & MUIPEN_MASK)
3283 /* Information on display environment */
3285 struct MUI_RenderInfo
3287 Object
*mri_WindowObject
; /* valid between MUIM_Setup/MUIM_Cleanup */
3289 struct Screen
*mri_Screen
; /* valid between MUIM_Setup/MUIM_Cleanup */
3290 struct DrawInfo
*mri_DrawInfo
; /* valid between MUIM_Setup/MUIM_Cleanup */
3291 UWORD
*mri_Pens
; /* valid between MUIM_Setup/MUIM_Cleanup */
3292 struct Window
*mri_Window
; /* valid between MUIM_Show/MUIM_Hide */
3293 struct RastPort
*mri_RastPort
; /* valid between MUIM_Show/MUIM_Hide */
3295 ULONG mri_Flags
; /* valid between MUIM_Setup/MUIM_Cleanup */
3297 /* ... private data follows ... */
3299 /* so don't touch it :) */
3300 struct MUI_ScreenInfo
*mri_ScreenInfo
;
3305 ** If mri_Flags & MUIMRI_RECTFILL, RectFill() is quicker
3306 ** than Move()/Draw() for horizontal or vertical lines.
3307 ** on the current display.
3309 #define MUIMRI_RECTFILL (1<<0)
3312 ** If mri_Flags & MUIMRI_TRUECOLOR, display environment is a
3313 ** cybergraphics emulated hicolor or true color display.
3315 #define MUIMRI_TRUECOLOR (1<<1)
3318 ** If mri_Flags & MUIMRI_THINFRAMES, MUI uses thin frames
3319 ** (1:1) apsect ratio instead of standard 2:1 frames.
3321 #define MUIMRI_THINFRAMES (1<<2)
3324 ** If mri_Flags & MUIMRI_REFRESHMODE, MUI is currently
3325 ** refreshing a WFLG_SIMPLEREFRESH window and is inbetween
3326 ** a BeginRefresh()/EndRefresh() pair.
3328 #define MUIMRI_REFRESHMODE (1<<3)
3331 ** If mri_Flags & MUIMRI_PLANAR, display environment is an
3332 ** old-style planar display.
3334 #define MUIMRI_PLANAR (1<<4)
3338 /* the following macros can be used to get pointers to an objects
3339 GlobalInfo and RenderInfo structures. */
3341 struct __dummyXFC2__
3343 struct MUI_NotifyData mnd
;
3344 struct MUI_AreaData mad
;
3347 #define muiNotifyData(obj) (&(((struct __dummyXFC2__ *)(obj))->mnd))
3348 #define muiAreaData(obj) (&(((struct __dummyXFC2__ *)(obj))->mad))
3350 #define muiGlobalInfo(obj) (((struct __dummyXFC2__ *)(obj))->mnd.mnd_GlobalInfo)
3351 #define muiUserData(obj) (((struct __dummyXFC2__ *)(obj))->mnd.mnd_UserData)
3352 #define muiRenderInfo(obj) (((struct __dummyXFC2__ *)(obj))->mad.mad_RenderInfo)
3356 /* User configurable keyboard events coming with MUIM_HandleInput */
3360 MUIKEY_RELEASE
= -2, /* not a real key, faked when MUIKEY_PRESS is released */
3379 MUIKEY_WINDOW_CLOSE
,
3385 MUIKEY_COUNT
/* counter */
3388 #define MUIKEYF_PRESS (1<<MUIKEY_PRESS)
3389 #define MUIKEYF_TOGGLE (1<<MUIKEY_TOGGLE)
3390 #define MUIKEYF_UP (1<<MUIKEY_UP)
3391 #define MUIKEYF_DOWN (1<<MUIKEY_DOWN)
3392 #define MUIKEYF_PAGEUP (1<<MUIKEY_PAGEUP)
3393 #define MUIKEYF_PAGEDOWN (1<<MUIKEY_PAGEDOWN)
3394 #define MUIKEYF_TOP (1<<MUIKEY_TOP)
3395 #define MUIKEYF_BOTTOM (1<<MUIKEY_BOTTOM)
3396 #define MUIKEYF_LEFT (1<<MUIKEY_LEFT)
3397 #define MUIKEYF_RIGHT (1<<MUIKEY_RIGHT)
3398 #define MUIKEYF_WORDLEFT (1<<MUIKEY_WORDLEFT)
3399 #define MUIKEYF_WORDRIGHT (1<<MUIKEY_WORDRIGHT)
3400 #define MUIKEYF_LINESTART (1<<MUIKEY_LINESTART)
3401 #define MUIKEYF_LINEEND (1<<MUIKEY_LINEEND)
3402 #define MUIKEYF_GADGET_NEXT (1<<MUIKEY_GADGET_NEXT)
3403 #define MUIKEYF_GADGET_PREV (1<<MUIKEY_GADGET_PREV)
3404 #define MUIKEYF_GADGET_OFF (1<<MUIKEY_GADGET_OFF)
3405 #define MUIKEYF_WINDOW_CLOSE (1<<MUIKEY_WINDOW_CLOSE)
3406 #define MUIKEYF_WINDOW_NEXT (1<<MUIKEY_WINDOW_NEXT)
3407 #define MUIKEYF_WINDOW_PREV (1<<MUIKEY_WINDOW_PREV)
3408 #define MUIKEYF_HELP (1<<MUIKEY_HELP)
3409 #define MUIKEYF_POPUP (1<<MUIKEY_POPUP)
3410 #define MUIKEYF_PRESS2 (1<<MUIKEY_PRESS2)
3413 /* Some useful shortcuts. define MUI_NOSHORTCUTS to get rid of them */
3414 /* NOTE: These macros may only be used in custom classes and are */
3415 /* only valid if your class is inbetween the specified methods! */
3417 #ifndef MUI_NOSHORTCUTS
3419 #define _app(obj) (muiGlobalInfo(obj)->mgi_ApplicationObject) /* valid between MUIM_Setup/Cleanup */
3420 #define _win(obj) (muiRenderInfo(obj)->mri_WindowObject) /* valid between MUIM_Setup/Cleanup */
3421 #define _dri(obj) (muiRenderInfo(obj)->mri_DrawInfo) /* valid between MUIM_Setup/Cleanup */
3422 #define _screen(obj) (muiRenderInfo(obj)->mri_Screen) /* valid between MUIM_Setup/Cleanup */
3423 #define _pens(obj) (muiRenderInfo(obj)->mri_Pens) /* valid between MUIM_Setup/Cleanup */
3424 #define _window(obj) (muiRenderInfo(obj)->mri_Window) /* valid between MUIM_Show/Hide */
3425 #define _rp(obj) (muiRenderInfo(obj)->mri_RastPort) /* valid between MUIM_Show/Hide */
3426 #define _left(obj) (muiAreaData(obj)->mad_Box.Left) /* valid during MUIM_Draw */
3427 #define _top(obj) (muiAreaData(obj)->mad_Box.Top) /* valid during MUIM_Draw */
3428 #define _width(obj) (muiAreaData(obj)->mad_Box.Width) /* valid during MUIM_Draw */
3429 #define _height(obj) (muiAreaData(obj)->mad_Box.Height) /* valid during MUIM_Draw */
3430 #define _right(obj) (_left(obj)+_width(obj)-1) /* valid during MUIM_Draw */
3431 #define _bottom(obj) (_top(obj)+_height(obj)-1) /* valid during MUIM_Draw */
3432 #define _addleft(obj) (muiAreaData(obj)->mad_addleft ) /* valid during MUIM_Draw */
3433 #define _addtop(obj) (muiAreaData(obj)->mad_addtop ) /* valid during MUIM_Draw */
3434 #define _subwidth(obj) (muiAreaData(obj)->mad_subwidth ) /* valid during MUIM_Draw */
3435 #define _subheight(obj) (muiAreaData(obj)->mad_subheight) /* valid during MUIM_Draw */
3436 #define _mleft(obj) (_left(obj)+_addleft(obj)) /* valid during MUIM_Draw */
3437 #define _mtop(obj) (_top(obj)+_addtop(obj)) /* valid during MUIM_Draw */
3438 #define _mwidth(obj) (_width(obj)-_subwidth(obj)) /* valid during MUIM_Draw */
3439 #define _mheight(obj) (_height(obj)-_subheight(obj)) /* valid during MUIM_Draw */
3440 #define _mright(obj) (_mleft(obj)+_mwidth(obj)-1) /* valid during MUIM_Draw */
3441 #define _mbottom(obj) (_mtop(obj)+_mheight(obj)-1) /* valid during MUIM_Draw */
3442 #define _font(obj) (muiAreaData(obj)->mad_Font) /* valid between MUIM_Setup/Cleanup */
3443 #define _minwidth(obj) (muiAreaData(obj)->mad_MinMax.MinWidth) /* valid between MUIM_Show/Hide */
3444 #define _minheight(obj) (muiAreaData(obj)->mad_MinMax.MinHeight) /* valid between MUIM_Show/Hide */
3445 #define _maxwidth(obj) (muiAreaData(obj)->mad_MinMax.MaxWidth) /* valid between MUIM_Show/Hide */
3446 #define _maxheight(obj) (muiAreaData(obj)->mad_MinMax.MaxHeight) /* valid between MUIM_Show/Hide */
3447 #define _defwidth(obj) (muiAreaData(obj)->mad_MinMax.DefWidth) /* valid between MUIM_Show/Hide */
3448 #define _defheight(obj) (muiAreaData(obj)->mad_MinMax.DefHeight) /* valid between MUIM_Show/Hide */
3449 #define _flags(obj) (muiAreaData(obj)->mad_Flags)
3455 /* MUI_CustomClass returned by MUI_CreateCustomClass() */
3457 struct MUI_CustomClass
3459 APTR mcc_UserData
; /* use for whatever you want */
3461 struct Library
*mcc_UtilityBase
; /* MUI has opened these libraries */
3462 struct Library
*mcc_DOSBase
; /* for you automatically. You can */
3463 struct Library
*mcc_GfxBase
; /* use them or decide to open */
3464 struct Library
*mcc_IntuitionBase
; /* your libraries yourself. */
3466 struct IClass
*mcc_Super
; /* pointer to super class */
3467 struct IClass
*mcc_Class
; /* pointer to the new class */
3469 /* ... private data follows ... */