home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 5 / amigaformatcd05.iso / mui / developer / amiga-e / modules / libraries / mui.e < prev    next >
Encoding:
Text File  |  1996-08-13  |  99.5 KB  |  2,505 lines

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