home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 1 / Mecomp-CD.iso / amiga / mui / amiga-e / modules / libraries / mui.e next >
Encoding:
Text File  |  1996-08-25  |  110.3 KB  |  2,694 lines

  1. /***************************************************************************
  2. **
  3. ** MUI - MagicUserInterface
  4. ** (c) 1993-1996 Stefan Stuntz
  5. **
  6. ** Main Header File
  7. **
  8. ** AmigaE Interface by Jan Hendrik Schulz
  9. **
  10. ** The comments are mostly taken unchanged from the original C mui.h file.
  11. ** Special comments made by me are with ->. See the guide for more infos
  12. ** about this file
  13. ** 
  14. ***************************************************************************/
  15.  
  16. OPT MODULE
  17. OPT EXPORT
  18. OPT PREPROCESS
  19.  
  20. MODULE 'exec/libraries', 'exec/lists', 'exec/nodes', 'exec/tasks',
  21.        'utility/hooks',
  22.        'graphics/rastport', 'graphics/text',
  23.        'intuition/intuition', 'intuition/screens', 'intuition/classes'
  24.  
  25. /***************************************************************************
  26. ** Class Tree
  27. ****************************************************************************
  28. **
  29. ** rootclass                   (BOOPSI's base class)
  30. ** +--Notify                   (implements notification mechanism)
  31. ** !  +--Family                (handles multiple children)
  32. ** !  !  +--Menustrip          (describes a complete menu strip)
  33. ** !  !  +--Menu               (describes a single menu)
  34. ** !  !  \--Menuitem           (describes a single menu item)
  35. ** !  +--Application           (main class for all applications)
  36. ** !  +--Window                (main class for all windows)
  37. ** !  !  \--Aboutmui           (About window of MUI preferences)
  38. ** !  +--Area                  (base class for all GUI elements)
  39. ** !     +--Rectangle          (spacing object)
  40. ** !     +--Balance            (balancing separator bar)
  41. ** !     +--Image              (image display)
  42. ** !     +--Bitmap             (draws bitmaps)
  43. ** !     !  \--Bodychunk       (makes bitmap from ILBM body chunk)
  44. ** !     +--Text               (text display)
  45. ** !     +--Gadget             (base class for intuition gadgets)
  46. ** !     !  +--String          (string gadget)
  47. ** !     !  +--Boopsi          (interface to BOOPSI gadgets)
  48. ** !     !  \--Prop            (proportional gadget)
  49. ** !     +--Gauge              (fule gauge)
  50. ** !     +--Scale              (percentage scale)
  51. ** !     +--Colorfield         (field with changeable color)
  52. ** !     +--List               (line-oriented list)
  53. ** !     !  +--Floattext       (special list with floating text)
  54. ** !     !  +--Volumelist      (special list with volumes)
  55. ** !     !  +--Scrmodelist     (special list with screen modes)
  56. ** !     !  \--Dirlist         (special list with files)
  57. ** !     +--Numeric            (base class for slider gadgets)
  58. ** !     !  +--Knob            (turning knob)
  59. ** !     !  +--Levelmeter      (level display)
  60. ** !     !  +--Numericbutton   (space saving popup slider)
  61. ** !     !  \--Slider          (traditional slider)
  62. ** !     +--Framedisplay       (private)
  63. ** !     !  \--Popframe        (private)
  64. ** !     +--Imagedisplay       (private)
  65. ** !     !  \--Popimage        (private)
  66. ** !     +--Pendisplay         (displays a pen specification)
  67. ** !     !  \--Poppen          (popup button to adjust a pen spec)
  68. ** !     +--Group              (groups other GUI elements)
  69. ** !        +--Mccprefs        (private)
  70. ** !        +--Register        (handles page groups with titles)
  71. ** !        !  \--Penadjust    (group to adjust a pen)
  72. ** !        +--Settingsgroup   (private)
  73. ** !        +--Settings        (private)
  74. ** !        +--Frameadjust     (private)
  75. ** !        +--Imageadjust     (private)
  76. ** !        +--Virtgroup       (handles virtual groups)
  77. ** !        +--Scrollgroup     (virtual groups with scrollbars)
  78. ** !        +--Scrollbar       (traditional scrollbar)
  79. ** !        +--Listview        (listview)
  80. ** !        +--Radio           (radio button)
  81. ** !        +--Cycle           (cycle gadget)
  82. ** !        +--Coloradjust     (several gadgets to adjust a color)
  83. ** !        +--Palette         (complete palette gadget)
  84. ** !        +--Popstring       (base class for popup objects)
  85. ** !           +--Popobject    (popup aynthing in a separate window)
  86. ** !           !  +--Poplist   (popup a simple listview)
  87. ** !           !  \--Popscreen (popup a list of public screens)
  88. ** !           \--Popasl       (popup an asl requester)
  89. ** +--Semaphore                (semaphore equipped objects)
  90. **    +--Applist               (private)
  91. **    +--Dataspace             (handles general purpose data spaces)
  92. **       \--Configdata         (private)
  93. **
  94. ****************************************************************************
  95. ** General Header File Information
  96. ****************************************************************************
  97. **
  98. ** All macro and structure definitions follow these rules:
  99. **
  100. ** Name                       Meaning
  101. **
  102. ** MUIC_<class>               Name of a class
  103. ** MUIM_<class>_<method>      Method
  104. ** MUIP_<class>_<method>      Methods parameter structure
  105. ** MUIV_<class>_<method>_<x>  Special method value
  106. ** MUIA_<class>_<attrib>      Attribute
  107. ** MUIV_<class>_<attrib>_<x>  Special attribute value
  108. ** MUIE_<error>               Error return code from MUI_Error()
  109. ** MUII_<name>                Standard MUI image
  110. ** MUIX_<code>                Control codes for text strings
  111. ** MUIO_<name>                Object type for MUI_MakeObject()
  112. **
  113. ** MUIA_... attribute definitions are followed by a comment
  114. ** consisting of the three possible letters I, S and G.
  115. ** I: it's possible to specify this attribute at object creation time.
  116. ** S: it's possible to change this attribute with SetAttrs().
  117. ** G: it's possible to get this attribute with GetAttr().
  118. **
  119. ** Items marked with "Custom Class" are for use in custom classes only!
  120. */
  121.  
  122.  
  123. /***************************************************************************
  124. ** Library specification
  125. ***************************************************************************/
  126.  
  127. #define MUIMASTER_NAME 'muimaster.library'
  128. CONST MUIMASTER_VMIN = 11
  129. CONST MUIMASTER_VLATEST = 17
  130. CONST MUI_TRUE = 1
  131.  
  132. /*
  133. ** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  134. ** Warning, some of the macros in this header file work only with
  135. ** muimaster.library V11 and above. If you recompile your programs,
  136. ** be sure to open muimaster.library with MUIMASTER_VMIN as version number.
  137. ** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  138. */
  139.  
  140. #define MUI_OBSOLETE /* include obsolete identifiers */
  141.  
  142.  
  143.  
  144. /*************************************************************************
  145. ** Config items for MUIM_GetConfigItem
  146. *************************************************************************/
  147.  
  148.  
  149. CONST MUICFG_PublicScreen          = 36
  150.  
  151.  
  152.  
  153.  
  154. /*************************************************************************
  155. ** Black box specification structures for images, pens, frames
  156. *************************************************************************/
  157.  
  158. OBJECT mui_penspec
  159.     buf[32]:ARRAY OF CHAR
  160. ENDOBJECT
  161.  
  162.  
  163.  
  164. /*************************************************************************
  165. ** Public Screen Stuff
  166. *************************************************************************/
  167.  
  168. /*
  169. ** NOTE: This stuff is only included to allow compilation of the supplied
  170. **       public screen manager for educational purposes. Everything
  171. **       here is subject to change without notice and I guarantee to
  172. **       do that just for fun!
  173. **       More info can be found in the screen manager source file.
  174. */
  175.  
  176. -> NOTE: The following may be useless in E, because I didn't translated the
  177. ->       above mentioned source to E, but to get a complete translation of
  178. ->       the original mui.h file, I didn't removed it...
  179.  
  180. #define PSD_INITIAL_NAME   '(unnamed)'
  181. #define PSD_INITIAL_TITLE  'MUI Public Screen'
  182. #define PSD_ID_MPUB        "MPUB"
  183.  
  184. #define PSD_NAME_FRONTMOST '<<Frontmost>>'
  185.  
  186. #define PSD_FILENAME_SAVE 'envarc:mui/PublicScreens.iff'
  187. #define PSD_FILENAME_USE  'env:mui/PublicScreens.iff'
  188.  
  189. CONST PSD_MAXLEN_NAME       =  32
  190. CONST PSD_MAXLEN_TITLE      = 128
  191. CONST PSD_MAXLEN_FONT       =  48
  192. CONST PSD_MAXLEN_BACKGROUND = 256
  193. CONST PSD_NUMCOLS           =   8
  194. CONST PSD_MAXSYSPENS        =  20
  195. CONST PSD_NUMSYSPENS        =  12
  196. CONST PSD_MAXMUIPENS        =  10
  197. CONST PSD_NUMMUIPENS        =   8 -> 8=MPEN_COUNT
  198.  
  199. OBJECT mui_rgbcolor
  200.     red   :LONG
  201.     green :LONG
  202.     blue  :LONG
  203. ENDOBJECT
  204.  
  205. OBJECT mui_pubscreendesc
  206.     version:LONG
  207.  
  208.     name[PSD_MAXLEN_NAME]            :ARRAY OF CHAR
  209.     title[PSD_MAXLEN_TITLE]          :ARRAY OF CHAR
  210.     font[PSD_MAXLEN_FONT]            :ARRAY OF CHAR
  211.     background[PSD_MAXLEN_BACKGROUND]:ARRAY OF CHAR
  212.  
  213.     displayid:LONG
  214.  
  215.     displaywidth :INT
  216.     displayheight:INT
  217.  
  218.     displaydepth   :CHAR
  219.     overscantype   :CHAR
  220.     autoscroll     :CHAR
  221.     nodrag         :CHAR
  222.     exclusive      :CHAR
  223.     interleaved    :CHAR
  224.     sysdefault     :CHAR
  225.     behind         :CHAR
  226.     autoclose      :CHAR
  227.     closegadget    :CHAR
  228.     dummywasforeign:CHAR
  229.  
  230.     systempens[PSD_MAXSYSPENS]:ARRAY OF CHAR
  231.     reserved[9]:ARRAY OF CHAR
  232.  
  233.     palette[PSD_NUMCOLS]:ARRAY OF mui_rgbcolor
  234.     rsvd[12]:ARRAY OF mui_rgbcolor
  235.     
  236.     rsvd2[PSD_MAXMUIPENS]:ARRAY OF mui_penspec
  237.  
  238.     changed :LONG
  239.     userdata:LONG
  240. ENDOBJECT
  241.  
  242. OBJECT muis_infoclient
  243.     node  :mln
  244.     task  :PTR TO tc
  245.     sigbit:LONG
  246. ENDOBJECT
  247.  
  248.  
  249. /***************************************************************************
  250. ** Object Types for MUI_MakeObject()
  251. ***************************************************************************/
  252.  
  253. CONST MUIO_Label         =  1   /* STRPTR label, ULONG flags */
  254. CONST MUIO_Button        =  2   /* STRPTR label */
  255. CONST MUIO_Checkmark     =  3   /* STRPTR label */
  256. CONST MUIO_Cycle         =  4   /* STRPTR label, STRPTR *entries */
  257. CONST MUIO_Radio         =  5   /* STRPTR label, STRPTR *entries */
  258. CONST MUIO_Slider        =  6   /* STRPTR label, LONG min, LONG max */
  259. CONST MUIO_String        =  7   /* STRPTR label, LONG maxlen */
  260. CONST MUIO_PopButton     =  8   /* STRPTR imagespec */
  261. CONST MUIO_HSpace        =  9   /* LONG space   */
  262. CONST MUIO_VSpace        = 10   /* LONG space   */
  263. CONST MUIO_HBar          = 11   /* LONG space   */
  264. CONST MUIO_VBar          = 12   /* LONG space   */
  265. CONST MUIO_MenustripNM   = 13   /* struct NewMenu *nm, ULONG flags */
  266. CONST MUIO_Menuitem      = 14   /* STRPTR label, STRPTR shortcut, ULONG flags, ULONG data  */
  267. CONST MUIO_BarTitle      = 15   /* STRPTR label */
  268. CONST MUIO_NumericButton = 16   /* STRPTR label, LONG min, LONG max, STRPTR format */
  269.  
  270. CONST MUIO_Menuitem_CopyStrings = $40000000
  271.  
  272. CONST MUIO_Label_SingleFrame  =  256
  273. CONST MUIO_Label_DoubleFrame  =  512
  274. CONST MUIO_Label_LeftAligned  = 1024
  275. CONST MUIO_Label_Centered     = 2048
  276. CONST MUIO_Label_FreeVert     = 4096
  277.  
  278. CONST MUIO_MenustripNM_CommandKeyCheck = 1 /* check for "localized" menu items such as "O\0Open" */
  279.  
  280. /***************************************************************************
  281. ** ARexx Interface
  282. ***************************************************************************/
  283.  
  284. OBJECT mui_command
  285.     mc_name       :PTR TO CHAR
  286.     mc_template   :PTR TO CHAR
  287.     mc_parameters :LONG
  288.     mc_hook       :PTR TO hook
  289.     mc_reserved[5]:ARRAY OF LONG
  290. ENDOBJECT
  291.  
  292. CONST MC_TEMPLATE_ID = -1
  293.  
  294. CONST MUI_RXERR_BADDEFINITION  = -1
  295. CONST MUI_RXERR_OUTOFMEMORY    = -2
  296. CONST MUI_RXERR_UNKNOWNCOMMAND = -3
  297. CONST MUI_RXERR_BADSYNTAX      = -4
  298.  
  299.  
  300. /***************************************************************************
  301. ** Return values for MUI_Error()
  302. ***************************************************************************/
  303.  
  304. CONST MUIE_OK                  = 0
  305. CONST MUIE_OutOfMemory         = 1
  306. CONST MUIE_OutOfGfxMemory      = 2
  307. CONST MUIE_InvalidWindowObject = 3
  308. CONST MUIE_MissingLibrary      = 4
  309. CONST MUIE_NoARexx             = 5
  310. CONST MUIE_SingleTask          = 6
  311.  
  312.  
  313.  
  314. /***************************************************************************
  315. ** Standard MUI Images & Backgrounds
  316. ***************************************************************************/
  317.  
  318. CONST MUII_WindowBack    =  0   /* These images are configured   */
  319. CONST MUII_RequesterBack =  1   /* with the preferences program. */
  320. CONST MUII_ButtonBack    =  2
  321. CONST MUII_ListBack      =  3
  322. CONST MUII_TextBack      =  4
  323. CONST MUII_PropBack      =  5
  324. CONST MUII_PopupBack     =  6
  325. CONST MUII_SelectedBack  =  7
  326. CONST MUII_ListCursor    =  8
  327. CONST MUII_ListSelect    =  9
  328. CONST MUII_ListSelCur    = 10
  329. CONST MUII_ArrowUp       = 11
  330. CONST MUII_ArrowDown     = 12
  331. CONST MUII_ArrowLeft     = 13
  332. CONST MUII_ArrowRight    = 14
  333. CONST MUII_CheckMark     = 15
  334. CONST MUII_RadioButton   = 16
  335. CONST MUII_Cycle         = 17
  336. CONST MUII_PopUp         = 18
  337. CONST MUII_PopFile       = 19
  338. CONST MUII_PopDrawer     = 20
  339. CONST MUII_PropKnob      = 21
  340. CONST MUII_Drawer        = 22
  341. CONST MUII_HardDisk      = 23
  342. CONST MUII_Disk          = 24
  343. CONST MUII_Chip          = 25
  344. CONST MUII_Volume        = 26
  345. CONST MUII_RegisterBack  = 27
  346. CONST MUII_Network       = 28
  347. CONST MUII_Assign        = 29
  348. CONST MUII_TapePlay      = 30
  349. CONST MUII_TapePlayBack  = 31
  350. CONST MUII_TapePause     = 32
  351. CONST MUII_TapeStop      = 33
  352. CONST MUII_TapeRecord    = 34
  353. CONST MUII_GroupBack     = 35
  354. CONST MUII_SliderBack    = 36
  355. CONST MUII_SliderKnob    = 37
  356. CONST MUII_TapeUp        = 38
  357. CONST MUII_TapeDown      = 39
  358. CONST MUII_PageBack      = 40
  359. CONST MUII_ReadListBack  = 41
  360. CONST MUII_Count         = 42
  361.  
  362. CONST MUII_BACKGROUND     = 128    /* These are direct color    */
  363. CONST MUII_SHADOW         = 129    /* combinations and are not  */
  364. CONST MUII_SHINE          = 130    /* affected by users prefs.  */
  365. CONST MUII_FILL           = 131
  366. CONST MUII_SHADOWBACK     = 132    /* Generally, you should     */
  367. CONST MUII_SHADOWFILL     = 133    /* avoid using them. Better  */
  368. CONST MUII_SHADOWSHINE    = 134    /* use one of the customized */
  369. CONST MUII_FILLBACK       = 135    /* images above.             */
  370. CONST MUII_FILLSHINE      = 136
  371. CONST MUII_SHINEBACK      = 137
  372. CONST MUII_FILLBACK2      = 138
  373. CONST MUII_HSHINEBACK     = 139
  374. CONST MUII_HSHADOWBACK    = 140
  375. CONST MUII_HSHINESHINE    = 141
  376. CONST MUII_HSHADOWSHADOW  = 142
  377. CONST MUII_MARKSHINE      = 143
  378. CONST MUII_MARKHALFSHINE  = 144
  379. CONST MUII_MARKBACKGROUND = 145
  380. CONST MUII_LASTPAT        = 145
  381.  
  382.  
  383.  
  384. /***************************************************************************
  385. ** Special values for some methods
  386. ***************************************************************************/
  387.  
  388. CONST MUIV_TriggerValue    = $49893131
  389. CONST MUIV_NotTriggerValue = $49893133
  390. CONST MUIV_EveryTime       = $49893131
  391.  
  392. CONST MUIV_Notify_Self        = 1
  393. CONST MUIV_Notify_Window      = 2
  394. CONST MUIV_Notify_Application = 3
  395. CONST MUIV_Notify_Parent      = 4
  396.  
  397. CONST MUIV_Application_Save_ENV     =  0
  398. CONST MUIV_Application_Save_ENVARC  = -1
  399. CONST MUIV_Application_Load_ENV     =  0
  400. CONST MUIV_Application_Load_ENVARC  = -1
  401.  
  402. CONST MUIV_Application_ReturnID_Quit = -1
  403.  
  404. CONST MUIV_List_Insert_Top           =  0
  405. CONST MUIV_List_Insert_Active        = -1
  406. CONST MUIV_List_Insert_Sorted        = -2
  407. CONST MUIV_List_Insert_Bottom        = -3
  408.  
  409. CONST MUIV_List_Remove_First         =  0
  410. CONST MUIV_List_Remove_Active        = -1
  411. CONST MUIV_List_Remove_Last          = -2
  412. CONST MUIV_List_Remove_Selected      = -3
  413.  
  414. CONST MUIV_List_Select_Off           =  0
  415. CONST MUIV_List_Select_On            =  1
  416. CONST MUIV_List_Select_Toggle        =  2
  417. CONST MUIV_List_Select_Ask           =  3
  418.  
  419. CONST MUIV_List_GetEntry_Active      = -1
  420. CONST MUIV_List_Select_Active        = -1
  421. CONST MUIV_List_Select_All           = -2
  422.  
  423. CONST MUIV_List_Redraw_Active        = -1
  424. CONST MUIV_List_Redraw_All           = -2
  425.  
  426. CONST MUIV_List_Move_Top             =  0
  427. CONST MUIV_List_Move_Active          = -1
  428. CONST MUIV_List_Move_Bottom          = -2
  429. CONST MUIV_List_Move_Next            = -3 /* only valid for second parameter */
  430. CONST MUIV_List_Move_Previous        = -4 /* only valid for second parameter */
  431.  
  432. CONST MUIV_List_Exchange_Top         =  0
  433. CONST MUIV_List_Exchange_Active      = -1
  434. CONST MUIV_List_Exchange_Bottom      = -2
  435. CONST MUIV_List_Exchange_Next        = -3 /* only valid for second parameter */
  436. CONST MUIV_List_Exchange_Previous    = -4 /* only valid for second parameter */
  437.  
  438. CONST MUIV_List_Jump_Top             =  0
  439. CONST MUIV_List_Jump_Active          = -1
  440. CONST MUIV_List_Jump_Bottom          = -2
  441. CONST MUIV_List_Jump_Up              = -4
  442. CONST MUIV_List_Jump_Down            = -3
  443.  
  444. CONST MUIV_List_NextSelected_Start   = -1
  445. CONST MUIV_List_NextSelected_End     = -1
  446.  
  447. CONST MUIV_DragQuery_Refuse = 0
  448. CONST MUIV_DragQuery_Accept = 1
  449.  
  450. CONST MUIV_DragReport_Abort    = 0
  451. CONST MUIV_DragReport_Continue = 1
  452. CONST MUIV_DragReport_Lock     = 2
  453. CONST MUIV_DragReport_Refresh  = 3
  454.  
  455.  
  456.  
  457. /***************************************************************************
  458. ** Control codes for text strings
  459. ***************************************************************************/
  460.  
  461. #define MUIX_R '\er'    /* right justified */
  462. #define MUIX_C '\ec'    /* centered        */
  463. #define MUIX_L '\el'    /* left justified  */
  464.  
  465. #define MUIX_N '\en'    /* normal     */
  466. #define MUIX_B '\eb'    /* bold       */
  467. #define MUIX_I '\ei'    /* italic     */
  468. #define MUIX_U '\eu'    /* underlined */
  469.  
  470. #define MUIX_PT '\e2'   /* text pen           */
  471. #define MUIX_PH '\e8'   /* highlight text pen */
  472.  
  473.  
  474.  
  475. /***************************************************************************
  476. ** Parameter structures for some classes
  477. ***************************************************************************/
  478.  
  479. OBJECT mui_palette_entry
  480.     mpe_id    :LONG
  481.     mpe_red   :LONG
  482.     mpe_green :LONG
  483.     mpe_blue  :LONG
  484.     mpe_group :LONG
  485. ENDOBJECT
  486.  
  487. CONST MUIV_Palette_Entry_End = -1
  488.  
  489.  
  490. -> The next 2 OBJECTs are in C only one struct, but the struct uses a
  491. -> union which isn't available in E. So I created 2 OBJECTs.
  492.  
  493. OBJECT mui_inputhandlernode
  494.     ihn_node    :mln
  495.     ihn_object  :LONG
  496.     ihn_signals :LONG  -> In C this is ihn_stuff.ihn_sigs
  497.     ihn_flags   :LONG  /* see below */
  498.     ihn_method  :LONG
  499. ENDOBJECT
  500.  
  501. OBJECT mui_inputhandlernode_timer
  502.     ihn_node    :mln
  503.     ihn_object  :LONG
  504.     ihn_millis  :INT  -> In C this is ihn_stuff.ihn_timer.ihn_millis
  505.     ihn_current :INT  -> In C this is ihn_stuff.ihn_timer.ihn_current
  506.     ihn_flags   :LONG  /* see below */
  507.     ihn_method  :LONG
  508. ENDOBJECT
  509.  
  510. /* Flags for ihn_flags */
  511.  
  512. CONST MUIIHNF_TIMER =1 /* set ihn_Ticks to number of 1/100 sec ticks you want to be triggered */
  513.  
  514.  
  515. /************************/
  516. /* Window Event Handler */
  517. /************************/
  518.  
  519. OBJECT mui_eventhandlernode
  520.     ehn_node     :mln
  521.     ehn_reserved :CHAR           /* don't touch! */
  522.     ehn_priority :CHAR           /* event handlers are inserted according to their priority. */
  523.     ehn_flags    :INT            /* certain flags, see below for definitions. */
  524.     ehn_object   :LONG           /* object which should receive MUIM_HandleEvent. */
  525.     ehn_class    :PTR TO iclass  /* if !=NULL, MUIM_HandleEvent is invoked on exactly this class with CoerceMethod(). */
  526.     ehn_events   :LONG           /* one or more IDCMP flags this handler should react on. */
  527. ENDOBJECT
  528.  
  529. /* flags for ehn_flags */
  530. CONST MUI_EHF_ALWAYSKEYS = 1
  531.  
  532. /* other values reserved for future use */
  533.  
  534. /* return values for MUIM_HandleEvent (bit-masked, all other bits must be 0) */
  535. CONST MUI_EventHandlerRC_Eat = 1  /* stop MUI from calling other handlers */
  536.  
  537.  
  538. /**********************/
  539. /* List Position Test */
  540. /**********************/
  541.  
  542. OBJECT mui_list_testpos_result
  543.     entry   :LONG  /* number of entry, -1 if mouse not over valid entry */
  544.     column  :INT   /* numer of column, -1 if no valid column */
  545.     flags   :INT   /* see below */
  546.     xoffset :INT   /* x offset of mouse click relative to column start */
  547.     yoffset :INT   /* y offset of mouse click from center of line 
  548.                      (negative values mean click was above center,
  549.                       positive values mean click was below center) */
  550. ENDOBJECT
  551.  
  552. CONST MUI_LPR_ABOVE  = 1
  553. CONST MUI_LPR_BELOW  = 2
  554. CONST MUI_LPR_LEFT   = 4
  555. CONST MUI_LPR_RIGHT  = 8
  556.  
  557. /***************************************************************************
  558. **
  559. ** Macro Section
  560. ** -------------
  561. **
  562. ** To make GUI creation more easy and understandable, you can use the
  563. ** macros below. If you dont want, just define MUI_NOSHORTCUTS to disable
  564. ** them.
  565. **
  566. ***************************************************************************/
  567.  
  568. #ifndef MUI_NOSHORTCUTS
  569.  
  570. /***************************************************************************
  571. **
  572. ** Object Generation
  573. ** -----------------
  574. **
  575. ** The xxxObject (and xChilds) macros generate new instances of MUI classes.
  576. ** Every xxxObject can be followed by tagitems specifying initial create
  577. ** time attributes for the new object and must be terminated with the
  578. ** End macro:
  579. **
  580. ** obj = StringObject,
  581. **          MUIA_String_Contents, 'foo',
  582. **          MUIA_String_MaxLen  , 40,
  583. **          End
  584. **
  585. ** With the Child, SubWindow and WindowContents shortcuts you can
  586. ** construct a complete GUI within one command:
  587. **
  588. ** app = ApplicationObject,
  589. **
  590. **          ...
  591. **
  592. **          SubWindow, WindowObject,
  593. **             WindowContents, VGroup,
  594. **                Child, String('foo',40),
  595. **                Child, String('bar',50),
  596. **                Child, HGroup,
  597. **                   Child, CheckMark(MUI_TRUE),
  598. **                   Child, CheckMark(FALSE),
  599. **                   End,
  600. **                End,
  601. **             End,
  602. **
  603. **          SubWindow, WindowObject,
  604. **             WindowContents, HGroup,
  605. **                Child, ...,
  606. **                Child, ...,
  607. **                End,
  608. **             End,
  609. **
  610. **          ...
  611. **
  612. **          End
  613. **
  614. ***************************************************************************/
  615.  
  616. #define MenustripObject      Mui_NewObjectA(MUIC_Menustrip,[TAG_IGNORE,0
  617. #define MenuObject           Mui_NewObjectA(MUIC_Menu,[TAG_IGNORE,0
  618. #define MenuObjectT(name)    Mui_NewObjectA(MUIC_Menu,[MUIA_Menu_Title,name
  619. #define MenuitemObject       Mui_NewObjectA(MUIC_Menuitem,[TAG_IGNORE,0
  620. #define WindowObject         Mui_NewObjectA(MUIC_Window,[TAG_IGNORE,0
  621. #define ImageObject          Mui_NewObjectA(MUIC_Image,[TAG_IGNORE,0
  622. #define BitmapObject         Mui_NewObjectA(MUIC_Bitmap,[TAG_IGNORE,0
  623. #define BodychunkObject      Mui_NewObjectA(MUIC_Bodychunk,[TAG_IGNORE,0
  624. #define NotifyObject         Mui_NewObjectA(MUIC_Notify,[TAG_IGNORE,0
  625. #define ApplicationObject    Mui_NewObjectA(MUIC_Application,[TAG_IGNORE,0
  626. #define TextObject           Mui_NewObjectA(MUIC_Text,[TAG_IGNORE,0
  627. #define RectangleObject      Mui_NewObjectA(MUIC_Rectangle,[TAG_IGNORE,0
  628. #define BalanceObject        Mui_NewObjectA(MUIC_Balance,[TAG_IGNORE,0
  629. #define ListObject           Mui_NewObjectA(MUIC_List,[TAG_IGNORE,0
  630. #define PropObject           Mui_NewObjectA(MUIC_Prop,[TAG_IGNORE,0
  631. #define StringObject         Mui_NewObjectA(MUIC_String,[TAG_IGNORE,0
  632. #define ScrollbarObject      Mui_NewObjectA(MUIC_Scrollbar,[TAG_IGNORE,0
  633. #define ListviewObject       Mui_NewObjectA(MUIC_Listview,[TAG_IGNORE,0
  634. #define RadioObject          Mui_NewObjectA(MUIC_Radio,[TAG_IGNORE,0
  635. #define VolumelistObject     Mui_NewObjectA(MUIC_Volumelist,[TAG_IGNORE,0
  636. #define FloattextObject      Mui_NewObjectA(MUIC_Floattext,[TAG_IGNORE,0
  637. #define DirlistObject        Mui_NewObjectA(MUIC_Dirlist,[TAG_IGNORE,0
  638. #define SliderObject         Mui_NewObjectA(MUIC_Slider,[TAG_IGNORE,0
  639. #define CycleObject          Mui_NewObjectA(MUIC_Cycle,[TAG_IGNORE,0
  640. #define GaugeObject          Mui_NewObjectA(MUIC_Gauge,[TAG_IGNORE,0
  641. #define ScaleObject          Mui_NewObjectA(MUIC_Scale,[TAG_IGNORE,0
  642. #define NumericObject        Mui_NewObjectA(MUIC_Numeric,[TAG_IGNORE,0
  643. #define NumericbuttonObject  Mui_NewObjectA(MUIC_Numericbutton,[TAG_IGNORE,0
  644. #define KnobObject           Mui_NewObjectA(MUIC_Knob,[TAG_IGNORE,0
  645. #define LevelmeterObject     Mui_NewObjectA(MUIC_Levelmeter,[TAG_IGNORE,0
  646. #define BoopsiObject         Mui_NewObjectA(MUIC_Boopsi,[TAG_IGNORE,0
  647. #define ColorfieldObject     Mui_NewObjectA(MUIC_Colorfield,[TAG_IGNORE,0
  648. #define PenadjustObject      Mui_NewObjectA(MUIC_Penadjust,[TAG_IGNORE,0
  649. #define ColoradjustObject    Mui_NewObjectA(MUIC_Coloradjust,[TAG_IGNORE,0
  650. #define PaletteObject        Mui_NewObjectA(MUIC_Palette,[TAG_IGNORE,0
  651. #define GroupObject          Mui_NewObjectA(MUIC_Group,[TAG_IGNORE,0
  652. #define RegisterObject       Mui_NewObjectA(MUIC_Register,[TAG_IGNORE,0
  653. #define VirtgroupObject      Mui_NewObjectA(MUIC_Virtgroup,[TAG_IGNORE,0
  654. #define ScrollgroupObject    Mui_NewObjectA(MUIC_Scrollgroup,[TAG_IGNORE,0
  655. #define PopstringObject      Mui_NewObjectA(MUIC_Popstring,[TAG_IGNORE,0
  656. #define PopobjectObject      Mui_NewObjectA(MUIC_Popobject,[TAG_IGNORE,0
  657. #define PoplistObject        Mui_NewObjectA(MUIC_Poplist,[TAG_IGNORE,0
  658. #define PopaslObject         Mui_NewObjectA(MUIC_Popasl,[TAG_IGNORE,0
  659. #define PendisplayObject     Mui_NewObjectA(MUIC_Pendisplay,[TAG_IGNORE,0
  660. #define PoppenObject         Mui_NewObjectA(MUIC_Poppen,[TAG_IGNORE,0
  661. #define AboutmuiObject       Mui_NewObjectA(MUIC_Aboutmui,[TAG_IGNORE,0
  662. #define ScrmodelistObject    Mui_NewObjectA(MUIC_Scrmodelist,[TAG_IGNORE,0
  663. #define KeyentryObject       Mui_NewObjectA(MUIC_Keyentry,[TAG_IGNORE,0
  664. #define VGroup               Mui_NewObjectA(MUIC_Group,[TAG_IGNORE,0
  665. #define HGroup               Mui_NewObjectA(MUIC_Group,[MUIA_Group_Horiz,MUI_TRUE
  666. #define ColGroup(cols)       Mui_NewObjectA(MUIC_Group,[MUIA_Group_Columns,(cols)
  667. #define RowGroup(rows)       Mui_NewObjectA(MUIC_Group,[MUIA_Group_Rows   ,(rows)
  668. #define PageGroup            Mui_NewObjectA(MUIC_Group,[MUIA_Group_PageMode,MUI_TRUE
  669. #define VGroupV              Mui_NewObjectA(MUIC_Virtgroup,[TAG_IGNORE,0
  670. #define HGroupV              Mui_NewObjectA(MUIC_Virtgroup,[MUIA_Group_Horiz,MUI_TRUE
  671. #define ColGroupV(cols)      Mui_NewObjectA(MUIC_Virtgroup,[MUIA_Group_Columns,(cols)
  672. #define RowGroupV(rows)      Mui_NewObjectA(MUIC_Virtgroup,[MUIA_Group_Rows   ,(rows)
  673. #define PageGroupV           Mui_NewObjectA(MUIC_Virtgroup,[MUIA_Group_PageMode,MUI_TRUE
  674. #define RegisterGroup(t)     Mui_NewObjectA(MUIC_Register,[MUIA_Register_Titles,(t)
  675. #define End                  TAG_DONE])
  676.  
  677. #define Child             MUIA_Group_Child
  678. #define SubWindow         MUIA_Application_Window
  679. #define WindowContents    MUIA_Window_RootObject
  680.  
  681.  
  682.  
  683. /***************************************************************************
  684. **
  685. ** Frame Types
  686. ** -----------
  687. **
  688. ** These macros may be used to specify one of MUI's different frame types.
  689. ** Note that every macro consists of one { ti_Tag, ti_Data } pair.
  690. **
  691. ** GroupFrameT() is a special kind of frame that contains a centered
  692. ** title text.
  693. **
  694. ** HGroup, GroupFrameT('Horiz Groups'),
  695. **    Child, RectangleObject, TextFrame  , End,
  696. **    Child, RectangleObject, StringFrame, End,
  697. **    Child, RectangleObject, ButtonFrame, End,
  698. **    Child, RectangleObject, ListFrame  , End,
  699. **    End,
  700. **
  701. ***************************************************************************/
  702.  
  703. #define NoFrame          MUIA_Frame, MUIV_Frame_None
  704. #define ButtonFrame      MUIA_Frame, MUIV_Frame_Button
  705. #define ImageButtonFrame MUIA_Frame, MUIV_Frame_ImageButton
  706. #define TextFrame        MUIA_Frame, MUIV_Frame_Text
  707. #define StringFrame      MUIA_Frame, MUIV_Frame_String
  708. #define ReadListFrame    MUIA_Frame, MUIV_Frame_ReadList
  709. #define InputListFrame   MUIA_Frame, MUIV_Frame_InputList
  710. #define PropFrame        MUIA_Frame, MUIV_Frame_Prop
  711. #define SliderFrame      MUIA_Frame, MUIV_Frame_Slider
  712. #define GaugeFrame       MUIA_Frame, MUIV_Frame_Gauge
  713. #define VirtualFrame     MUIA_Frame, MUIV_Frame_Virtual
  714. #define GroupFrame       MUIA_Frame, MUIV_Frame_Group
  715. #define GroupFrameT(s)   MUIA_Frame, MUIV_Frame_Group, MUIA_FrameTitle, s
  716.  
  717.  
  718.  
  719. /***************************************************************************
  720. **
  721. ** Spacing Macros
  722. ** --------------
  723. **
  724. ***************************************************************************/
  725.  
  726. #define HVSpace           Mui_NewObjectA(MUIC_Rectangle,[TAG_DONE])
  727. #define HSpace(x)         Mui_MakeObjectA(MUIO_HSpace,[x])
  728. #define VSpace(x)         Mui_MakeObjectA(MUIO_VSpace,[x])
  729. #define HCenter(obj)      HGroup, GroupSpacing(0), Child, HSpace(0), Child, (obj), Child, HSpace(0), End
  730. #define VCenter(obj)      VGroup, GroupSpacing(0), Child, VSpace(0), Child, (obj), Child, VSpace(0), End
  731. #define InnerSpacing(h,v) MUIA_InnerLeft,(h),MUIA_InnerRight,(h),MUIA_InnerTop,(v),MUIA_InnerBottom,(v)
  732. #define GroupSpacing(x)   MUIA_Group_Spacing,x
  733.  
  734.  
  735.  
  736. #ifdef MUI_OBSOLETE
  737.  
  738. /***************************************************************************
  739. **
  740. ** String-Object
  741. ** -------------
  742. **
  743. ** The following macro creates a simple string gadget.
  744. **
  745. ***************************************************************************/
  746.  
  747. #define StringMUI(contents,maxlen)\
  748.         StringObject,\
  749.                 StringFrame,\
  750.                 MUIA_String_MaxLen  , maxlen,\
  751.                 MUIA_String_Contents, contents,\
  752.                 End
  753.  
  754. #define KeyString(contents,maxlen,controlchar)\
  755.         StringObject,\
  756.                 StringFrame,\
  757.                 MUIA_ControlChar    , controlchar,\
  758.                 MUIA_String_MaxLen  , maxlen,\
  759.                 MUIA_String_Contents, contents,\
  760.                 End
  761.  
  762. #endif
  763.  
  764.  
  765.  
  766. #ifdef MUI_OBSOLETE
  767.  
  768. /***************************************************************************
  769. **
  770. ** CheckMark-Object
  771. ** ----------------
  772. **
  773. ** The following macro creates a checkmark gadget.
  774. **
  775. ***************************************************************************/
  776.  
  777. #define CheckMark(selected)\
  778.         ImageObject,\
  779.                 ImageButtonFrame,\
  780.                 MUIA_InputMode        , MUIV_InputMode_Toggle,\
  781.                 MUIA_Image_Spec       , MUII_CheckMark,\
  782.                 MUIA_Image_FreeVert   , MUI_TRUE,\
  783.                 MUIA_Selected         , selected,\
  784.                 MUIA_Background       , MUII_ButtonBack,\
  785.                 MUIA_ShowSelState     , FALSE,\
  786.                 End
  787.  
  788. #define KeyCheckMark(selected,control)\
  789.         ImageObject,\
  790.                 ImageButtonFrame,\
  791.                 MUIA_InputMode        , MUIV_InputMode_Toggle,\
  792.                 MUIA_Image_Spec       , MUII_CheckMark,\
  793.                 MUIA_Image_FreeVert   , MUI_TRUE,\
  794.                 MUIA_Selected         , selected,\
  795.                 MUIA_Background       , MUII_ButtonBack,\
  796.                 MUIA_ShowSelState     , FALSE,\
  797.                 MUIA_ControlChar      , control,\
  798.                 End
  799.  
  800. #endif
  801.  
  802.  
  803. /***************************************************************************
  804. **
  805. ** Button-Objects
  806. ** --------------
  807. **
  808. ** Note: Use small letters for KeyButtons, e.g.
  809. **       KeyButton("Cancel",'c')  and not  KeyButton("Cancel",'C') !!
  810. **
  811. ***************************************************************************/
  812.  
  813. #define SimpleButton(label) Mui_MakeObjectA(MUIO_Button,[label])
  814.  
  815. #ifdef MUI_OBSOLETE
  816.  
  817. #define KeyButton(name,key)\
  818.         TextObject,\
  819.                 ButtonFrame,\
  820.                 MUIA_Text_Contents, name,\
  821.                 MUIA_Text_PreParse, '\ec',\
  822.                 MUIA_Text_HiChar  , key,\
  823.                 MUIA_ControlChar  , key,\
  824.                 MUIA_InputMode    , MUIV_InputMode_RelVerify,\
  825.                 MUIA_Background   , MUII_ButtonBack,\
  826.                 End
  827.  
  828. #endif
  829.  
  830.  
  831. #ifdef MUI_OBSOLETE
  832.  
  833. /***************************************************************************
  834. **
  835. ** Cycle-Object
  836. ** ------------
  837. **
  838. ***************************************************************************/
  839.  
  840. #define Cycle(entries)        CycleObject, MUIA_Cycle_Entries, entries, End
  841. #define KeyCycle(entries,key) CycleObject, MUIA_Cycle_Entries, entries, MUIA_ControlChar, key, End
  842.  
  843.  
  844.  
  845. /***************************************************************************
  846. **
  847. ** Radio-Object
  848. ** ------------
  849. **
  850. ***************************************************************************/
  851.  
  852. #define Radio(name,array)\
  853.         RadioObject,\
  854.                 GroupFrameT(name),\
  855.                 MUIA_Radio_Entries,array,\
  856.                 End
  857.  
  858. #define KeyRadio(name,array,key)\
  859.         RadioObject,\
  860.                 GroupFrameT(name),\
  861.                 MUIA_Radio_Entries,array,\
  862.                 MUIA_ControlChar, key,\
  863.                 End
  864.  
  865.  
  866.  
  867. /***************************************************************************
  868. **
  869. ** Slider-Object
  870. ** -------------
  871. **
  872. ***************************************************************************/
  873.  
  874.  
  875. #define Slider(min,max,level)\
  876.         SliderObject,\
  877.                 MUIA_Slider_Min  , min,\
  878.                 MUIA_Slider_Max  , max,\
  879.                 MUIA_Slider_Level, level,\
  880.                 End
  881.  
  882. #define KeySlider(min,max,level,key)\
  883.         SliderObject,\
  884.                 MUIA_Slider_Min  , min,\
  885.                 MUIA_Slider_Max  , max,\
  886.                 MUIA_Slider_Level, level,\
  887.                 MUIA_ControlChar , key,\
  888.                 End
  889.  
  890. #endif
  891.  
  892.  
  893.  
  894. /***************************************************************************
  895. **
  896. ** Button to be used for popup objects
  897. **
  898. ***************************************************************************/
  899.  
  900. #define PopButton(img) Mui_MakeObjectA(MUIO_PopButton,[img])
  901.  
  902.  
  903.  
  904. /***************************************************************************
  905. **
  906. ** Labeling Objects
  907. ** ----------------
  908. **
  909. ** Labeling objects, e.g. a group of string gadgets,
  910. **
  911. **   Small: |foo   |
  912. **  Normal: |bar   |
  913. **     Big: |foobar|
  914. **    Huge: |barfoo|
  915. **
  916. ** is done using a 2 column group:
  917. **
  918. ** ColGroup(2),
  919. **      Child, Label2('Small:' ),
  920. **    Child, StringObject, End,
  921. **      Child, Label2('Normal:'),
  922. **    Child, StringObject, End,
  923. **      Child, Label2('Big:'   ),
  924. **    Child, StringObject, End,
  925. **      Child, Label2('Huge:'  ),
  926. **    Child, StringObject, End,
  927. **    End,
  928. **
  929. ** Note that we have three versions of the label macro, depending on
  930. ** the frame type of the right hand object:
  931. **
  932. ** Label1(): For use with standard frames (e.g. checkmarks).
  933. ** Label2(): For use with double high frames (e.g. string gadgets).
  934. ** Label() : For use with objects without a frame.
  935. **
  936. ** These macros ensure that your label will look fine even if the
  937. ** user of your application configured some strange spacing values.
  938. ** If you want to use your own labeling, you'll have to pay attention
  939. ** on this topic yourself.
  940. **
  941. ***************************************************************************/
  942.  
  943. #define Label(label)   Mui_MakeObjectA(MUIO_Label,[label,0])
  944. #define Label1(label)  Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_SingleFrame])
  945. #define Label2(label)  Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_DoubleFrame])
  946. #define LLabel(label)  Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_LeftAligned])
  947. #define LLabel1(label) Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_LeftAligned + MUIO_Label_SingleFrame])
  948. #define LLabel2(label) Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_LeftAligned + MUIO_Label_DoubleFrame])
  949. #define CLabel(label)  Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_Centered])
  950. #define CLabel1(label) Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_Centered + MUIO_Label_SingleFrame])
  951. #define CLabel2(label) Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_Centered + MUIO_Label_DoubleFrame])
  952.  
  953. #define FreeLabel(label)   Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_FreeVert])
  954. #define FreeLabel1(label)  Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_FreeVert + MUIO_Label_SingleFrame])
  955. #define FreeLabel2(label)  Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_FreeVert + MUIO_Label_DoubleFrame])
  956. #define FreeLLabel(label)  Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_FreeVert + MUIO_Label_LeftAligned])
  957. #define FreeLLabel1(label) Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_FreeVert + MUIO_Label_LeftAligned + MUIO_Label_SingleFrame])
  958. #define FreeLLabel2(label) Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_FreeVert + MUIO_Label_LeftAligned + MUIO_Label_DoubleFrame])
  959. #define FreeCLabel(label)  Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_FreeVert + MUIO_Label_Centered])
  960. #define FreeCLabel1(label) Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_FreeVert + MUIO_Label_Centered + MUIO_Label_SingleFrame])
  961. #define FreeCLabel2(label) Mui_MakeObjectA(MUIO_Label,[label,MUIO_Label_FreeVert + MUIO_Label_Centered + MUIO_Label_DoubleFrame])
  962.  
  963. #define KeyLabel(label,key)   Mui_MakeObjectA(MUIO_Label,[label,key])
  964. #define KeyLabel1(label,key)  Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_SingleFrame,key)])
  965. #define KeyLabel2(label,key)  Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_DoubleFrame,key)])
  966. #define KeyLLabel(label,key)  Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_LeftAligned,key)])
  967. #define KeyLLabel1(label,key) Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_LeftAligned + MUIO_Label_SingleFrame,key)])
  968. #define KeyLLabel2(label,key) Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_LeftAligned + MUIO_Label_DoubleFrame,key)])
  969. #define KeyCLabel(label,key)  Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_Centered,key)])
  970. #define KeyCLabel1(label,key) Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_Centered + MUIO_Label_SingleFrame,key)])
  971. #define KeyCLabel2(label,key) Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_Centered + MUIO_Label_DoubleFrame,key)])
  972.  
  973. #define FreeKeyLabel(label,key)   Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_FreeVert,key)])
  974. #define FreeKeyLabel1(label,key)  Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_FreeVert + MUIO_Label_SingleFrame,key)])
  975. #define FreeKeyLabel2(label,key)  Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_FreeVert + MUIO_Label_DoubleFrame,key)])
  976. #define FreeKeyLLabel(label,key)  Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_FreeVert + MUIO_Label_LeftAligned,key)])
  977. #define FreeKeyLLabel1(label,key) Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_FreeVert + MUIO_Label_LeftAligned + MUIO_Label_SingleFrame,key)])
  978. #define FreeKeyLLabel2(label,key) Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_FreeVert + MUIO_Label_LeftAligned + MUIO_Label_DoubleFrame,key)])
  979. #define FreeKeyCLabel(label,key)  Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_FreeVert + MUIO_Label_Centered,key)])
  980. #define FreeKeyCLabel1(label,key) Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_FreeVert + MUIO_Label_Centered + MUIO_Label_SingleFrame,key)])
  981. #define FreeKeyCLabel2(label,key) Mui_MakeObjectA(MUIO_Label,[label,Or(MUIO_Label_FreeVert + MUIO_Label_Centered + MUIO_Label_DoubleFrame,key)])
  982.  
  983.  
  984.  
  985. /***************************************************************************
  986. **
  987. ** Controlling Objects
  988. ** -------------------
  989. **
  990. ** set() and get() are two short stubs for BOOPSI GetAttr() and SetAttrsA()
  991. ** calls:
  992. **
  993. **    set(obj,MUIA_String_Contents,'foobar')
  994. **    get(obj,MUIA_String_Contents,{x})
  995. **    PrintF('gadget contains "\s"\n',x)
  996. **
  997. ** nnset() sets an attribute without triggering a possible notification.
  998. **
  999. ***************************************************************************/
  1000.  
  1001. #define get(obj,attr,store) GetAttr(attr,obj,store)
  1002. PROC set(obj,attr,value) IS SetAttrsA(obj,[attr,value,0])
  1003. PROC nnset(obj,attr,value) IS SetAttrsA(obj,[$804237f9,MUI_TRUE,attr,value,0])
  1004.  
  1005. #define setmutex(obj,n)     set(obj,MUIA_Radio_Active,n)
  1006. #define setcycle(obj,n)     set(obj,MUIA_Cycle_Active,n)
  1007. #define setstring(obj,s)    set(obj,MUIA_String_Contents,s)
  1008. #define setcheckmark(obj,b) set(obj,MUIA_Selected,b)
  1009. #define setslider(obj,l)    set(obj,MUIA_Numeric_Value,l)
  1010.  
  1011.  
  1012. #endif /* MUI_NOSHORTCUTS */
  1013.  
  1014.  
  1015. /***************************************************************************
  1016. **
  1017. ** For Boopsi Image Implementors Only:
  1018. **
  1019. ** If MUI is using a boopsi image object, it will send a special method
  1020. ** immediately after object creation. This method has a parameter structure
  1021. ** where the boopsi can fill in its minimum and maximum size and learn if
  1022. ** its used in a horizontal or vertical context.
  1023. **
  1024. ** The boopsi image must use the method id (MUIM_BoopsiQuery) as return
  1025. ** value. That's how MUI sees that the method is implemented.
  1026. **
  1027. ** Note: MUI does not depend on this method. If the boopsi image doesn't
  1028. **       implement it, minimum size will be 0 and maximum size unlimited.
  1029. **
  1030. ***************************************************************************/
  1031.  
  1032. CONST MUIM_BoopsiQuery = $80427157 /* this is send to the boopsi and */
  1033.                                    /* must be used as return value   */
  1034.  
  1035. OBJECT mui_boopsiquery              /* parameter structure */
  1036.     mbq_methodid   :LONG                   /* always MUIM_BoopsiQuery */
  1037.  
  1038.     mbq_screen     :PTR TO screen          /* obsolete, use mbq_RenderInfo */
  1039.     mbq_flags      :LONG                   /* read only, see below */
  1040.  
  1041.     mbq_minwidth   :LONG                   /* write only, fill in min width  */
  1042.     mbq_minheight  :LONG                   /* write only, fill in min height */
  1043.     mbq_maxwidth   :LONG                   /* write only, fill in max width  */
  1044.     mbq_maxheight  :LONG                   /* write only, fill in max height */
  1045.     mbq_defwidth   :LONG                   /* write only, fill in def width  */
  1046.     mbq_defheight  :LONG                   /* write only, fill in def height */
  1047.  
  1048.     mbq_renderinfo :PTR TO mui_renderinfo  /* read only, display context */
  1049.  
  1050.     /* may grow in future ... */
  1051. ENDOBJECT
  1052.  
  1053. #define MUIP_BoopsiQuery MUI_BoopsiQuery  /* old structure name */
  1054.  
  1055. CONST MBQF_HORIZ = 1           /* object used in a horizontal */
  1056.                                /* context (else vertical)     */
  1057.  
  1058. CONST MBQ_MUI_MAXMAX = 10000   /* use this for unlimited MaxWidth/Height */
  1059.  
  1060.  
  1061.  
  1062.  
  1063. /*************************************************************************
  1064. ** Structures and Macros for creating custom classes.
  1065. *************************************************************************/
  1066.  
  1067.  
  1068. /*
  1069. ** GENERAL NOTES:
  1070. **
  1071. ** - Everything described in this header file is only valid within
  1072. **   MUI classes. You may never use any of these things out of
  1073. **   a class, e.g. in a traditional MUI application.
  1074. **
  1075. ** - Except when otherwise stated, all structures are strictly read only.
  1076. */
  1077.  
  1078.  
  1079. /* Global information for every object */
  1080.  
  1081. OBJECT mui_globalinfo
  1082.    priv0                 :LONG
  1083.    mgi_applicationobject :PTR TO LONG
  1084.    /* ... private data follows ... */
  1085. ENDOBJECT
  1086.  
  1087.  
  1088. /* Instance data of notify class */
  1089.  
  1090. OBJECT mui_notifydata
  1091.    mnd_globalinfo :PTR TO mui_globalinfo
  1092.    mnd_userdata   :LONG
  1093.    mnd_objectid   :LONG
  1094.    priv1 :LONG
  1095.    priv2 :LONG
  1096.    priv3 :LONG
  1097.    priv4 :LONG
  1098. ENDOBJECT
  1099.  
  1100.  
  1101. /* MUI_MinMax structure holds information about minimum, maximum
  1102.    and default dimensions of an object. */
  1103.  
  1104. OBJECT mui_minmax
  1105.    minwidth  :INT
  1106.    minheight :INT
  1107.    maxwidth  :INT
  1108.    maxheight :INT
  1109.    defwidth  :INT
  1110.    defheight :INT
  1111. ENDOBJECT
  1112.  
  1113. CONST MUI_MAXMAX = 10000 /* use this if a dimension is not limited. */
  1114.  
  1115.  
  1116. /* Hook message for custom layout */
  1117.  
  1118. OBJECT mui_layoutmsg_size  -> NOTE: In the original C mui.h this structure is
  1119.    width :LONG             -> defined directly inside the following structure,
  1120.    height:LONG             -> without a name! (see mui.h) But in E that isn't
  1121.    priv5 :LONG             -> possible, so I had to do it this way.
  1122.    priv6 :LONG
  1123. ENDOBJECT
  1124.  
  1125. OBJECT mui_layoutmsg
  1126.    lm_type     :LONG                /* type of message (see CONSTs below) */
  1127.    lm_children :PTR TO mlh          /* list of this groups children,
  1128.                                        traverse with NextObject()         */
  1129.    lm_minmax   :mui_minmax          /* results for MUILM_MINMAX           */
  1130.    lm_layout   :mui_layoutmsg_size  /* size (and result) for MUILM_LAYOUT */
  1131. ENDOBJECT
  1132.  
  1133. CONST MUILM_MINMAX  =   1  /* MUI wants you to calc your min & max sizes */
  1134. CONST MUILM_LAYOUT  =   2  /* MUI wants you to layout your children      */
  1135.  
  1136. CONST MUILM_UNKNOWN =  -1  /* return this if your hook doesn't implement lm_Type */
  1137.  
  1138.  
  1139. /* (partial) instance data of area class */
  1140.  
  1141. OBJECT mui_areadata
  1142.    mad_renderinfo :PTR TO mui_renderinfo   /* RenderInfo for this object */
  1143.    priv7          :LONG
  1144.    mad_font       :PTR TO textfont         /* Font */
  1145.    mad_minmax     :mui_minmax              /* min/max/default sizes */
  1146.    mad_box        :ibox                    /* position and dimension */
  1147.    mad_addleft    :CHAR                    /* frame & innerspacing left offset */
  1148.    mad_addtop     :CHAR                    /* frame & innerspacing top offset  */
  1149.    mad_subwidth   :CHAR                    /* frame & innerspacing add. width  */
  1150.    mad_subheight  :CHAR                    /* frame & innerspacing add. height */
  1151.    mad_flags      :LONG                    /* see definitions below */
  1152.  
  1153.    /* ... private data follows ... */
  1154. ENDOBJECT
  1155.  
  1156. /* Definitions for mad_Flags, other flags are private */
  1157.  
  1158. CONST MADF_DRAWOBJECT = 1 /* completely redraw yourself */
  1159. CONST MADF_DRAWUPDATE = 2 /* only update yourself */
  1160.  
  1161.  
  1162.  
  1163.  
  1164. /* MUI's draw pens */
  1165.  
  1166. CONST MPEN_SHINE      = 0
  1167. CONST MPEN_HALFSHINE  = 1
  1168. CONST MPEN_BACKGROUND = 2
  1169. CONST MPEN_HALFSHADOW = 3
  1170. CONST MPEN_SHADOW     = 4
  1171. CONST MPEN_TEXT       = 5
  1172. CONST MPEN_FILL       = 6
  1173. CONST MPEN_MARK       = 7
  1174. CONST MPEN_COUNT      = 8
  1175.  
  1176.  
  1177. /* Mask for pens from MUI_ObtainPen() */
  1178.  
  1179. CONST MUIPEN_MASK = $0000ffff
  1180. #define MUIPEN(pen) ((pen) AND MUIPEN_MASK)
  1181.  
  1182.  
  1183. /* Information on display environment */
  1184.  
  1185. OBJECT mui_renderinfo
  1186.    mri_windowobject :PTR TO LONG      /* valid between MUIM_Setup/MUIM_Cleanup */
  1187.  
  1188.    mri_screen       :PTR TO screen    /* valid between MUIM_Setup/MUIM_Cleanup */
  1189.    mri_drawinfo     :PTR TO drawinfo  /* valid between MUIM_Setup/MUIM_Cleanup */
  1190.    mri_pens         :PTR TO INT       /* valid between MUIM_Setup/MUIM_Cleanup */
  1191.    mri_window       :PTR TO window    /* valid between MUIM_Show/MUIM_Hide */
  1192.    mri_rastport     :PTR TO rastport  /* valid between MUIM_Show/MUIM_Hide */
  1193.    mri_flags        :LONG             /* valid between MUIM_Setup/MUIM_Cleanup */
  1194.    /* ... private data follows ... */
  1195. ENDOBJECT
  1196.  
  1197. /*
  1198. ** If mri_Flags & MUIMRI_RECTFILL, RectFill() is quicker
  1199. ** than Move()/Draw() for horizontal or vertical lines.
  1200. ** on the current display.
  1201. */
  1202. CONST MUIMRI_RECTFILL = 1
  1203.  
  1204. /*
  1205. ** If mri_Flags & MUIMRI_TRUECOLOR, display environment is a
  1206. ** cybergraphics emulated hicolor or true color display with
  1207. ** an unlimited number of pens available. Obtain/ReleasePen()s
  1208. ** as many as you want... :-)
  1209. */
  1210. CONST MUIMRI_TRUECOLOR = 2
  1211.  
  1212. /*
  1213. ** If mri_Flags & MUIMRI_THINFRAMES, MUI uses thin frames
  1214. ** (1:1) apsect ratio instead of standard 2:1 frames.
  1215. */
  1216. CONST MUIMRI_THINFRAMES = 4
  1217.  
  1218. /*
  1219. ** If mri_Flags & MUIMRI_REFRESHMODE, MUI is currently
  1220. ** refreshing a WFLG_SIMPLEREFRESH window and is between
  1221. ** a BeginRefresh()/EndRefresh() pair.
  1222. */
  1223. CONST MUIMRI_REFRESHMODE = 8
  1224.  
  1225.  
  1226.  
  1227.  
  1228. /* the following macros can be used to get pointers to an objects
  1229.    GlobalInfo and RenderInfo structures. */
  1230.  
  1231. OBJECT __dummyxfc2__
  1232.    mnd :mui_notifydata
  1233.    mad :mui_areadata
  1234. ENDOBJECT
  1235.  
  1236. -> *********************** ATTENTION **************************
  1237. ->  To use the following macros, obj MUST be a <var> (not a
  1238. ->  <varexp> or <exp>) and it  MUST be defined like:
  1239. ->
  1240. ->  DEF obj:PTR TO <object>    or    DEF obj:<object>
  1241. ->
  1242. ->  with <object> any possible OBJECT (e.g. __dummyxfc2__ )
  1243. -> ************************************************************
  1244. -> To use the macros
  1245. ->
  1246. ->   _left(), _top(), _width(), _height(), _right(), _bottom,
  1247. ->  _mleft(),_mtop(),_mwidth(),_mheight(),_mright(),_mbottom
  1248. ->
  1249. -> you have to include the module 'intuition/intuition' into
  1250. -> your source (with MODULE 'intuition/intuition')!
  1251. -> ************************************************************
  1252.  
  1253. #define muiNotifyData(obj) obj::__dummyxfc2__.mnd
  1254. #define muiAreaData(obj)   obj::__dummyxfc2__.mad
  1255.  
  1256. #define muiGlobalInfo(obj) obj::__dummyxfc2__.mnd.mnd_globalinfo
  1257. #define muiUserData(obj)   obj::__dummyxfc2__.mnd.mnd_userdata
  1258. #define muiRenderInfo(obj) obj::__dummyxfc2__.mad.mad_renderinfo
  1259.  
  1260. /* Some useful shortcuts. define MUI_NOSHORTCUTS to get rid of them */
  1261. /* NOTE: These macros may only be used in custom classes and are    */
  1262. /* only valid if your class is inbetween the specified methods!     */
  1263.  
  1264. #ifndef MUI_NOSHORTCUTS
  1265.  
  1266. #define _app(obj)         muiGlobalInfo(obj).mgi_applicationobject  /* valid between MUIM_Setup/Cleanup */
  1267. #define _win(obj)         muiRenderInfo(obj).mri_windowobject       /* valid between MUIM_Setup/Cleanup */
  1268. #define _dri(obj)         muiRenderInfo(obj).mri_drawinfo           /* valid between MUIM_Setup/Cleanup */
  1269. #define _screen(obj)      muiRenderInfo(obj).mri_screen             /* valid between MUIM_Setup/Cleanup */
  1270. #define _pens(obj)        muiRenderInfo(obj).mri_pens               /* valid between MUIM_Setup/Cleanup */
  1271. #define _window(obj)      muiRenderInfo(obj).mri_window             /* valid between MUIM_Show/Hide */
  1272. #define _rp(obj)          muiRenderInfo(obj).mri_rastport           /* valid between MUIM_Show/Hide */
  1273. #define _left(obj)        muiAreaData(obj).mad_box.left             /* valid during MUIM_Draw */
  1274. #define _top(obj)         muiAreaData(obj).mad_box.top              /* valid during MUIM_Draw */
  1275. #define _width(obj)       muiAreaData(obj).mad_box.width            /* valid during MUIM_Draw */
  1276. #define _height(obj)      muiAreaData(obj).mad_box.height           /* valid during MUIM_Draw */
  1277. #define _right(obj)       (_left(obj)+_width(obj)-1)                /* valid during MUIM_Draw */
  1278. #define _bottom(obj)      (_top(obj)+_height(obj)-1)                /* valid during MUIM_Draw */
  1279. #define _addleft(obj)     muiAreaData(obj).mad_addleft              /* valid during MUIM_Draw */
  1280. #define _addtop(obj)      muiAreaData(obj).mad_addtop               /* valid during MUIM_Draw */
  1281. #define _subwidth(obj)    muiAreaData(obj).mad_subwidth             /* valid during MUIM_Draw */
  1282. #define _subheight(obj)   muiAreaData(obj).mad_subheight            /* valid during MUIM_Draw */
  1283. #define _mleft(obj)       (_left(obj)+_addleft(obj))                /* valid during MUIM_Draw */
  1284. #define _mtop(obj)        (_top(obj)+_addtop(obj))                  /* valid during MUIM_Draw */
  1285. #define _mwidth(obj)      (_width(obj)-_subwidth(obj))              /* valid during MUIM_Draw */
  1286. #define _mheight(obj)     (_height(obj)-_subheight(obj))            /* valid during MUIM_Draw */
  1287. #define _mright(obj)      (_mleft(obj)+_mwidth(obj)-1)              /* valid during MUIM_Draw */
  1288. #define _mbottom(obj)     (_mtop(obj)+_mheight(obj)-1)              /* valid during MUIM_Draw */
  1289. #define _font(obj)        muiAreaData(obj).mad_font                 /* valid between MUIM_Setup/Cleanup */
  1290. #define _minwidth(obj)    muiAreaData(obj).mad_minmax.minwidth      /* valid between MUIM_Show/Hide */
  1291. #define _minheight(obj)   muiAreaData(obj).mad_minmax.minheight     /* valid between MUIM_Show/Hide */
  1292. #define _maxwidth(obj)    muiAreaData(obj).mad_minmax.maxwidth      /* valid between MUIM_Show/Hide */
  1293. #define _maxheight(obj)   muiAreaData(obj).mad_minmax.maxheight     /* valid between MUIM_Show/Hide */
  1294. #define _defwidth(obj)    muiAreaData(obj).mad_minmax.defwidth      /* valid between MUIM_Show/Hide */
  1295. #define _defheight(obj)   muiAreaData(obj).mad_minmax.defheight     /* valid between MUIM_Show/Hide */
  1296. #define _flags(obj)       muiAreaData(obj).mad_flags                
  1297.  
  1298. #endif
  1299.  
  1300.  
  1301. /* User configurable keyboard events coming with MUIM_HandleInput */
  1302.  
  1303. CONST MUIKEY_RELEASE        = -2 /* not a real key, faked when MUIKEY_PRESS is released */
  1304. CONST MUIKEY_NONE           = -1
  1305. ENUM  MUIKEY_PRESS,
  1306.       MUIKEY_TOGGLE,
  1307.       MUIKEY_UP,
  1308.       MUIKEY_DOWN,
  1309.       MUIKEY_PAGEUP,
  1310.       MUIKEY_PAGEDOWN,
  1311.       MUIKEY_TOP,
  1312.       MUIKEY_BOTTOM,
  1313.       MUIKEY_LEFT,
  1314.       MUIKEY_RIGHT,
  1315.       MUIKEY_WORDLEFT,
  1316.       MUIKEY_WORDRIGHT,
  1317.       MUIKEY_LINESTART,
  1318.       MUIKEY_LINEEND,
  1319.       MUIKEY_GADGET_NEXT,
  1320.       MUIKEY_GADGET_PREV,
  1321.       MUIKEY_GADGET_OFF,
  1322.       MUIKEY_WINDOW_CLOSE,
  1323.       MUIKEY_WINDOW_NEXT,
  1324.       MUIKEY_WINDOW_PREV,
  1325.       MUIKEY_HELP,
  1326.       MUIKEY_POPUP,
  1327.       MUIKEY_COUNT   /* counter */
  1328.  
  1329. SET MUIKEYF_PRESS,
  1330.     MUIKEYF_TOGGLE,
  1331.     MUIKEYF_UP,
  1332.     MUIKEYF_DOWN,
  1333.     MUIKEYF_PAGEUP,
  1334.     MUIKEYF_PAGEDOWN,
  1335.     MUIKEYF_TOP,
  1336.     MUIKEYF_BOTTOM,
  1337.     MUIKEYF_LEFT,
  1338.     MUIKEYF_RIGHT,
  1339.     MUIKEYF_WORDLEFT,
  1340.     MUIKEYF_WORDRIGHT,
  1341.     MUIKEYF_LINESTART,
  1342.     MUIKEYF_LINEEND,
  1343.     MUIKEYF_GADGET_NEXT,
  1344.     MUIKEYF_GADGET_PREV,
  1345.     MUIKEYF_GADGET_OFF,
  1346.     MUIKEYF_WINDOW_CLOSE,
  1347.     MUIKEYF_WINDOW_NEXT,
  1348.     MUIKEYF_WINDOW_PREV,
  1349.     MUIKEYF_HELP,
  1350.     MUIKEYF_POPUP
  1351.  
  1352.  
  1353. /* MUI_CustomClass returned by MUI_CreateCustomClass() */
  1354.  
  1355. OBJECT mui_customclass
  1356.    mcc_userdata      :LONG            /* use for whatever you want */
  1357.  
  1358.    mcc_utilitybase   :PTR TO lib      /* MUI has opened these libraries */
  1359.    mcc_dosbase       :PTR TO lib      /* for you automatically. You can */
  1360.    mcc_gfxbase       :PTR TO lib      /* use them or decide to open     */
  1361.    mcc_intuitionbase :PTR TO lib      /* your libraries yourself.       */
  1362.  
  1363.    mcc_super         :PTR TO iclass   /* pointer to super class   */
  1364.    mcc_class         :PTR TO iclass   /* pointer to the new class */
  1365.    /* ... private data follows ... */
  1366. ENDOBJECT
  1367.  
  1368.  
  1369.  
  1370. /****************************************************************************/
  1371. /** Notify                                                                 **/
  1372. /****************************************************************************/
  1373.  
  1374. #define MUIC_Notify 'Notify.mui'
  1375.  
  1376. /* Methods */
  1377.  
  1378. CONST MUIM_CallHook                  = $8042b96b /* V4  */
  1379. CONST MUIM_Export                    = $80420f1c /* V12 */
  1380. CONST MUIM_FindUData                 = $8042c196 /* V8  */
  1381. CONST MUIM_GetConfigItem             = $80423edb /* V11 */
  1382. CONST MUIM_GetUData                  = $8042ed0c /* V8  */
  1383. CONST MUIM_Import                    = $8042d012 /* V12 */
  1384. CONST MUIM_KillNotify                = $8042d240 /* V4  */
  1385. CONST MUIM_KillNotifyObj             = $8042b145 /* V16 */
  1386. CONST MUIM_MultiSet                  = $8042d356 /* V7  */
  1387. CONST MUIM_NoNotifySet               = $8042216f /* V9  */
  1388. CONST MUIM_Notify                    = $8042c9cb /* V4  */
  1389. CONST MUIM_Set                       = $8042549a /* V4  */
  1390. CONST MUIM_SetAsString               = $80422590 /* V4  */
  1391. CONST MUIM_SetUData                  = $8042c920 /* V8  */
  1392. CONST MUIM_SetUDataOnce              = $8042ca19 /* V11 */
  1393. CONST MUIM_WriteLong                 = $80428d86 /* V6  */
  1394. CONST MUIM_WriteString               = $80424bf4 /* V6  */
  1395.  
  1396. /* Attributes */
  1397.  
  1398. CONST MUIA_ApplicationObject              = $8042d3ee /* V4  ..g Object *          */
  1399. CONST MUIA_AppMessage                     = $80421955 /* V5  ..g struct AppMessage * */
  1400. CONST MUIA_HelpLine                       = $8042a825 /* V4  isg LONG              */
  1401. CONST MUIA_HelpNode                       = $80420b85 /* V4  isg STRPTR            */
  1402. CONST MUIA_NoNotify                       = $804237f9 /* V7  .s. BOOL              */
  1403. CONST MUIA_Parent                         = $8042e35f /* V11 ..g Object *          */
  1404. CONST MUIA_Revision                       = $80427eaa /* V4  ..g LONG              */
  1405. CONST MUIA_UserData                       = $80420313 /* V4  isg ULONG             */
  1406. CONST MUIA_Version                        = $80422301 /* V4  ..g LONG              */
  1407.  
  1408.  
  1409.  
  1410. /****************************************************************************/
  1411. /** Family                                                                 **/
  1412. /****************************************************************************/
  1413.  
  1414. #define MUIC_Family 'Family.mui'
  1415.  
  1416. /* Methods */
  1417.  
  1418. CONST MUIM_Family_AddHead            = $8042e200 /* V8  */
  1419. CONST MUIM_Family_AddTail            = $8042d752 /* V8  */
  1420. CONST MUIM_Family_Insert             = $80424d34 /* V8  */
  1421. CONST MUIM_Family_Remove             = $8042f8a9 /* V8  */
  1422. CONST MUIM_Family_Sort               = $80421c49 /* V8  */
  1423. CONST MUIM_Family_Transfer           = $8042c14a /* V8  */
  1424.  
  1425. /* Attributes */
  1426.  
  1427. CONST MUIA_Family_Child                   = $8042c696 /* V8  i.. Object *          */
  1428. CONST MUIA_Family_List                    = $80424b9e /* V8  ..g struct MinList *  */
  1429.  
  1430.  
  1431.  
  1432. /****************************************************************************/
  1433. /** Menustrip                                                              **/
  1434. /****************************************************************************/
  1435.  
  1436. #define MUIC_Menustrip 'Menustrip.mui'
  1437.  
  1438. /* Methods */
  1439.  
  1440.  
  1441. /* Attributes */
  1442.  
  1443. CONST MUIA_Menustrip_Enabled              = $8042815b /* V8  isg BOOL              */
  1444.  
  1445.  
  1446.  
  1447. /****************************************************************************/
  1448. /** Menu                                                                   **/
  1449. /****************************************************************************/
  1450.  
  1451. #define MUIC_Menu 'Menu.mui'
  1452.  
  1453. /* Methods */
  1454.  
  1455.  
  1456. /* Attributes */
  1457.  
  1458. CONST MUIA_Menu_Enabled                   = $8042ed48 /* V8  isg BOOL              */
  1459. CONST MUIA_Menu_Title                     = $8042a0e3 /* V8  isg STRPTR            */
  1460.  
  1461.  
  1462.  
  1463. /****************************************************************************/
  1464. /** Menuitem                                                               **/
  1465. /****************************************************************************/
  1466.  
  1467. #define MUIC_Menuitem 'Menuitem.mui'
  1468.  
  1469. /* Methods */
  1470.  
  1471.  
  1472. /* Attributes */
  1473.  
  1474. CONST MUIA_Menuitem_Checked               = $8042562a /* V8  isg BOOL              */
  1475. CONST MUIA_Menuitem_Checkit               = $80425ace /* V8  isg BOOL              */
  1476. CONST MUIA_Menuitem_CommandString         = $8042b9cc /* V16 isg BOOL              */
  1477. CONST MUIA_Menuitem_Enabled               = $8042ae0f /* V8  isg BOOL              */
  1478. CONST MUIA_Menuitem_Exclude               = $80420bc6 /* V8  isg LONG              */
  1479. CONST MUIA_Menuitem_Shortcut              = $80422030 /* V8  isg STRPTR            */
  1480. CONST MUIA_Menuitem_Title                 = $804218be /* V8  isg STRPTR            */
  1481. CONST MUIA_Menuitem_Toggle                = $80424d5c /* V8  isg BOOL              */
  1482. CONST MUIA_Menuitem_Trigger               = $80426f32 /* V8  ..g struct MenuItem * */
  1483.  
  1484. CONST MUIV_Menuitem_Shortcut_Check = -1
  1485.  
  1486.  
  1487. /****************************************************************************/
  1488. /** Application                                                            **/
  1489. /****************************************************************************/
  1490.  
  1491. #define MUIC_Application 'Application.mui'
  1492.  
  1493. /* Methods */
  1494.  
  1495. CONST MUIM_Application_AboutMUI         = $8042d21d /* V14 */
  1496. CONST MUIM_Application_AddInputHandler  = $8042f099 /* V11 */
  1497. CONST MUIM_Application_CheckRefresh     = $80424d68 /* V11 */
  1498. CONST MUIM_Application_GetMenuCheck     = $8042c0a7 /* V4  */
  1499. CONST MUIM_Application_GetMenuState     = $8042a58f /* V4  */
  1500. CONST MUIM_Application_Input            = $8042d0f5 /* V4  */
  1501. CONST MUIM_Application_InputBuffered    = $80427e59 /* V4  */
  1502. CONST MUIM_Application_Load             = $8042f90d /* V4  */
  1503. CONST MUIM_Application_NewInput         = $80423ba6 /* V11 */
  1504. CONST MUIM_Application_OpenConfigWindow = $804299ba /* V11 */
  1505. CONST MUIM_Application_PushMethod       = $80429ef8 /* V4  */
  1506. CONST MUIM_Application_RemInputHandler  = $8042e7af /* V11 */
  1507. CONST MUIM_Application_ReturnID         = $804276ef /* V4  */
  1508. CONST MUIM_Application_Save             = $804227ef /* V4  */
  1509. CONST MUIM_Application_SetConfigItem    = $80424a80 /* V11 */
  1510. CONST MUIM_Application_SetMenuCheck     = $8042a707 /* V4  */
  1511. CONST MUIM_Application_SetMenuState     = $80428bef /* V4  */
  1512. CONST MUIM_Application_ShowHelp         = $80426479 /* V4  */
  1513.  
  1514. /* Attributes */
  1515.  
  1516. CONST MUIA_Application_Active             = $804260ab /* V4  isg BOOL              */
  1517. CONST MUIA_Application_Author             = $80424842 /* V4  i.g STRPTR            */
  1518. CONST MUIA_Application_Base               = $8042e07a /* V4  i.g STRPTR            */
  1519. CONST MUIA_Application_Broker             = $8042dbce /* V4  ..g Broker *          */
  1520. CONST MUIA_Application_BrokerHook         = $80428f4b /* V4  isg struct Hook *     */
  1521. CONST MUIA_Application_BrokerPort         = $8042e0ad /* V6  ..g struct MsgPort *  */
  1522. CONST MUIA_Application_BrokerPri          = $8042c8d0 /* V6  i.g LONG              */
  1523. CONST MUIA_Application_Commands           = $80428648 /* V4  isg struct MUI_Command * */
  1524. CONST MUIA_Application_Copyright          = $8042ef4d /* V4  i.g STRPTR            */
  1525. CONST MUIA_Application_Description        = $80421fc6 /* V4  i.g STRPTR            */
  1526. CONST MUIA_Application_DiskObject         = $804235cb /* V4  isg struct DiskObject * */
  1527. CONST MUIA_Application_DoubleStart        = $80423bc6 /* V4  ..g BOOL              */
  1528. CONST MUIA_Application_DropObject         = $80421266 /* V5  is. Object *          */
  1529. CONST MUIA_Application_ForceQuit          = $804257df /* V8  ..g BOOL              */
  1530. CONST MUIA_Application_HelpFile           = $804293f4 /* V8  isg STRPTR            */
  1531. CONST MUIA_Application_Iconified          = $8042a07f /* V4  .sg BOOL              */
  1532. CONST MUIA_Application_Menu               = $80420e1f /* V4  i.g struct NewMenu *  */
  1533. CONST MUIA_Application_MenuAction         = $80428961 /* V4  ..g ULONG             */
  1534. CONST MUIA_Application_MenuHelp           = $8042540b /* V4  ..g ULONG             */
  1535. CONST MUIA_Application_Menustrip          = $804252d9 /* V8  i.. Object *          */
  1536. CONST MUIA_Application_RexxHook           = $80427c42 /* V7  isg struct Hook *     */
  1537. CONST MUIA_Application_RexxMsg            = $8042fd88 /* V4  ..g struct RxMsg *    */
  1538. CONST MUIA_Application_RexxString         = $8042d711 /* V4  .s. STRPTR            */
  1539. CONST MUIA_Application_SingleTask         = $8042a2c8 /* V4  i.. BOOL              */
  1540. CONST MUIA_Application_Sleep              = $80425711 /* V4  .s. BOOL              */
  1541. CONST MUIA_Application_Title              = $804281b8 /* V4  i.g STRPTR            */
  1542. CONST MUIA_Application_UseCommodities     = $80425ee5 /* V10 i.. BOOL              */
  1543. CONST MUIA_Application_UseRexx            = $80422387 /* V10 i.. BOOL              */
  1544. CONST MUIA_Application_Version            = $8042b33f /* V4  i.g STRPTR            */
  1545. CONST MUIA_Application_Window             = $8042bfe0 /* V4  i.. Object *          */
  1546. CONST MUIA_Application_WindowList         = $80429abe /* V13 ..g struct List *     */
  1547.  
  1548.  
  1549.  
  1550. /****************************************************************************/
  1551. /** Window                                                                 **/
  1552. /****************************************************************************/
  1553.  
  1554. #define MUIC_Window 'Window.mui'
  1555.  
  1556. /* Methods */
  1557.  
  1558. CONST MUIM_Window_AddEventHandler    = $804203b7 /* V16 */
  1559. CONST MUIM_Window_GetMenuCheck       = $80420414 /* V4  */
  1560. CONST MUIM_Window_GetMenuState       = $80420d2f /* V4  */
  1561. CONST MUIM_Window_RemEventHandler    = $8042679e /* V16 */
  1562. CONST MUIM_Window_ScreenToBack       = $8042913d /* V4  */
  1563. CONST MUIM_Window_ScreenToFront      = $804227a4 /* V4  */
  1564. CONST MUIM_Window_SetCycleChain      = $80426510 /* V4  */
  1565. CONST MUIM_Window_SetMenuCheck       = $80422243 /* V4  */
  1566. CONST MUIM_Window_SetMenuState       = $80422b5e /* V4  */
  1567. CONST MUIM_Window_ToBack             = $8042152e /* V4  */
  1568. CONST MUIM_Window_ToFront            = $8042554f /* V4  */
  1569.  
  1570. /* Attributes */
  1571.  
  1572. CONST MUIA_Window_Activate                = $80428d2f /* V4  isg BOOL              */
  1573. CONST MUIA_Window_ActiveObject            = $80427925 /* V4  .sg Object *          */
  1574. CONST MUIA_Window_AltHeight               = $8042cce3 /* V4  i.g LONG              */
  1575. CONST MUIA_Window_AltLeftEdge             = $80422d65 /* V4  i.g LONG              */
  1576. CONST MUIA_Window_AltTopEdge              = $8042e99b /* V4  i.g LONG              */
  1577. CONST MUIA_Window_AltWidth                = $804260f4 /* V4  i.g LONG              */
  1578. CONST MUIA_Window_AppWindow               = $804280cf /* V5  i.. BOOL              */
  1579. CONST MUIA_Window_Backdrop                = $8042c0bb /* V4  i.. BOOL              */
  1580. CONST MUIA_Window_Borderless              = $80429b79 /* V4  i.. BOOL              */
  1581. CONST MUIA_Window_CloseGadget             = $8042a110 /* V4  i.. BOOL              */
  1582. CONST MUIA_Window_CloseRequest            = $8042e86e /* V4  ..g BOOL              */
  1583. CONST MUIA_Window_DefaultObject           = $804294d7 /* V4  isg Object *          */
  1584. CONST MUIA_Window_DepthGadget             = $80421923 /* V4  i.. BOOL              */
  1585. CONST MUIA_Window_DragBar                 = $8042045d /* V4  i.. BOOL              */
  1586. CONST MUIA_Window_FancyDrawing            = $8042bd0e /* V8  isg BOOL              */
  1587. CONST MUIA_Window_Height                  = $80425846 /* V4  i.g LONG              */
  1588. CONST MUIA_Window_ID                      = $804201bd /* V4  isg ULONG             */
  1589. CONST MUIA_Window_InputEvent              = $804247d8 /* V4  ..g struct InputEvent * */
  1590. CONST MUIA_Window_IsSubWindow             = $8042b5aa /* V4  isg BOOL              */
  1591. CONST MUIA_Window_LeftEdge                = $80426c65 /* V4  i.g LONG              */
  1592. CONST MUIA_Window_Menu                    = $8042db94 /* V4  i.. struct NewMenu *  */
  1593. CONST MUIA_Window_MenuAction              = $80427521 /* V8  isg ULONG             */
  1594. CONST MUIA_Window_Menustrip               = $8042855e /* V8  i.g Object *          */
  1595. CONST MUIA_Window_MouseObject             = $8042bf9b /* V10 ..g Object *          */
  1596. CONST MUIA_Window_NeedsMouseObject        = $8042372a /* V10 i.. BOOL              */
  1597. CONST MUIA_Window_NoMenus                 = $80429df5 /* V4  is. BOOL              */
  1598. CONST MUIA_Window_Open                    = $80428aa0 /* V4  .sg BOOL              */
  1599. CONST MUIA_Window_PublicScreen            = $804278e4 /* V6  isg STRPTR            */
  1600. CONST MUIA_Window_RefWindow               = $804201f4 /* V4  is. Object *          */
  1601. CONST MUIA_Window_RootObject              = $8042cba5 /* V4  isg Object *          */
  1602. CONST MUIA_Window_Screen                  = $8042df4f /* V4  isg struct Screen *   */
  1603. CONST MUIA_Window_ScreenTitle             = $804234b0 /* V5  isg STRPTR            */
  1604. CONST MUIA_Window_SizeGadget              = $8042e33d /* V4  i.. BOOL              */
  1605. CONST MUIA_Window_SizeRight               = $80424780 /* V4  i.. BOOL              */
  1606. CONST MUIA_Window_Sleep                   = $8042e7db /* V4  .sg BOOL              */
  1607. CONST MUIA_Window_Title                   = $8042ad3d /* V4  isg STRPTR            */
  1608. CONST MUIA_Window_TopEdge                 = $80427c66 /* V4  i.g LONG              */
  1609. CONST MUIA_Window_UseBottomBorderScroller = $80424e79 /* V13 is. BOOL              */
  1610. CONST MUIA_Window_UseLeftBorderScroller   = $8042433e /* V13 is. BOOL              */
  1611. CONST MUIA_Window_UseRightBorderScroller  = $8042c05e /* V13 is. BOOL              */
  1612. CONST MUIA_Window_Width                   = $8042dcae /* V4  i.g LONG              */
  1613. CONST MUIA_Window_Window                  = $80426a42 /* V4  ..g struct Window *   */
  1614.  
  1615. CONST MUIV_Window_ActiveObject_None = 0
  1616. CONST MUIV_Window_ActiveObject_Next = -1
  1617. CONST MUIV_Window_ActiveObject_Prev = -2
  1618. #define MUIV_Window_AltHeight_MinMax(p) (0-(p))
  1619. #define MUIV_Window_AltHeight_Visible(p) (-100-(p))
  1620. #define MUIV_Window_AltHeight_Screen(p) (-200-(p))
  1621. CONST MUIV_Window_AltHeight_Scaled = -1000
  1622. CONST MUIV_Window_AltLeftEdge_Centered = -1
  1623. CONST MUIV_Window_AltLeftEdge_Moused = -2
  1624. CONST MUIV_Window_AltLeftEdge_NoChange = -1000
  1625. CONST MUIV_Window_AltTopEdge_Centered = -1
  1626. CONST MUIV_Window_AltTopEdge_Moused = -2
  1627. #define MUIV_Window_AltTopEdge_Delta(p) (-3-(p))
  1628. CONST MUIV_Window_AltTopEdge_NoChange = -1000
  1629. #define MUIV_Window_AltWidth_MinMax(p) (0-(p))
  1630. #define MUIV_Window_AltWidth_Visible(p) (-100-(p))
  1631. #define MUIV_Window_AltWidth_Screen(p) (-200-(p))
  1632. CONST MUIV_Window_AltWidth_Scaled = -1000
  1633. #define MUIV_Window_Height_MinMax(p) (0-(p))
  1634. #define MUIV_Window_Height_Visible(p) (-100-(p))
  1635. #define MUIV_Window_Height_Screen(p) (-200-(p))
  1636. CONST MUIV_Window_Height_Scaled = -1000
  1637. CONST MUIV_Window_Height_Default = -1001
  1638. CONST MUIV_Window_LeftEdge_Centered = -1
  1639. CONST MUIV_Window_LeftEdge_Moused = -2
  1640. #ifdef MUI_OBSOLETE
  1641. CONST MUIV_Window_Menu_NoMenu = -1
  1642. #endif /* MUI_OBSOLETE */
  1643. CONST MUIV_Window_TopEdge_Centered = -1
  1644. CONST MUIV_Window_TopEdge_Moused = -2
  1645. #define MUIV_Window_TopEdge_Delta(p) (-3-(p))
  1646. #define MUIV_Window_Width_MinMax(p) (0-(p))
  1647. #define MUIV_Window_Width_Visible(p) (-100-(p))
  1648. #define MUIV_Window_Width_Screen(p) (-200-(p))
  1649. CONST MUIV_Window_Width_Scaled = -1000
  1650. CONST MUIV_Window_Width_Default = -1001
  1651.  
  1652.  
  1653. /****************************************************************************/
  1654. /** Aboutmui                                                               **/
  1655. /****************************************************************************/
  1656.  
  1657. #define MUIC_Aboutmui 'Aboutmui.mui'
  1658.  
  1659. /* Methods */
  1660.  
  1661.  
  1662. /* Attributes */
  1663.  
  1664. CONST MUIA_Aboutmui_Application           = $80422523 /* V11 i.. Object *          */
  1665.  
  1666.  
  1667.  
  1668. /****************************************************************************/
  1669. /** Area                                                                   **/
  1670. /****************************************************************************/
  1671.  
  1672. #define MUIC_Area 'Area.mui'
  1673.  
  1674. /* Methods */
  1675.  
  1676. CONST MUIM_AskMinMax                 = $80423874 /* Custom Class */ /* V4  */
  1677. CONST MUIM_Cleanup                   = $8042d985 /* Custom Class */ /* V4  */
  1678. CONST MUIM_ContextMenuBuild          = $80429d2e /* V11 */
  1679. CONST MUIM_ContextMenuChoice         = $80420f0e /* V11 */
  1680. CONST MUIM_DragBegin                 = $8042c03a /* V11 */
  1681. CONST MUIM_DragDrop                  = $8042c555 /* V11 */
  1682. CONST MUIM_DragFinish                = $804251f0 /* V11 */
  1683. CONST MUIM_DragQuery                 = $80420261 /* V11 */
  1684. CONST MUIM_DragReport                = $8042edad /* V11 */
  1685. CONST MUIM_Draw                      = $80426f3f /* Custom Class */ /* V4  */
  1686. CONST MUIM_DrawBackground            = $804238ca /* V11 */
  1687. CONST MUIM_HandleEvent               = $80426d66 /* Custom Class */ /* V16 */
  1688. CONST MUIM_HandleInput               = $80422a1a /* Custom Class */ /* V4  */
  1689. CONST MUIM_Hide                      = $8042f20f /* Custom Class */ /* V4  */
  1690. CONST MUIM_Setup                     = $80428354 /* Custom Class */ /* V4  */
  1691. CONST MUIM_Show                      = $8042cc84 /* Custom Class */ /* V4  */
  1692.  
  1693. /* Attributes */
  1694.  
  1695. CONST MUIA_Background                     = $8042545b /* V4  is. LONG              */
  1696. CONST MUIA_BottomEdge                     = $8042e552 /* V4  ..g LONG              */
  1697. CONST MUIA_ContextMenu                    = $8042b704 /* V11 isg Object *          */
  1698. CONST MUIA_ContextMenuTrigger             = $8042a2c1 /* V11 ..g Object *          */
  1699. CONST MUIA_ControlChar                    = $8042120b /* V4  isg char              */
  1700. CONST MUIA_CycleChain                     = $80421ce7 /* V11 isg LONG              */
  1701. CONST MUIA_Disabled                       = $80423661 /* V4  isg BOOL              */
  1702. CONST MUIA_Draggable                      = $80420b6e /* V11 isg BOOL              */
  1703. CONST MUIA_Dropable                       = $8042fbce /* V11 isg BOOL              */
  1704. CONST MUIA_ExportID                       = $8042d76e /* V4  isg ULONG             */
  1705. CONST MUIA_FillArea                       = $804294a3 /* V4  is. BOOL              */
  1706. CONST MUIA_FixHeight                      = $8042a92b /* V4  i.. LONG              */
  1707. CONST MUIA_FixHeightTxt                   = $804276f2 /* V4  i.. STRPTR            */
  1708. CONST MUIA_FixWidth                       = $8042a3f1 /* V4  i.. LONG              */
  1709. CONST MUIA_FixWidthTxt                    = $8042d044 /* V4  i.. STRPTR            */
  1710. CONST MUIA_Font                           = $8042be50 /* V4  i.g struct TextFont * */
  1711. CONST MUIA_Frame                          = $8042ac64 /* V4  i.. LONG              */
  1712. CONST MUIA_FramePhantomHoriz              = $8042ed76 /* V4  i.. BOOL              */
  1713. CONST MUIA_FrameTitle                     = $8042d1c7 /* V4  i.. STRPTR            */
  1714. CONST MUIA_Height                         = $80423237 /* V4  ..g LONG              */
  1715. CONST MUIA_HorizDisappear                 = $80429615 /* V11 isg LONG              */
  1716. CONST MUIA_HorizWeight                    = $80426db9 /* V4  i.. WORD              */
  1717. CONST MUIA_InnerBottom                    = $8042f2c0 /* V4  i.. LONG              */
  1718. CONST MUIA_InnerLeft                      = $804228f8 /* V4  i.. LONG              */
  1719. CONST MUIA_InnerRight                     = $804297ff /* V4  i.. LONG              */
  1720. CONST MUIA_InnerTop                       = $80421eb6 /* V4  i.. LONG              */
  1721. CONST MUIA_InputMode                      = $8042fb04 /* V4  i.. LONG              */
  1722. CONST MUIA_LeftEdge                       = $8042bec6 /* V4  ..g LONG              */
  1723. CONST MUIA_MaxHeight                      = $804293e4 /* V11 i.. LONG              */
  1724. CONST MUIA_MaxWidth                       = $8042f112 /* V11 i.. LONG              */
  1725. CONST MUIA_ObjectID                       = $8042d76e /* V11 isg ULONG             */
  1726. CONST MUIA_Pressed                        = $80423535 /* V4  ..g BOOL              */
  1727. CONST MUIA_RightEdge                      = $8042ba82 /* V4  ..g LONG              */
  1728. CONST MUIA_Selected                       = $8042654b /* V4  isg BOOL              */
  1729. CONST MUIA_ShortHelp                      = $80428fe3 /* V11 isg STRPTR            */
  1730. CONST MUIA_ShowMe                         = $80429ba8 /* V4  isg BOOL              */
  1731. CONST MUIA_ShowSelState                   = $8042caac /* V4  i.. BOOL              */
  1732. CONST MUIA_Timer                          = $80426435 /* V4  ..g LONG              */
  1733. CONST MUIA_TopEdge                        = $8042509b /* V4  ..g LONG              */
  1734. CONST MUIA_VertDisappear                  = $8042d12f /* V11 isg LONG              */
  1735. CONST MUIA_VertWeight                     = $804298d0 /* V4  i.. WORD              */
  1736. CONST MUIA_Weight                         = $80421d1f /* V4  i.. WORD              */
  1737. CONST MUIA_Width                          = $8042b59c /* V4  ..g LONG              */
  1738. CONST MUIA_Window                         = $80421591 /* V4  ..g struct Window *   */
  1739. CONST MUIA_WindowObject                   = $8042669e /* V4  ..g Object *          */
  1740.  
  1741. CONST MUIV_Font_Inherit = 0
  1742. CONST MUIV_Font_Normal = -1
  1743. CONST MUIV_Font_List = -2
  1744. CONST MUIV_Font_Tiny = -3
  1745. CONST MUIV_Font_Fixed = -4
  1746. CONST MUIV_Font_Title = -5
  1747. CONST MUIV_Font_Big = -6
  1748. CONST MUIV_Font_Button = -7
  1749. CONST MUIV_Frame_None = 0
  1750. CONST MUIV_Frame_Button = 1
  1751. CONST MUIV_Frame_ImageButton = 2
  1752. CONST MUIV_Frame_Text = 3
  1753. CONST MUIV_Frame_String = 4
  1754. CONST MUIV_Frame_ReadList = 5
  1755. CONST MUIV_Frame_InputList = 6
  1756. CONST MUIV_Frame_Prop = 7
  1757. CONST MUIV_Frame_Gauge = 8
  1758. CONST MUIV_Frame_Group = 9
  1759. CONST MUIV_Frame_PopUp = 10
  1760. CONST MUIV_Frame_Virtual = 11
  1761. CONST MUIV_Frame_Slider = 12
  1762. CONST MUIV_Frame_Count = 13
  1763. CONST MUIV_InputMode_None = 0
  1764. CONST MUIV_InputMode_RelVerify = 1
  1765. CONST MUIV_InputMode_Immediate = 2
  1766. CONST MUIV_InputMode_Toggle = 3
  1767.  
  1768.  
  1769. /****************************************************************************/
  1770. /** Rectangle                                                              **/
  1771. /****************************************************************************/
  1772.  
  1773. #define MUIC_Rectangle 'Rectangle.mui'
  1774.  
  1775. /* Attributes */
  1776.  
  1777. CONST MUIA_Rectangle_BarTitle             = $80426689 /* V11 i.g STRPTR            */
  1778. CONST MUIA_Rectangle_HBar                 = $8042c943 /* V7  i.g BOOL              */
  1779. CONST MUIA_Rectangle_VBar                 = $80422204 /* V7  i.g BOOL              */
  1780.  
  1781.  
  1782.  
  1783. /****************************************************************************/
  1784. /** Balance                                                                **/
  1785. /****************************************************************************/
  1786.  
  1787. #define MUIC_Balance 'Balance.mui'
  1788.  
  1789.  
  1790. /****************************************************************************/
  1791. /** Image                                                                  **/
  1792. /****************************************************************************/
  1793.  
  1794. #define MUIC_Image 'Image.mui'
  1795.  
  1796. /* Attributes */
  1797.  
  1798. CONST MUIA_Image_FontMatch                = $8042815d /* V4  i.. BOOL              */
  1799. CONST MUIA_Image_FontMatchHeight          = $80429f26 /* V4  i.. BOOL              */
  1800. CONST MUIA_Image_FontMatchWidth           = $804239bf /* V4  i.. BOOL              */
  1801. CONST MUIA_Image_FreeHoriz                = $8042da84 /* V4  i.. BOOL              */
  1802. CONST MUIA_Image_FreeVert                 = $8042ea28 /* V4  i.. BOOL              */
  1803. CONST MUIA_Image_OldImage                 = $80424f3d /* V4  i.. struct Image *    */
  1804. CONST MUIA_Image_Spec                     = $804233d5 /* V4  i.. char *            */
  1805. CONST MUIA_Image_State                    = $8042a3ad /* V4  is. LONG              */
  1806.  
  1807.  
  1808.  
  1809. /****************************************************************************/
  1810. /** Bitmap                                                                 **/
  1811. /****************************************************************************/
  1812.  
  1813. #define MUIC_Bitmap 'Bitmap.mui'
  1814.  
  1815. /* Attributes */
  1816.  
  1817. CONST MUIA_Bitmap_Bitmap                  = $804279bd /* V8  isg struct BitMap *   */
  1818. CONST MUIA_Bitmap_Height                  = $80421560 /* V8  isg LONG              */
  1819. CONST MUIA_Bitmap_MappingTable            = $8042e23d /* V8  isg UBYTE *           */
  1820. CONST MUIA_Bitmap_Precision               = $80420c74 /* V11 isg LONG              */
  1821. CONST MUIA_Bitmap_RemappedBitmap          = $80423a47 /* V11 ..g struct BitMap *   */
  1822. CONST MUIA_Bitmap_SourceColors            = $80425360 /* V8  isg ULONG *           */
  1823. CONST MUIA_Bitmap_Transparent             = $80422805 /* V8  isg LONG              */
  1824. CONST MUIA_Bitmap_UseFriend               = $804239d8 /* V11 i.. BOOL              */
  1825. CONST MUIA_Bitmap_Width                   = $8042eb3a /* V8  isg LONG              */
  1826.  
  1827.  
  1828.  
  1829. /****************************************************************************/
  1830. /** Bodychunk                                                              **/
  1831. /****************************************************************************/
  1832.  
  1833. #define MUIC_Bodychunk 'Bodychunk.mui'
  1834.  
  1835. /* Attributes */
  1836.  
  1837. CONST MUIA_Bodychunk_Body                 = $8042ca67 /* V8  isg UBYTE *           */
  1838. CONST MUIA_Bodychunk_Compression          = $8042de5f /* V8  isg UBYTE             */
  1839. CONST MUIA_Bodychunk_Depth                = $8042c392 /* V8  isg LONG              */
  1840. CONST MUIA_Bodychunk_Masking              = $80423b0e /* V8  isg UBYTE             */
  1841.  
  1842.  
  1843.  
  1844. /****************************************************************************/
  1845. /** Text                                                                   **/
  1846. /****************************************************************************/
  1847.  
  1848. #define MUIC_Text 'Text.mui'
  1849.  
  1850. /* Attributes */
  1851.  
  1852. CONST MUIA_Text_Contents                  = $8042f8dc /* V4  isg STRPTR            */
  1853. CONST MUIA_Text_HiChar                    = $804218ff /* V4  i.. char              */
  1854. CONST MUIA_Text_PreParse                  = $8042566d /* V4  isg STRPTR            */
  1855. CONST MUIA_Text_SetMax                    = $80424d0a /* V4  i.. BOOL              */
  1856. CONST MUIA_Text_SetMin                    = $80424e10 /* V4  i.. BOOL              */
  1857. CONST MUIA_Text_SetVMax                   = $80420d8b /* V11 i.. BOOL              */
  1858.  
  1859.  
  1860.  
  1861. /****************************************************************************/
  1862. /** Gadget                                                                 **/
  1863. /****************************************************************************/
  1864.  
  1865. #define MUIC_Gadget 'Gadget.mui'
  1866.  
  1867. /* Attributes */
  1868.  
  1869. CONST MUIA_Gadget_Gadget                  = $8042ec1a /* V11 ..g struct Gadget *   */
  1870.  
  1871.  
  1872.  
  1873. /****************************************************************************/
  1874. /** String                                                                 **/
  1875. /****************************************************************************/
  1876.  
  1877. #define MUIC_String 'String.mui'
  1878.  
  1879. /* Attributes */
  1880.  
  1881. CONST MUIA_String_Accept                  = $8042e3e1 /* V4  isg STRPTR            */
  1882. CONST MUIA_String_Acknowledge             = $8042026c /* V4  ..g STRPTR            */
  1883. CONST MUIA_String_AdvanceOnCR             = $804226de /* V11 isg BOOL              */
  1884. CONST MUIA_String_AttachedList            = $80420fd2 /* V4  i.. Object *          */
  1885. CONST MUIA_String_BufferPos               = $80428b6c /* V4  .s. LONG              */
  1886. CONST MUIA_String_Contents                = $80428ffd /* V4  isg STRPTR            */
  1887. CONST MUIA_String_DisplayPos              = $8042ccbf /* V4  .s. LONG              */
  1888. CONST MUIA_String_EditHook                = $80424c33 /* V7  isg struct Hook *     */
  1889. CONST MUIA_String_Format                  = $80427484 /* V4  i.g LONG              */
  1890. CONST MUIA_String_Integer                 = $80426e8a /* V4  isg ULONG             */
  1891. CONST MUIA_String_LonelyEditHook          = $80421569 /* V11 isg BOOL              */
  1892. CONST MUIA_String_MaxLen                  = $80424984 /* V4  i.g LONG              */
  1893. CONST MUIA_String_Reject                  = $8042179c /* V4  isg STRPTR            */
  1894. CONST MUIA_String_Secret                  = $80428769 /* V4  i.g BOOL              */
  1895.  
  1896. CONST MUIV_String_Format_Left = 0
  1897. CONST MUIV_String_Format_Center = 1
  1898. CONST MUIV_String_Format_Right = 2
  1899.  
  1900.  
  1901. /****************************************************************************/
  1902. /** Boopsi                                                                 **/
  1903. /****************************************************************************/
  1904.  
  1905. #define MUIC_Boopsi 'Boopsi.mui'
  1906.  
  1907. /* Attributes */
  1908.  
  1909. CONST MUIA_Boopsi_Class                   = $80426999 /* V4  isg struct IClass *   */
  1910. CONST MUIA_Boopsi_ClassID                 = $8042bfa3 /* V4  isg char *            */
  1911. CONST MUIA_Boopsi_MaxHeight               = $8042757f /* V4  isg ULONG             */
  1912. CONST MUIA_Boopsi_MaxWidth                = $8042bcb1 /* V4  isg ULONG             */
  1913. CONST MUIA_Boopsi_MinHeight               = $80422c93 /* V4  isg ULONG             */
  1914. CONST MUIA_Boopsi_MinWidth                = $80428fb2 /* V4  isg ULONG             */
  1915. CONST MUIA_Boopsi_Object                  = $80420178 /* V4  ..g Object *          */
  1916. CONST MUIA_Boopsi_Remember                = $8042f4bd /* V4  i.. ULONG             */
  1917. CONST MUIA_Boopsi_Smart                   = $8042b8d7 /* V9  i.. BOOL              */
  1918. CONST MUIA_Boopsi_TagDrawInfo             = $8042bae7 /* V4  isg ULONG             */
  1919. CONST MUIA_Boopsi_TagScreen               = $8042bc71 /* V4  isg ULONG             */
  1920. CONST MUIA_Boopsi_TagWindow               = $8042e11d /* V4  isg ULONG             */
  1921.  
  1922.  
  1923.  
  1924. /****************************************************************************/
  1925. /** Prop                                                                   **/
  1926. /****************************************************************************/
  1927.  
  1928. #define MUIC_Prop 'Prop.mui'
  1929.  
  1930. /* Methods */
  1931.  
  1932. CONST MUIM_Prop_Decrease                  = $80420dd1 /* V16 */
  1933. CONST MUIM_Prop_Increase                  = $8042cac0 /* V16 */
  1934.  
  1935. /* Attributes */
  1936.  
  1937. CONST MUIA_Prop_Entries                   = $8042fbdb /* V4  isg LONG              */
  1938. CONST MUIA_Prop_First                     = $8042d4b2 /* V4  isg LONG              */
  1939. CONST MUIA_Prop_Horiz                     = $8042f4f3 /* V4  i.g BOOL              */
  1940. CONST MUIA_Prop_Slider                    = $80429c3a /* V4  isg BOOL              */
  1941. CONST MUIA_Prop_UseWinBorder              = $8042deee /* V13 i.. LONG              */
  1942. CONST MUIA_Prop_Visible                   = $8042fea6 /* V4  isg LONG              */
  1943.  
  1944. CONST MUIV_Prop_UseWinBorder_None   = 0
  1945. CONST MUIV_Prop_UseWinBorder_Left   = 1
  1946. CONST MUIV_Prop_UseWinBorder_Right  = 2
  1947. CONST MUIV_Prop_UseWinBorder_Bottom = 3
  1948.  
  1949.  
  1950. /****************************************************************************/
  1951. /** Gauge                                                                  **/
  1952. /****************************************************************************/
  1953.  
  1954. #define MUIC_Gauge 'Gauge.mui'
  1955.  
  1956. /* Attributes */
  1957.  
  1958. CONST MUIA_Gauge_Current                  = $8042f0dd /* V4  isg LONG              */
  1959. CONST MUIA_Gauge_Divide                   = $8042d8df /* V4  isg BOOL              */
  1960. CONST MUIA_Gauge_Horiz                    = $804232dd /* V4  i.. BOOL              */
  1961. CONST MUIA_Gauge_InfoText                 = $8042bf15 /* V7  isg STRPTR            */
  1962. CONST MUIA_Gauge_Max                      = $8042bcdb /* V4  isg LONG              */
  1963.  
  1964.  
  1965.  
  1966. /****************************************************************************/
  1967. /** Scale                                                                  **/
  1968. /****************************************************************************/
  1969.  
  1970. #define MUIC_Scale 'Scale.mui'
  1971.  
  1972. /* Attributes */
  1973.  
  1974. CONST MUIA_Scale_Horiz                    = $8042919a /* V4  isg BOOL              */
  1975.  
  1976.  
  1977.  
  1978. /****************************************************************************/
  1979. /** Colorfield                                                             **/
  1980. /****************************************************************************/
  1981.  
  1982. #define MUIC_Colorfield 'Colorfield.mui'
  1983.  
  1984. /* Attributes */
  1985.  
  1986. CONST MUIA_Colorfield_Blue                = $8042d3b0 /* V4  isg ULONG             */
  1987. CONST MUIA_Colorfield_Green               = $80424466 /* V4  isg ULONG             */
  1988. CONST MUIA_Colorfield_Pen                 = $8042713a /* V4  ..g ULONG             */
  1989. CONST MUIA_Colorfield_Red                 = $804279f6 /* V4  isg ULONG             */
  1990. CONST MUIA_Colorfield_RGB                 = $8042677a /* V4  isg ULONG *           */
  1991.  
  1992.  
  1993.  
  1994. /****************************************************************************/
  1995. /** List                                                                   **/
  1996. /****************************************************************************/
  1997.  
  1998. #define MUIC_List 'List.mui'
  1999.  
  2000. /* Methods */
  2001.  
  2002. CONST MUIM_List_Clear                = $8042ad89 /* V4  */
  2003. CONST MUIM_List_CreateImage          = $80429804 /* V11 */
  2004. CONST MUIM_List_DeleteImage          = $80420f58 /* V11 */
  2005. CONST MUIM_List_Exchange             = $8042468c /* V4  */
  2006. CONST MUIM_List_GetEntry             = $804280ec /* V4  */
  2007. CONST MUIM_List_Insert               = $80426c87 /* V4  */
  2008. CONST MUIM_List_InsertSingle         = $804254d5 /* V7  */
  2009. CONST MUIM_List_Jump                 = $8042baab /* V4  */
  2010. CONST MUIM_List_Move                 = $804253c2 /* V9  */
  2011. CONST MUIM_List_NextSelected         = $80425f17 /* V6  */
  2012. CONST MUIM_List_Redraw               = $80427993 /* V4  */
  2013. CONST MUIM_List_Remove               = $8042647e /* V4  */
  2014. CONST MUIM_List_Select               = $804252d8 /* V4  */
  2015. CONST MUIM_List_Sort                 = $80422275 /* V4  */
  2016. CONST MUIM_List_TestPos              = $80425f48 /* V11 */
  2017.  
  2018. /* Attributes */
  2019.  
  2020. CONST MUIA_List_Active                    = $8042391c /* V4  isg LONG              */
  2021. CONST MUIA_List_AdjustHeight              = $8042850d /* V4  i.. BOOL              */
  2022. CONST MUIA_List_AdjustWidth               = $8042354a /* V4  i.. BOOL              */
  2023. CONST MUIA_List_AutoVisible               = $8042a445 /* V11 isg BOOL              */
  2024. CONST MUIA_List_CompareHook               = $80425c14 /* V4  is. struct Hook *     */
  2025. CONST MUIA_List_ConstructHook             = $8042894f /* V4  is. struct Hook *     */
  2026. CONST MUIA_List_DestructHook              = $804297ce /* V4  is. struct Hook *     */
  2027. CONST MUIA_List_DisplayHook               = $8042b4d5 /* V4  is. struct Hook *     */
  2028. CONST MUIA_List_DragSortable              = $80426099 /* V11 isg BOOL              */
  2029. CONST MUIA_List_DropMark                  = $8042aba6 /* V11 ..g LONG              */
  2030. CONST MUIA_List_Entries                   = $80421654 /* V4  ..g LONG              */
  2031. CONST MUIA_List_First                     = $804238d4 /* V4  ..g LONG              */
  2032. CONST MUIA_List_Format                    = $80423c0a /* V4  isg STRPTR            */
  2033. CONST MUIA_List_InsertPosition            = $8042d0cd /* V9  ..g LONG              */
  2034. CONST MUIA_List_MinLineHeight             = $8042d1c3 /* V4  i.. LONG              */
  2035. CONST MUIA_List_MultiTestHook             = $8042c2c6 /* V4  is. struct Hook *     */
  2036. CONST MUIA_List_Pool                      = $80423431 /* V13 i.. APTR              */
  2037. CONST MUIA_List_PoolPuddleSize            = $8042a4eb /* V13 i.. ULONG             */
  2038. CONST MUIA_List_PoolThreshSize            = $8042c48c /* V13 i.. ULONG             */
  2039. CONST MUIA_List_Quiet                     = $8042d8c7 /* V4  .s. BOOL              */
  2040. CONST MUIA_List_ShowDropMarks             = $8042c6f3 /* V11 isg BOOL              */
  2041. CONST MUIA_List_SourceArray               = $8042c0a0 /* V4  i.. APTR              */
  2042. CONST MUIA_List_Title                     = $80423e66 /* V6  isg char *            */
  2043. CONST MUIA_List_Visible                   = $8042191f /* V4  ..g LONG              */
  2044.  
  2045. CONST MUIV_List_Active_Off = -1
  2046. CONST MUIV_List_Active_Top = -2
  2047. CONST MUIV_List_Active_Bottom = -3
  2048. CONST MUIV_List_Active_Up = -4
  2049. CONST MUIV_List_Active_Down = -5
  2050. CONST MUIV_List_Active_PageUp = -6
  2051. CONST MUIV_List_Active_PageDown = -7
  2052. CONST MUIV_List_ConstructHook_String = -1
  2053. CONST MUIV_List_DestructHook_String = -1
  2054. CONST MUIV_List_CopyHook_String      = -1
  2055. CONST MUIV_List_CursorType_None      =  0
  2056. CONST MUIV_List_CursorType_Bar       =  1
  2057. CONST MUIV_List_CursorType_Rect      =  2
  2058.  
  2059.  
  2060. /****************************************************************************/
  2061. /** Floattext                                                              **/
  2062. /****************************************************************************/
  2063.  
  2064. #define MUIC_Floattext 'Floattext.mui'
  2065.  
  2066. /* Attributes */
  2067.  
  2068. CONST MUIA_Floattext_Justify              = $8042dc03 /* V4  isg BOOL              */
  2069. CONST MUIA_Floattext_SkipChars            = $80425c7d /* V4  is. STRPTR            */
  2070. CONST MUIA_Floattext_TabSize              = $80427d17 /* V4  is. LONG              */
  2071. CONST MUIA_Floattext_Text                 = $8042d16a /* V4  isg STRPTR            */
  2072.  
  2073.  
  2074.  
  2075. /****************************************************************************/
  2076. /** Volumelist                                                             **/
  2077. /****************************************************************************/
  2078.  
  2079. #define MUIC_Volumelist 'Volumelist.mui'
  2080.  
  2081.  
  2082. /****************************************************************************/
  2083. /** Scrmodelist                                                            **/
  2084. /****************************************************************************/
  2085.  
  2086. #define MUIC_Scrmodelist 'Scrmodelist.mui'
  2087.  
  2088. /* Attributes */
  2089.  
  2090.  
  2091.  
  2092.  
  2093. /****************************************************************************/
  2094. /** Dirlist                                                                **/
  2095. /****************************************************************************/
  2096.  
  2097. #define MUIC_Dirlist 'Dirlist.mui'
  2098.  
  2099. /* Methods */
  2100.  
  2101. CONST MUIM_Dirlist_ReRead            = $80422d71 /* V4  */
  2102.  
  2103. /* Attributes */
  2104.  
  2105. CONST MUIA_Dirlist_AcceptPattern          = $8042760a /* V4  is. STRPTR            */
  2106. CONST MUIA_Dirlist_Directory              = $8042ea41 /* V4  isg STRPTR            */
  2107. CONST MUIA_Dirlist_DrawersOnly            = $8042b379 /* V4  is. BOOL              */
  2108. CONST MUIA_Dirlist_FilesOnly              = $8042896a /* V4  is. BOOL              */
  2109. CONST MUIA_Dirlist_FilterDrawers          = $80424ad2 /* V4  is. BOOL              */
  2110. CONST MUIA_Dirlist_FilterHook             = $8042ae19 /* V4  is. struct Hook *     */
  2111. CONST MUIA_Dirlist_MultiSelDirs           = $80428653 /* V6  is. BOOL              */
  2112. CONST MUIA_Dirlist_NumBytes               = $80429e26 /* V4  ..g LONG              */
  2113. CONST MUIA_Dirlist_NumDrawers             = $80429cb8 /* V4  ..g LONG              */
  2114. CONST MUIA_Dirlist_NumFiles               = $8042a6f0 /* V4  ..g LONG              */
  2115. CONST MUIA_Dirlist_Path                   = $80426176 /* V4  ..g STRPTR            */
  2116. CONST MUIA_Dirlist_RejectIcons            = $80424808 /* V4  is. BOOL              */
  2117. CONST MUIA_Dirlist_RejectPattern          = $804259c7 /* V4  is. STRPTR            */
  2118. CONST MUIA_Dirlist_SortDirs               = $8042bbb9 /* V4  is. LONG              */
  2119. CONST MUIA_Dirlist_SortHighLow            = $80421896 /* V4  is. BOOL              */
  2120. CONST MUIA_Dirlist_SortType               = $804228bc /* V4  is. LONG              */
  2121. CONST MUIA_Dirlist_Status                 = $804240de /* V4  ..g LONG              */
  2122.  
  2123. CONST MUIV_Dirlist_SortDirs_First = 0
  2124. CONST MUIV_Dirlist_SortDirs_Last = 1
  2125. CONST MUIV_Dirlist_SortDirs_Mix = 2
  2126. CONST MUIV_Dirlist_SortType_Name = 0
  2127. CONST MUIV_Dirlist_SortType_Date = 1
  2128. CONST MUIV_Dirlist_SortType_Size = 2
  2129. CONST MUIV_Dirlist_Status_Invalid = 0
  2130. CONST MUIV_Dirlist_Status_Reading = 1
  2131. CONST MUIV_Dirlist_Status_Valid = 2
  2132.  
  2133.  
  2134. /****************************************************************************/
  2135. /** Numeric                                                                **/
  2136. /****************************************************************************/
  2137.  
  2138. #define MUIC_Numeric 'Numeric.mui'
  2139.  
  2140. /* Methods */
  2141.  
  2142. CONST MUIM_Numeric_Decrease          = $804243a7 /* V11 */
  2143. CONST MUIM_Numeric_Increase          = $80426ecd /* V11 */
  2144. CONST MUIM_Numeric_ScaleToValue      = $8042032c /* V11 */
  2145. CONST MUIM_Numeric_SetDefault        = $8042ab0a /* V11 */
  2146. CONST MUIM_Numeric_Stringify         = $80424891 /* V11 */
  2147. CONST MUIM_Numeric_ValueToScale      = $80423e4f /* V11 */
  2148.  
  2149. /* Attributes */
  2150.  
  2151. CONST MUIA_Numeric_Default                = $804263e8 /* V11 isg LONG              */
  2152. CONST MUIA_Numeric_Format                 = $804263e9 /* V11 isg STRPTR            */
  2153. CONST MUIA_Numeric_Max                    = $8042d78a /* V11 isg LONG              */
  2154. CONST MUIA_Numeric_Min                    = $8042e404 /* V11 isg LONG              */
  2155. CONST MUIA_Numeric_Reverse                = $8042f2a0 /* V11 isg BOOL              */
  2156. CONST MUIA_Numeric_RevLeftRight           = $804294a7 /* V11 isg BOOL              */
  2157. CONST MUIA_Numeric_RevUpDown              = $804252dd /* V11 isg BOOL              */
  2158. CONST MUIA_Numeric_Value                  = $8042ae3a /* V11 isg LONG              */
  2159.  
  2160.  
  2161.  
  2162. /****************************************************************************/
  2163. /** Framedisplay                                                           **/
  2164. /****************************************************************************/
  2165.  
  2166. #define MUIC_Framedisplay 'Framedisplay.mui'
  2167.  
  2168. /* Attributes */
  2169.  
  2170.  
  2171.  
  2172.  
  2173. /****************************************************************************/
  2174. /** Popframe                                                               **/
  2175. /****************************************************************************/
  2176.  
  2177. #define MUIC_Popframe 'Popframe.mui'
  2178.  
  2179.  
  2180. /****************************************************************************/
  2181. /** Imagedisplay                                                           **/
  2182. /****************************************************************************/
  2183.  
  2184. #define MUIC_Imagedisplay 'Imagedisplay.mui'
  2185.  
  2186. /* Attributes */
  2187.  
  2188.  
  2189.  
  2190.  
  2191. /****************************************************************************/
  2192. /** Popimage                                                               **/
  2193. /****************************************************************************/
  2194.  
  2195. #define MUIC_Popimage 'Popimage.mui'
  2196.  
  2197.  
  2198. /****************************************************************************/
  2199. /** Pendisplay                                                             **/
  2200. /****************************************************************************/
  2201.  
  2202. #define MUIC_Pendisplay 'Pendisplay.mui'
  2203.  
  2204. /* Methods */
  2205.  
  2206. CONST MUIM_Pendisplay_SetColormap         = $80426c80 /* V13 */
  2207. CONST MUIM_Pendisplay_SetMUIPen           = $8042039d /* V13 */
  2208. CONST MUIM_Pendisplay_SetRGB              = $8042c131 /* V13 */
  2209.  
  2210. /* Attributes */
  2211.  
  2212. CONST MUIA_Pendisplay_Pen                 = $8042a748 /* V13 ..g Object *          */
  2213. CONST MUIA_Pendisplay_Reference           = $8042dc24 /* V13 isg Object *          */
  2214. CONST MUIA_Pendisplay_RGBcolor            = $8042a1a9 /* V11 isg struct MUI_RBBcolor * */
  2215. CONST MUIA_Pendisplay_Spec                = $8042a204 /* V11 isg struct MUI_PenSpec  * */
  2216.  
  2217.  
  2218.  
  2219. /****************************************************************************/
  2220. /** Poppen                                                                 **/
  2221. /****************************************************************************/
  2222.  
  2223. #define MUIC_Poppen 'Poppen.mui'
  2224.  
  2225.  
  2226. /****************************************************************************/
  2227. /** Knob                                                                   **/
  2228. /****************************************************************************/
  2229.  
  2230. #define MUIC_Knob 'Knob.mui'
  2231.  
  2232.  
  2233. /****************************************************************************/
  2234. /** Levelmeter                                                             **/
  2235. /****************************************************************************/
  2236.  
  2237. #define MUIC_Levelmeter 'Levelmeter.mui'
  2238.  
  2239. /* Attributes */
  2240.  
  2241. CONST MUIA_Levelmeter_Label               = $80420dd5 /* V11 isg STRPTR            */
  2242.  
  2243.  
  2244.  
  2245. /****************************************************************************/
  2246. /** Numericbutton                                                          **/
  2247. /****************************************************************************/
  2248.  
  2249. #define MUIC_Numericbutton 'Numericbutton.mui'
  2250.  
  2251.  
  2252. /****************************************************************************/
  2253. /** Slider                                                                 **/
  2254. /****************************************************************************/
  2255.  
  2256. #define MUIC_Slider 'Slider.mui'
  2257.  
  2258. /* Attributes */
  2259.  
  2260. CONST MUIA_Slider_Horiz                   = $8042fad1 /* V11 isg BOOL              */
  2261. CONST MUIA_Slider_Level                   = $8042ae3a /* V4  isg LONG              */
  2262. CONST MUIA_Slider_Max                     = $8042d78a /* V4  isg LONG              */
  2263. CONST MUIA_Slider_Min                     = $8042e404 /* V4  isg LONG              */
  2264. CONST MUIA_Slider_Quiet                   = $80420b26 /* V6  i.. BOOL              */
  2265. CONST MUIA_Slider_Reverse                 = $8042f2a0 /* V4  isg BOOL              */
  2266.  
  2267.  
  2268.  
  2269. /****************************************************************************/
  2270. /** Group                                                                  **/
  2271. /****************************************************************************/
  2272.  
  2273. #define MUIC_Group 'Group.mui'
  2274.  
  2275. /* Methods */
  2276.  
  2277. CONST MUIM_Group_ExitChange          = $8042d1cc /* V11 */
  2278. CONST MUIM_Group_InitChange          = $80420887 /* V11 */
  2279. CONST MUIM_Group_Sort                = $80427417 /* V4  */
  2280.  
  2281. /* Attributes */
  2282.  
  2283. CONST MUIA_Group_ActivePage               = $80424199 /* V5  isg LONG              */
  2284. CONST MUIA_Group_Child                    = $804226e6 /* V4  i.. Object *          */
  2285. CONST MUIA_Group_ChildList                = $80424748 /* V4  ..g struct List *     */
  2286. CONST MUIA_Group_Columns                  = $8042f416 /* V4  is. LONG              */
  2287. CONST MUIA_Group_Horiz                    = $8042536b /* V4  i.. BOOL              */
  2288. CONST MUIA_Group_HorizSpacing             = $8042c651 /* V4  is. LONG              */
  2289. CONST MUIA_Group_LayoutHook               = $8042c3b2 /* V11 i.. struct Hook *     */
  2290. CONST MUIA_Group_PageMode                 = $80421a5f /* V5  i.. BOOL              */
  2291. CONST MUIA_Group_Rows                     = $8042b68f /* V4  is. LONG              */
  2292. CONST MUIA_Group_SameHeight               = $8042037e /* V4  i.. BOOL              */
  2293. CONST MUIA_Group_SameSize                 = $80420860 /* V4  i.. BOOL              */
  2294. CONST MUIA_Group_SameWidth                = $8042b3ec /* V4  i.. BOOL              */
  2295. CONST MUIA_Group_Spacing                  = $8042866d /* V4  is. LONG              */
  2296. CONST MUIA_Group_VertSpacing              = $8042e1bf /* V4  is. LONG              */
  2297.  
  2298. CONST MUIV_Group_ActivePage_First   =  0
  2299. CONST MUIV_Group_ActivePage_Last    = -1
  2300. CONST MUIV_Group_ActivePage_Prev    = -2
  2301. CONST MUIV_Group_ActivePage_Next    = -3
  2302. CONST MUIV_Group_ActivePage_Advance = -4
  2303.  
  2304.  
  2305. /****************************************************************************/
  2306. /** Mccprefs                                                               **/
  2307. /****************************************************************************/
  2308.  
  2309. #define MUIC_Mccprefs 'Mccprefs.mui'
  2310.  
  2311.  
  2312. /****************************************************************************/
  2313. /** Register                                                               **/
  2314. /****************************************************************************/
  2315.  
  2316. #define MUIC_Register 'Register.mui'
  2317.  
  2318. /* Attributes */
  2319.  
  2320. CONST MUIA_Register_Frame                 = $8042349b /* V7  i.g BOOL              */
  2321. CONST MUIA_Register_Titles                = $804297ec /* V7  i.g STRPTR *          */
  2322.  
  2323.  
  2324.  
  2325. /****************************************************************************/
  2326. /** Settingsgroup                                                          **/
  2327. /****************************************************************************/
  2328.  
  2329. #define MUIC_Settingsgroup 'Settingsgroup.mui'
  2330.  
  2331. /* Methods */
  2332.  
  2333. CONST MUIM_Settingsgroup_ConfigToGadgets  = $80427043 /* V11 */
  2334. CONST MUIM_Settingsgroup_GadgetsToConfig  = $80425242 /* V11 */
  2335.  
  2336. /* Attributes */
  2337.  
  2338.  
  2339.  
  2340.  
  2341. /****************************************************************************/
  2342. /** Settings                                                               **/
  2343. /****************************************************************************/
  2344.  
  2345. #define MUIC_Settings 'Settings.mui'
  2346.  
  2347. /* Methods */
  2348.  
  2349.  
  2350. /* Attributes */
  2351.  
  2352.  
  2353.  
  2354.  
  2355. /****************************************************************************/
  2356. /** Frameadjust                                                            **/
  2357. /****************************************************************************/
  2358.  
  2359. #define MUIC_Frameadjust 'Frameadjust.mui'
  2360.  
  2361. /* Methods */
  2362.  
  2363.  
  2364. /* Attributes */
  2365.  
  2366.  
  2367.  
  2368.  
  2369. /****************************************************************************/
  2370. /** Penadjust                                                              **/
  2371. /****************************************************************************/
  2372.  
  2373. #define MUIC_Penadjust 'Penadjust.mui'
  2374.  
  2375. /* Methods */
  2376.  
  2377.  
  2378. /* Attributes */
  2379.  
  2380. CONST MUIA_Penadjust_PSIMode              = $80421cbb /* V11 i.. BOOL              */
  2381.  
  2382.  
  2383.  
  2384. /****************************************************************************/
  2385. /** Imageadjust                                                            **/
  2386. /****************************************************************************/
  2387.  
  2388. #define MUIC_Imageadjust 'Imageadjust.mui'
  2389.  
  2390. /* Methods */
  2391.  
  2392.  
  2393. /* Attributes */
  2394.  
  2395.  
  2396. CONST MUIV_Imageadjust_Type_All = 0
  2397. CONST MUIV_Imageadjust_Type_Image = 1
  2398. CONST MUIV_Imageadjust_Type_Background = 2
  2399. CONST MUIV_Imageadjust_Type_Pen = 3
  2400.  
  2401.  
  2402. /****************************************************************************/
  2403. /** Virtgroup                                                              **/
  2404. /****************************************************************************/
  2405.  
  2406. #define MUIC_Virtgroup 'Virtgroup.mui'
  2407.  
  2408. /* Methods */
  2409.  
  2410.  
  2411. /* Attributes */
  2412.  
  2413. CONST MUIA_Virtgroup_Height               = $80423038 /* V6  ..g LONG              */
  2414. CONST MUIA_Virtgroup_Input                = $80427f7e /* V11 i.. BOOL              */
  2415. CONST MUIA_Virtgroup_Left                 = $80429371 /* V6  isg LONG              */
  2416. CONST MUIA_Virtgroup_Top                  = $80425200 /* V6  isg LONG              */
  2417. CONST MUIA_Virtgroup_Width                = $80427c49 /* V6  ..g LONG              */
  2418.  
  2419.  
  2420.  
  2421. /****************************************************************************/
  2422. /** Scrollgroup                                                            **/
  2423. /****************************************************************************/
  2424.  
  2425. #define MUIC_Scrollgroup 'Scrollgroup.mui'
  2426.  
  2427. /* Methods */
  2428.  
  2429.  
  2430. /* Attributes */
  2431.  
  2432. CONST MUIA_Scrollgroup_Contents           = $80421261 /* V4  i.. Object *          */
  2433. CONST MUIA_Scrollgroup_FreeHoriz          = $804292f3 /* V9  i.. BOOL              */
  2434. CONST MUIA_Scrollgroup_FreeVert           = $804224f2 /* V9  i.. BOOL              */
  2435. CONST MUIA_Scrollgroup_HorizBar           = $8042b63d /* V16 ..g Object *          */
  2436. CONST MUIA_Scrollgroup_UseWinBorder       = $804284c1 /* V13 i.. BOOL              */
  2437. CONST MUIA_Scrollgroup_VertBar            = $8042cdc0 /* V16 ..g Object *          */
  2438.  
  2439.  
  2440.  
  2441. /****************************************************************************/
  2442. /** Scrollbar                                                              **/
  2443. /****************************************************************************/
  2444.  
  2445. #define MUIC_Scrollbar 'Scrollbar.mui'
  2446.  
  2447. /* Attributes */
  2448.  
  2449. CONST MUIA_Scrollbar_Type                 = $8042fb6b /* V11 i.. LONG              */
  2450.  
  2451. CONST MUIV_Scrollbar_Type_Default = 0
  2452. CONST MUIV_Scrollbar_Type_Bottom = 1
  2453. CONST MUIV_Scrollbar_Type_Top = 2
  2454. CONST MUIV_Scrollbar_Type_Sym = 3
  2455.  
  2456.  
  2457. /****************************************************************************/
  2458. /** Listview                                                               **/
  2459. /****************************************************************************/
  2460.  
  2461. #define MUIC_Listview 'Listview.mui'
  2462.  
  2463. /* Attributes */
  2464.  
  2465. CONST MUIA_Listview_ClickColumn           = $8042d1b3 /* V7  ..g LONG              */
  2466. CONST MUIA_Listview_DefClickColumn        = $8042b296 /* V7  isg LONG              */
  2467. CONST MUIA_Listview_DoubleClick           = $80424635 /* V4  i.g BOOL              */
  2468. CONST MUIA_Listview_DragType              = $80425cd3 /* V11 isg LONG              */
  2469. CONST MUIA_Listview_Input                 = $8042682d /* V4  i.. BOOL              */
  2470. CONST MUIA_Listview_List                  = $8042bcce /* V4  i.g Object *          */
  2471. CONST MUIA_Listview_MultiSelect           = $80427e08 /* V7  i.. LONG              */
  2472. CONST MUIA_Listview_ScrollerPos           = $8042b1b4 /* V10 i.. BOOL              */
  2473. CONST MUIA_Listview_SelectChange          = $8042178f /* V4  ..g BOOL              */
  2474.  
  2475. CONST MUIV_Listview_DragType_None = 0
  2476. CONST MUIV_Listview_DragType_Immediate = 1
  2477. CONST MUIV_Listview_MultiSelect_None = 0
  2478. CONST MUIV_Listview_MultiSelect_Default = 1
  2479. CONST MUIV_Listview_MultiSelect_Shifted = 2
  2480. CONST MUIV_Listview_MultiSelect_Always = 3
  2481. CONST MUIV_Listview_ScrollerPos_Default = 0
  2482. CONST MUIV_Listview_ScrollerPos_Left = 1
  2483. CONST MUIV_Listview_ScrollerPos_Right = 2
  2484. CONST MUIV_Listview_ScrollerPos_None = 3
  2485.  
  2486.  
  2487. /****************************************************************************/
  2488. /** Radio                                                                  **/
  2489. /****************************************************************************/
  2490.  
  2491. #define MUIC_Radio 'Radio.mui'
  2492.  
  2493. /* Attributes */
  2494.  
  2495. CONST MUIA_Radio_Active                   = $80429b41 /* V4  isg LONG              */
  2496. CONST MUIA_Radio_Entries                  = $8042b6a1 /* V4  i.. STRPTR *          */
  2497.  
  2498.  
  2499.  
  2500. /****************************************************************************/
  2501. /** Cycle                                                                  **/
  2502. /****************************************************************************/
  2503.  
  2504. #define MUIC_Cycle 'Cycle.mui'
  2505.  
  2506. /* Attributes */
  2507.  
  2508. CONST MUIA_Cycle_Active                   = $80421788 /* V4  isg LONG              */
  2509. CONST MUIA_Cycle_Entries                  = $80420629 /* V4  i.. STRPTR *          */
  2510.  
  2511. CONST MUIV_Cycle_Active_Next = -1
  2512. CONST MUIV_Cycle_Active_Prev = -2
  2513.  
  2514.  
  2515. /****************************************************************************/
  2516. /** Coloradjust                                                            **/
  2517. /****************************************************************************/
  2518.  
  2519. #define MUIC_Coloradjust 'Coloradjust.mui'
  2520.  
  2521. /* Attributes */
  2522.  
  2523. CONST MUIA_Coloradjust_Blue               = $8042b8a3 /* V4  isg ULONG             */
  2524. CONST MUIA_Coloradjust_Green              = $804285ab /* V4  isg ULONG             */
  2525. CONST MUIA_Coloradjust_ModeID             = $8042ec59 /* V4  isg ULONG             */
  2526. CONST MUIA_Coloradjust_Red                = $80420eaa /* V4  isg ULONG             */
  2527. CONST MUIA_Coloradjust_RGB                = $8042f899 /* V4  isg ULONG *           */
  2528.  
  2529.  
  2530.  
  2531. /****************************************************************************/
  2532. /** Palette                                                                **/
  2533. /****************************************************************************/
  2534.  
  2535. #define MUIC_Palette 'Palette.mui'
  2536.  
  2537. /* Attributes */
  2538.  
  2539. CONST MUIA_Palette_Entries                = $8042a3d8 /* V6  i.g struct MUI_Palette_Entry * */
  2540. CONST MUIA_Palette_Groupable              = $80423e67 /* V6  isg BOOL              */
  2541. CONST MUIA_Palette_Names                  = $8042c3a2 /* V6  isg char **           */
  2542.  
  2543.  
  2544.  
  2545. /****************************************************************************/
  2546. /** Popstring                                                              **/
  2547. /****************************************************************************/
  2548.  
  2549. #define MUIC_Popstring 'Popstring.mui'
  2550.  
  2551. /* Methods */
  2552.  
  2553. CONST MUIM_Popstring_Close           = $8042dc52 /* V7  */
  2554. CONST MUIM_Popstring_Open            = $804258ba /* V7  */
  2555.  
  2556. /* Attributes */
  2557.  
  2558. CONST MUIA_Popstring_Button               = $8042d0b9 /* V7  i.g Object *          */
  2559. CONST MUIA_Popstring_CloseHook            = $804256bf /* V7  isg struct Hook *     */
  2560. CONST MUIA_Popstring_OpenHook             = $80429d00 /* V7  isg struct Hook *     */
  2561. CONST MUIA_Popstring_String               = $804239ea /* V7  i.g Object *          */
  2562. CONST MUIA_Popstring_Toggle               = $80422b7a /* V7  isg BOOL              */
  2563.  
  2564.  
  2565.  
  2566. /****************************************************************************/
  2567. /** Popobject                                                              **/
  2568. /****************************************************************************/
  2569.  
  2570. #define MUIC_Popobject 'Popobject.mui'
  2571.  
  2572. /* Attributes */
  2573.  
  2574. CONST MUIA_Popobject_Follow               = $80424cb5 /* V7  isg BOOL              */
  2575. CONST MUIA_Popobject_Light                = $8042a5a3 /* V7  isg BOOL              */
  2576. CONST MUIA_Popobject_Object               = $804293e3 /* V7  i.g Object *          */
  2577. CONST MUIA_Popobject_ObjStrHook           = $8042db44 /* V7  isg struct Hook *     */
  2578. CONST MUIA_Popobject_StrObjHook           = $8042fbe1 /* V7  isg struct Hook *     */
  2579. CONST MUIA_Popobject_Volatile             = $804252ec /* V7  isg BOOL              */
  2580. CONST MUIA_Popobject_WindowHook           = $8042f194 /* V9  isg struct Hook *     */
  2581.  
  2582.  
  2583.  
  2584. /****************************************************************************/
  2585. /** Poplist                                                                **/
  2586. /****************************************************************************/
  2587.  
  2588. #define MUIC_Poplist 'Poplist.mui'
  2589.  
  2590. /* Attributes */
  2591.  
  2592. CONST MUIA_Poplist_Array                  = $8042084c /* V8  i.. char **           */
  2593.  
  2594.  
  2595.  
  2596. /****************************************************************************/
  2597. /** Popscreen                                                              **/
  2598. /****************************************************************************/
  2599.  
  2600. #define MUIC_Popscreen 'Popscreen.mui'
  2601.  
  2602. /* Attributes */
  2603.  
  2604.  
  2605.  
  2606.  
  2607. /****************************************************************************/
  2608. /** Popasl                                                                 **/
  2609. /****************************************************************************/
  2610.  
  2611. #define MUIC_Popasl 'Popasl.mui'
  2612.  
  2613. /* Attributes */
  2614.  
  2615. CONST MUIA_Popasl_Active                  = $80421b37 /* V7  ..g BOOL              */
  2616. CONST MUIA_Popasl_StartHook               = $8042b703 /* V7  isg struct Hook *     */
  2617. CONST MUIA_Popasl_StopHook                = $8042d8d2 /* V7  isg struct Hook *     */
  2618. CONST MUIA_Popasl_Type                    = $8042df3d /* V7  i.g ULONG             */
  2619.  
  2620.  
  2621.  
  2622. /****************************************************************************/
  2623. /** Semaphore                                                              **/
  2624. /****************************************************************************/
  2625.  
  2626. #define MUIC_Semaphore 'Semaphore.mui'
  2627.  
  2628. /* Methods */
  2629.  
  2630. CONST MUIM_Semaphore_Attempt         = $80426ce2 /* V11 */
  2631. CONST MUIM_Semaphore_AttemptShared   = $80422551 /* V11 */
  2632. CONST MUIM_Semaphore_Obtain          = $804276f0 /* V11 */
  2633. CONST MUIM_Semaphore_ObtainShared    = $8042ea02 /* V11 */
  2634. CONST MUIM_Semaphore_Release         = $80421f2d /* V11 */
  2635.  
  2636.  
  2637. /****************************************************************************/
  2638. /** Applist                                                                **/
  2639. /****************************************************************************/
  2640.  
  2641. #define MUIC_Applist 'Applist.mui'
  2642.  
  2643. /* Methods */
  2644.  
  2645.  
  2646.  
  2647. /****************************************************************************/
  2648. /** Cclist                                                                 **/
  2649. /****************************************************************************/
  2650.  
  2651. #define MUIC_Cclist 'Cclist.mui'
  2652.  
  2653. /* Methods */
  2654.  
  2655.  
  2656.  
  2657. /****************************************************************************/
  2658. /** Dataspace                                                              **/
  2659. /****************************************************************************/
  2660.  
  2661. #define MUIC_Dataspace 'Dataspace.mui'
  2662.  
  2663. /* Methods */
  2664.  
  2665. CONST MUIM_Dataspace_Add             = $80423366 /* V11 */
  2666. CONST MUIM_Dataspace_Clear           = $8042b6c9 /* V11 */
  2667. CONST MUIM_Dataspace_Find            = $8042832c /* V11 */
  2668. CONST MUIM_Dataspace_Merge           = $80423e2b /* V11 */
  2669. CONST MUIM_Dataspace_ReadIFF         = $80420dfb /* V11 */
  2670. CONST MUIM_Dataspace_Remove          = $8042dce1 /* V11 */
  2671. CONST MUIM_Dataspace_WriteIFF        = $80425e8e /* V11 */
  2672.  
  2673. /* Attributes */
  2674.  
  2675. CONST MUIA_Dataspace_Pool                 = $80424cf9 /* V11 i.. APTR              */
  2676.  
  2677.  
  2678.  
  2679. /****************************************************************************/
  2680. /** Configdata                                                             **/
  2681. /****************************************************************************/
  2682.  
  2683. #define MUIC_Configdata 'Configdata.mui'
  2684.  
  2685. /* Methods */
  2686.  
  2687.  
  2688. /* Attributes */
  2689.  
  2690.  
  2691.  
  2692. /*** End Of File ***/
  2693.  
  2694.