home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / libraries / asl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-20  |  19.1 KB  |  471 lines

  1. #ifndef    LIBRARIES_ASL_H
  2. #define    LIBRARIES_ASL_H
  3. /*
  4. **    $VER: asl.h 44.1 (12.5.1999)
  5. **    Includes Release 44.1
  6. **
  7. **    ASL library structures and constants
  8. **
  9. **    Copyright © 1989-1999 Amiga, Inc.
  10. **    Copyright © 1989-1990 Charlie Heath
  11. **    All Rights Reserved
  12. */
  13.  
  14. /*****************************************************************************/
  15.  
  16.  
  17. #ifndef    EXEC_TYPES_H
  18. #include <exec/types.h>
  19. #endif
  20.  
  21. #ifndef    EXEC_NODES_H
  22. #include <exec/nodes.h>
  23. #endif
  24.  
  25. #ifndef UTILITY_TAGITEM_H
  26. #include <utility/tagitem.h>
  27. #endif
  28.  
  29. #ifndef WORKBENCH_STARTUP_H
  30. #include <workbench/startup.h>
  31. #endif
  32.  
  33. #ifndef GRAPHICS_TEXT_H
  34. #include <graphics/text.h>
  35. #endif
  36.  
  37. #ifndef GRAPHICS_DISPLAYINFO_H
  38. #include <graphics/displayinfo.h>
  39. #endif
  40.  
  41.  
  42. /*****************************************************************************/
  43.  
  44.  
  45. #define    AslName "asl.library"
  46. #define ASL_TB    (TAG_USER+0x80000)
  47.  
  48.  
  49. /*****************************************************************************/
  50.  
  51.  
  52. /* Types of requesters known to ASL, used as arguments to AllocAslRequest() */
  53. #define    ASL_FileRequest          0
  54. #define    ASL_FontRequest          1
  55. #define    ASL_ScreenModeRequest 2
  56.  
  57.  
  58. /*****************************************************************************
  59.  *
  60.  * ASL File Requester data structures and constants
  61.  *
  62.  * This structure must only be allocated by asl.library amd is READ-ONLY!
  63.  * Control of the various fields is provided via tags when the requester
  64.  * is created with AllocAslRequest() and when it is displayed via
  65.  * AslRequest()
  66.  */
  67. struct FileRequester
  68. {
  69.     UBYTE      fr_Reserved0[4];
  70.     STRPTR      fr_File;          /* Contents of File gadget on exit    */
  71.     STRPTR      fr_Drawer;          /* Contents of Drawer gadget on exit  */
  72.     UBYTE      fr_Reserved1[10];
  73.     WORD      fr_LeftEdge;          /* Coordinates of requester on exit   */
  74.     WORD      fr_TopEdge;
  75.     WORD      fr_Width;
  76.     WORD      fr_Height;
  77.     UBYTE      fr_Reserved2[2];
  78.     LONG      fr_NumArgs;          /* Number of files selected        */
  79.     struct WBArg *fr_ArgList;          /* List of files selected        */
  80.     APTR      fr_UserData;          /* You can store your own data here   */
  81.     UBYTE      fr_Reserved3[8];
  82.     STRPTR      fr_Pattern;          /* Contents of Pattern gadget on exit */
  83. };
  84.  
  85. /* File requester tag values, used by AllocAslRequest() and AslRequest() */
  86.  
  87. /* Window control */
  88. #define ASLFR_Window          ASL_TB+2     /* Parent window             */
  89. #define ASLFR_Screen          ASL_TB+40  /* Screen to open on if no window   */
  90. #define ASLFR_PubScreenName   ASL_TB+41  /* Name of public screen         */
  91. #define ASLFR_PrivateIDCMP    ASL_TB+42  /* Allocate private IDCMP?         */
  92. #define ASLFR_IntuiMsgFunc    ASL_TB+70  /* Function to handle IntuiMessages */
  93. #define ASLFR_SleepWindow     ASL_TB+43  /* Block input in ASLFR_Window?     */
  94. #define ASLFR_UserData          ASL_TB+52  /* What to put in fr_UserData         */
  95. #define ASLFR_PopToFront      ASL_TB+131 /* Make the requester window visible
  96.                                           * when it opens (V44)
  97.                                           */
  98.  
  99. /* Text display */
  100. #define ASLFR_TextAttr          ASL_TB+51  /* Text font to use for gadget text */
  101. #define ASLFR_Locale          ASL_TB+50  /* Locale ASL should use for text   */
  102. #define ASLFR_TitleText       ASL_TB+1     /* Title of requester             */
  103. #define ASLFR_PositiveText    ASL_TB+18  /* Positive gadget text         */
  104. #define ASLFR_NegativeText    ASL_TB+19  /* Negative gadget text         */
  105.  
  106. /* Initial settings */
  107. #define ASLFR_InitialLeftEdge ASL_TB+3     /* Initial requester coordinates    */
  108. #define ASLFR_InitialTopEdge  ASL_TB+4
  109. #define ASLFR_InitialWidth    ASL_TB+5     /* Initial requester dimensions     */
  110. #define ASLFR_InitialHeight   ASL_TB+6
  111. #define ASLFR_InitialFile     ASL_TB+8     /* Initial contents of File gadget  */
  112. #define ASLFR_InitialDrawer   ASL_TB+9     /* Initial contents of Drawer gadg. */
  113. #define ASLFR_InitialPattern  ASL_TB+10  /* Initial contents of Pattern gadg.*/
  114. #define ASLFR_InitialShowVolumes ASL_TB+130 /* Initially, show the volume list (V44) */
  115.  
  116. /* Options */
  117. #define ASLFR_Flags1          ASL_TB+20  /* Option flags             */
  118. #define ASLFR_Flags2          ASL_TB+22  /* Additional option flags         */
  119. #define ASLFR_DoSaveMode      ASL_TB+44  /* Being used for saving?         */
  120. #define ASLFR_DoMultiSelect   ASL_TB+45  /* Do multi-select?             */
  121. #define ASLFR_DoPatterns      ASL_TB+46  /* Display a Pattern gadget?         */
  122.  
  123. /* Filtering */
  124. #define ASLFR_DrawersOnly     ASL_TB+47  /* Don't display files?         */
  125. #define ASLFR_FilterFunc      ASL_TB+49  /* Function to filter files         */
  126. #define ASLFR_RejectIcons     ASL_TB+60  /* Display .info files?         */
  127. #define ASLFR_RejectPattern   ASL_TB+61  /* Don't display files matching pat */
  128. #define ASLFR_AcceptPattern   ASL_TB+62  /* Accept only files matching pat   */
  129. #define ASLFR_FilterDrawers   ASL_TB+63  /* Also filter drawers with patterns*/
  130. #define    ASLFR_HookFunc          ASL_TB+7     /* Combined callback function         */
  131.  
  132. /* Sorting */
  133. #define ASLFR_SetSortBy       ASL_TB+124 /* Sort criteria (name, date, size) */
  134. #define ASLFR_GetSortBy       ASL_TB+125
  135. #define ASLFR_SetSortDrawers  ASL_TB+126 /* Placement of drawers in the list */
  136. #define ASLFR_GetSortDrawers  ASL_TB+127
  137. #define ASLFR_SetSortOrder    ASL_TB+128 /* Order (ascending or descending)  */
  138. #define ASLFR_GetSortOrder    ASL_TB+129
  139.  
  140. /* Flag bits for the ASLFR_Flags1 tag */
  141. #define    FRB_FILTERFUNC       7
  142. #define    FRB_INTUIFUNC       6
  143. #define    FRB_DOSAVEMODE       5
  144. #define    FRB_PRIVATEIDCMP   4
  145. #define FRB_DOMULTISELECT  3
  146. #define    FRB_DOPATTERNS       0
  147.  
  148. #define    FRF_FILTERFUNC       (1L << FRB_FILTERFUNC)
  149. #define    FRF_INTUIFUNC       (1L << FRB_INTUIFUNC)
  150. #define    FRF_DOSAVEMODE       (1L << FRB_DOSAVEMODE)
  151. #define    FRF_PRIVATEIDCMP   (1L << FRB_PRIVATEIDCMP)
  152. #define    FRF_DOMULTISELECT  (1L << FRB_DOMULTISELECT)
  153. #define    FRF_DOPATTERNS       (1L << FRB_DOPATTERNS)
  154.  
  155. /* Flag bits for the ASLFR_Flags2 tag */
  156. #define    FRB_DRAWERSONLY    0
  157. #define    FRB_FILTERDRAWERS  1
  158. #define    FRB_REJECTICONS    2
  159.  
  160. #define    FRF_DRAWERSONLY    (1L << FRB_DRAWERSONLY)
  161. #define    FRF_FILTERDRAWERS  (1L << FRB_FILTERDRAWERS)
  162. #define    FRF_REJECTICONS    (1L << FRB_REJECTICONS)
  163.  
  164. /* Sort criteria for the ASLFR_SetSortBy/ASLFR_GetSortBy tags */
  165. #define ASLFRSORTBY_Name   0
  166. #define ASLFRSORTBY_Date   1
  167. #define ASLFRSORTBY_Size   2
  168.  
  169. /* Drawer placement for the ASLFR_SetSortDrawers/ASLFR_GetSortDrawers tags */
  170. #define ASLFRSORTDRAWERS_First  0
  171. #define ASLFRSORTDRAWERS_Mix    1
  172. #define ASLFRSORTDRAWERS_Last   2
  173.  
  174. /* Sort order for the ASLFR_SetSortOrder/ASLFR_GetSortOrder tags */
  175. #define ASLFRSORTORDER_Ascend   0
  176. #define ASLFRSORTORDER_Descend  1
  177.  
  178. /*****************************************************************************
  179.  *
  180.  * ASL Font Requester data structures and constants
  181.  *
  182.  * This structure must only be allocated by asl.library amd is READ-ONLY!
  183.  * Control of the various fields is provided via tags when the requester
  184.  * is created with AllocAslRequest() and when it is displayed via
  185.  * AslRequest()
  186.  */
  187. struct FontRequester
  188. {
  189.     UBYTE         fo_Reserved0[8];
  190.     struct TextAttr  fo_Attr;        /* Returned TextAttr            */
  191.     UBYTE         fo_FrontPen;    /* Returned front pen            */
  192.     UBYTE         fo_BackPen;    /* Returned back pen            */
  193.     UBYTE         fo_DrawMode;    /* Returned drawing mode        */
  194.     UBYTE         fo_Reserved1;
  195.     APTR         fo_UserData;    /* You can store your own data here */
  196.     WORD         fo_LeftEdge;    /* Coordinates of requester on exit */
  197.     WORD         fo_TopEdge;
  198.     WORD         fo_Width;
  199.     WORD         fo_Height;
  200.     struct TTextAttr fo_TAttr;        /* Returned TTextAttr            */
  201. };
  202.  
  203. /* Font requester tag values, used by AllocAslRequest() and AslRequest() */
  204.  
  205. /* Window control */
  206. #define ASLFO_Window          ASL_TB+2     /* Parent window             */
  207. #define ASLFO_Screen          ASL_TB+40  /* Screen to open on if no window   */
  208. #define ASLFO_PubScreenName   ASL_TB+41  /* Name of public screen         */
  209. #define ASLFO_PrivateIDCMP    ASL_TB+42  /* Allocate private IDCMP?         */
  210. #define ASLFO_IntuiMsgFunc    ASL_TB+70  /* Function to handle IntuiMessages */
  211. #define ASLFO_SleepWindow     ASL_TB+43  /* Block input in ASLFO_Window?     */
  212. #define ASLFO_UserData          ASL_TB+52  /* What to put in fo_UserData         */
  213. #define ASLFO_PopToFront      ASL_TB+131 /* Make the requester window visible
  214.                                           * when it opens (V44)
  215.                                           */
  216.  
  217. /* Text display */
  218. #define ASLFO_TextAttr          ASL_TB+51  /* Text font to use for gadget text */
  219. #define ASLFO_Locale          ASL_TB+50  /* Locale ASL should use for text   */
  220. #define ASLFO_TitleText       ASL_TB+1     /* Title of requester             */
  221. #define ASLFO_PositiveText    ASL_TB+18  /* Positive gadget text         */
  222. #define ASLFO_NegativeText    ASL_TB+19  /* Negative gadget text         */
  223.  
  224. /* Initial settings */
  225. #define ASLFO_InitialLeftEdge ASL_TB+3     /* Initial requester coordinates    */
  226. #define ASLFO_InitialTopEdge  ASL_TB+4
  227. #define ASLFO_InitialWidth    ASL_TB+5     /* Initial requester dimensions     */
  228. #define ASLFO_InitialHeight   ASL_TB+6
  229. #define ASLFO_InitialName     ASL_TB+10  /* Initial contents of Name gadget  */
  230. #define ASLFO_InitialSize     ASL_TB+11  /* Initial contents of Size gadget  */
  231. #define ASLFO_InitialStyle    ASL_TB+12  /* Initial font style             */
  232. #define ASLFO_InitialFlags    ASL_TB+13  /* Initial font flags for TextAttr  */
  233. #define ASLFO_InitialFrontPen ASL_TB+14  /* Initial front pen             */
  234. #define ASLFO_InitialBackPen  ASL_TB+15  /* Initial back pen             */
  235. #define ASLFO_InitialDrawMode ASL_TB+59  /* Initial draw mode             */
  236.  
  237. /* Options */
  238. #define ASLFO_Flags          ASL_TB+20  /* Option flags             */
  239. #define ASLFO_DoFrontPen      ASL_TB+44  /* Display Front color selector?    */
  240. #define ASLFO_DoBackPen       ASL_TB+45  /* Display Back color selector?     */
  241. #define ASLFO_DoStyle          ASL_TB+46  /* Display Style checkboxes?         */
  242. #define ASLFO_DoDrawMode      ASL_TB+47  /* Display DrawMode cycle gadget?   */
  243.  
  244. /* Filtering */
  245. #define ASLFO_FixedWidthOnly  ASL_TB+48  /* Only allow fixed-width fonts?    */
  246. #define ASLFO_MinHeight       ASL_TB+16  /* Minimum font height to display   */
  247. #define ASLFO_MaxHeight       ASL_TB+17  /* Maximum font height to display   */
  248. #define ASLFO_FilterFunc      ASL_TB+49  /* Function to filter fonts         */
  249. #define    ASLFO_HookFunc          ASL_TB+7     /* Combined callback function         */
  250. #define ASLFO_MaxFrontPen     ASL_TB+66  /* Max # of colors in front palette */
  251. #define ASLFO_MaxBackPen      ASL_TB+67  /* Max # of colors in back palette  */
  252.  
  253. /* Custom additions */
  254. #define    ASLFO_ModeList          ASL_TB+21     /* Substitute list for drawmodes    */
  255. #define ASLFO_FrontPens       ASL_TB+64  /* Color table for front pen palette*/
  256. #define ASLFO_BackPens          ASL_TB+65  /* Color table for back pen palette */
  257.  
  258. /* Flag bits for ASLFO_Flags tag */
  259. #define    FOB_DOFRONTPEN       0
  260. #define    FOB_DOBACKPEN       1
  261. #define    FOB_DOSTYLE       2
  262. #define    FOB_DODRAWMODE       3
  263. #define    FOB_FIXEDWIDTHONLY 4
  264. #define    FOB_PRIVATEIDCMP   5
  265. #define    FOB_INTUIFUNC       6
  266. #define    FOB_FILTERFUNC       7
  267.  
  268. #define    FOF_DOFRONTPEN       (1L << FOB_DOFRONTPEN)
  269. #define    FOF_DOBACKPEN       (1L << FOB_DOBACKPEN)
  270. #define    FOF_DOSTYLE       (1L << FOB_DOSTYLE)
  271. #define    FOF_DODRAWMODE       (1L << FOB_DODRAWMODE)
  272. #define    FOF_FIXEDWIDTHONLY (1L << FOB_FIXEDWIDTHONLY)
  273. #define    FOF_PRIVATEIDCMP   (1L << FOB_PRIVATEIDCMP)
  274. #define    FOF_INTUIFUNC       (1L << FOB_INTUIFUNC)
  275. #define    FOF_FILTERFUNC       (1L << FOB_FILTERFUNC)
  276.  
  277.  
  278. /*****************************************************************************
  279.  *
  280.  * ASL Screen Mode Requester data structures and constants
  281.  *
  282.  * This structure must only be allocated by asl.library and is READ-ONLY!
  283.  * Control of the various fields is provided via tags when the requester
  284.  * is created with AllocAslRequest() and when it is displayed via
  285.  * AslRequest()
  286.  */
  287. struct ScreenModeRequester
  288. {
  289.     ULONG sm_DisplayID;       /* Display mode ID               */
  290.     ULONG sm_DisplayWidth;       /* Width of display in pixels       */
  291.     ULONG sm_DisplayHeight;       /* Height of display in pixels      */
  292.     UWORD sm_DisplayDepth;       /* Number of bit-planes of display  */
  293.     UWORD sm_OverscanType;       /* Type of overscan of display      */
  294.     BOOL  sm_AutoScroll;       /* Display should auto-scroll?      */
  295.  
  296.     ULONG sm_BitMapWidth;       /* Used to create your own BitMap   */
  297.     ULONG sm_BitMapHeight;
  298.  
  299.     WORD  sm_LeftEdge;           /* Coordinates of requester on exit */
  300.     WORD  sm_TopEdge;
  301.     WORD  sm_Width;
  302.     WORD  sm_Height;
  303.  
  304.     BOOL  sm_InfoOpened;       /* Info window opened on exit?      */
  305.     WORD  sm_InfoLeftEdge;       /* Last coordinates of Info window  */
  306.     WORD  sm_InfoTopEdge;
  307.     WORD  sm_InfoWidth;
  308.     WORD  sm_InfoHeight;
  309.  
  310.     APTR  sm_UserData;           /* You can store your own data here */
  311. };
  312.  
  313. /* An Exec list of custom modes can be added to the list of available modes.
  314.  * The DimensionInfo structure must be completely initialized, including the
  315.  * Header. See <graphics/displayinfo.h>. Custom mode ID's must be in the range
  316.  * 0xFFFF0000..0xFFFFFFFF. Regular properties which apply to your custom modes
  317.  * can be added in the dn_PropertyFlags field. Custom properties are not
  318.  * allowed.
  319.  */
  320. struct DisplayMode
  321. {
  322.     struct Node     dm_Node;          /* see ln_Name           */
  323.     struct DimensionInfo dm_DimensionInfo;    /* mode description      */
  324.     ULONG         dm_PropertyFlags;    /* applicable properties */
  325. };
  326.  
  327. /* ScreenMode requester tag values, used by AllocAslRequest() and AslRequest() */
  328.  
  329. /* Window control */
  330. #define ASLSM_Window          ASL_TB+2     /* Parent window             */
  331. #define ASLSM_Screen          ASL_TB+40  /* Screen to open on if no window   */
  332. #define ASLSM_PubScreenName   ASL_TB+41  /* Name of public screen         */
  333. #define ASLSM_PrivateIDCMP    ASL_TB+42  /* Allocate private IDCMP?         */
  334. #define ASLSM_IntuiMsgFunc    ASL_TB+70  /* Function to handle IntuiMessages */
  335. #define ASLSM_SleepWindow     ASL_TB+43  /* Block input in ASLSM_Window?     */
  336. #define ASLSM_UserData          ASL_TB+52  /* What to put in sm_UserData         */
  337. #define ASLSM_PopToFront      ASL_TB+131 /* Make the requester window visible
  338.                                           * when it opens (V44)
  339.                                           */
  340.  
  341. /* Text display */
  342. #define ASLSM_TextAttr          ASL_TB+51  /* Text font to use for gadget text */
  343. #define ASLSM_Locale          ASL_TB+50  /* Locale ASL should use for text   */
  344. #define ASLSM_TitleText       ASL_TB+1     /* Title of requester             */
  345. #define ASLSM_PositiveText    ASL_TB+18  /* Positive gadget text         */
  346. #define ASLSM_NegativeText    ASL_TB+19  /* Negative gadget text         */
  347.  
  348. /* Initial settings */
  349. #define ASLSM_InitialLeftEdge ASL_TB+3     /* Initial requester coordinates    */
  350. #define ASLSM_InitialTopEdge  ASL_TB+4
  351. #define ASLSM_InitialWidth    ASL_TB+5     /* Initial requester dimensions     */
  352. #define ASLSM_InitialHeight   ASL_TB+6
  353. #define ASLSM_InitialDisplayID       ASL_TB+100 /* Initial display mode id     */
  354. #define ASLSM_InitialDisplayWidth  ASL_TB+101 /* Initial display width         */
  355. #define ASLSM_InitialDisplayHeight ASL_TB+102 /* Initial display height      */
  356. #define ASLSM_InitialDisplayDepth  ASL_TB+103 /* Initial display depth         */
  357. #define ASLSM_InitialOverscanType  ASL_TB+104 /* Initial type of overscan    */
  358. #define ASLSM_InitialAutoScroll    ASL_TB+105 /* Initial autoscroll setting  */
  359. #define ASLSM_InitialInfoOpened    ASL_TB+106 /* Info wndw initially opened? */
  360. #define ASLSM_InitialInfoLeftEdge  ASL_TB+107 /* Initial Info window coords. */
  361. #define ASLSM_InitialInfoTopEdge   ASL_TB+108
  362.  
  363. /* Options */
  364. #define ASLSM_DoWidth          ASL_TB+109  /* Display Width gadget?         */
  365. #define ASLSM_DoHeight          ASL_TB+110  /* Display Height gadget?         */
  366. #define ASLSM_DoDepth          ASL_TB+111  /* Display Depth gadget?         */
  367. #define ASLSM_DoOverscanType  ASL_TB+112  /* Display Overscan Type gadget?   */
  368. #define ASLSM_DoAutoScroll    ASL_TB+113  /* Display AutoScroll gadget?      */
  369.  
  370. /* Filtering */
  371. #define ASLSM_PropertyFlags   ASL_TB+114  /* Must have these Property flags  */
  372. #define ASLSM_PropertyMask    ASL_TB+115  /* Only these should be looked at  */
  373. #define ASLSM_MinWidth          ASL_TB+116  /* Minimum display width to allow  */
  374. #define ASLSM_MaxWidth          ASL_TB+117  /* Maximum display width to allow  */
  375. #define ASLSM_MinHeight       ASL_TB+118  /* Minimum display height to allow */
  376. #define ASLSM_MaxHeight       ASL_TB+119  /* Maximum display height to allow */
  377. #define ASLSM_MinDepth          ASL_TB+120  /* Minimum display depth         */
  378. #define ASLSM_MaxDepth          ASL_TB+121  /* Maximum display depth         */
  379. #define ASLSM_FilterFunc      ASL_TB+122  /* Function to filter mode id's    */
  380.  
  381. /* Custom additions */
  382. #define ASLSM_CustomSMList    ASL_TB+123  /* Exec list of struct DisplayMode */
  383.  
  384.  
  385. /*****************************************************************************/
  386.  
  387. #define ASL_LAST_TAG ASL_TB+131
  388.  
  389. /*****************************************************************************
  390.  *
  391.  * Obsolete ASL definitions, here for source code compatibility only.
  392.  * Please do NOT use in new code.
  393.  *
  394.  * #define ASL_V38_NAMES_ONLY to remove these older names
  395.  */
  396. #ifndef ASL_V38_NAMES_ONLY
  397. #define rf_File         fr_File
  398. #define rf_Dir         fr_Drawer
  399. #define rf_LeftEdge     fr_LeftEdge
  400. #define rf_TopEdge     fr_TopEdge
  401. #define rf_Width     fr_Width
  402. #define rf_Height     fr_Height
  403. #define rf_NumArgs     fr_NumArgs
  404. #define rf_ArgList     fr_ArgList
  405. #define rf_UserData     fr_UserData
  406. #define rf_Pat         fr_Pattern
  407. #define ASL_Dummy     (TAG_USER + 0x80000)
  408. #define ASL_Hail     ASL_Dummy+1
  409. #define ASL_Window     ASL_Dummy+2
  410. #define    ASL_LeftEdge     ASL_Dummy+3
  411. #define    ASL_TopEdge     ASL_Dummy+4
  412. #define    ASL_Width     ASL_Dummy+5
  413. #define    ASL_Height     ASL_Dummy+6
  414. #define    ASL_HookFunc     ASL_Dummy+7
  415. #define    ASL_File     ASL_Dummy+8
  416. #define    ASL_Dir         ASL_Dummy+9
  417. #define    ASL_FontName     ASL_Dummy+10
  418. #define    ASL_FontHeight     ASL_Dummy+11
  419. #define    ASL_FontStyles     ASL_Dummy+12
  420. #define    ASL_FontFlags     ASL_Dummy+13
  421. #define    ASL_FrontPen     ASL_Dummy+14
  422. #define    ASL_BackPen     ASL_Dummy+15
  423. #define    ASL_MinHeight     ASL_Dummy+16
  424. #define    ASL_MaxHeight     ASL_Dummy+17
  425. #define    ASL_OKText     ASL_Dummy+18
  426. #define    ASL_CancelText     ASL_Dummy+19
  427. #define    ASL_FuncFlags     ASL_Dummy+20
  428. #define    ASL_ModeList     ASL_Dummy+21
  429. #define    ASL_ExtFlags1     ASL_Dummy+22
  430. #define    ASL_Pattern     ASL_FontName
  431. /* remember what I said up there? Do not use these anymore! */
  432. #define    FILB_DOWILDFUNC     7L
  433. #define    FILB_DOMSGFUNC     6L
  434. #define    FILB_SAVE     5L
  435. #define    FILB_NEWIDCMP     4L
  436. #define FILB_MULTISELECT 3L
  437. #define    FILB_PATGAD     0L
  438. #define    FILF_DOWILDFUNC     (1L << FILB_DOWILDFUNC)
  439. #define    FILF_DOMSGFUNC     (1L << FILB_DOMSGFUNC)
  440. #define    FILF_SAVE     (1L << FILB_SAVE)
  441. #define    FILF_NEWIDCMP     (1L << FILB_NEWIDCMP)
  442. #define    FILF_MULTISELECT (1L << FILB_MULTISELECT)
  443. #define    FILF_PATGAD     (1L << FILB_PATGAD)
  444. #define    FIL1B_NOFILES     0L
  445. #define    FIL1B_MATCHDIRS     1L
  446. #define    FIL1F_NOFILES     (1L << FIL1B_NOFILES)
  447. #define    FIL1F_MATCHDIRS     (1L << FIL1B_MATCHDIRS)
  448. #define    FONB_FRONTCOLOR    0
  449. #define    FONB_BACKCOLOR    1
  450. #define    FONB_STYLES    2
  451. #define    FONB_DRAWMODE    3
  452. #define    FONB_FIXEDWIDTH    4
  453. #define    FONB_NEWIDCMP    5
  454. #define    FONB_DOMSGFUNC    6
  455. #define    FONB_DOWILDFUNC    7
  456. #define    FONF_FRONTCOLOR    (1L << FONB_FRONTCOLOR)
  457. #define    FONF_BACKCOLOR    (1L << FONB_BACKCOLOR)
  458. #define    FONF_STYLES    (1L << FONB_STYLES)
  459. #define    FONF_DRAWMODE    (1L << FONB_DRAWMODE)
  460. #define    FONF_FIXEDWIDTH    (1L << FONB_FIXEDWIDTH)
  461. #define    FONF_NEWIDCMP    (1L << FONB_NEWIDCMP)
  462. #define    FONF_DOMSGFUNC    (1L << FONB_DOMSGFUNC)
  463. #define    FONF_DOWILDFUNC    (1L << FONB_DOWILDFUNC)
  464. #endif
  465.  
  466.  
  467. /*****************************************************************************/
  468.  
  469.  
  470. #endif /* LIBRARIES_ASL_H */
  471.