home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 15 / AACD15.ISO / AACD / Programming / BGUI / bgui_e / sources / emodules / bgui / bgui_asl.e < prev    next >
Encoding:
Text File  |  1998-11-28  |  3.5 KB  |  80 lines

  1. OPT MODULE
  2. OPT EXPORT
  3. OPT PREPROCESS
  4.  
  5. /*
  6.  * $VER: bgui/asl.eh 41.10= 28.11.98
  7.  * Asl requester class structures and constants.
  8.  *
  9.  *= C Copyright 1998 Manuel Lemos.
  10.  *= C Copyright 1996-1997 Ian J. Einman.
  11.  *= C Copyright 1993-1996 Jaba Development.
  12.  *= C Copyright 1993-1996 Jan van den Baard.
  13.  *= C Copyright 1996-1998 Dominique Dutoit.
  14.  * All Rights Reserved.
  15.  *
  16.  */
  17.  
  18. MODULE  'libraries/asl',
  19.         'libraries/bgui'
  20.  
  21. /*****************************************************************************
  22.  *
  23.  *      "aslreqclass" - BOOPSI Asl filerequester classes= file, font, screen
  24.  *
  25.  *      Tags: 1941 - 2020               Methods: 701 - 740
  26.  */
  27. CONST   ASLREQ_TAGSTART                = BGUI_TB+1941
  28. CONST   FILEREQ_Drawer                 = BGUI_TB+1941  /* ISG-- */
  29. CONST   FILEREQ_File                   = BGUI_TB+1942  /* ISG-- */
  30. CONST   FILEREQ_Pattern                = BGUI_TB+1943  /* ISG-- */
  31. CONST   FILEREQ_Path                   = BGUI_TB+1944  /* --G-- */
  32. CONST   ASLREQ_Left                    = BGUI_TB+1945  /* --G-- */
  33. CONST   ASLREQ_Top                     = BGUI_TB+1946  /* --G-- */
  34. CONST   ASLREQ_Width                   = BGUI_TB+1947  /* --G-- */
  35. CONST   ASLREQ_Height                  = BGUI_TB+1948  /* --G-- */
  36. CONST   FILEREQ_MultiHook              = BGUI_TB+1949  /* IS--- */  /* V40 */
  37. CONST   ASLREQ_Type                    = BGUI_TB+1950  /* I-G-- */  /* V41 */
  38. CONST   ASLREQ_Requester               = BGUI_TB+1951  /* --G-- */  /* V41 */
  39. CONST   ASLREQ_Bounds                  = BGUI_TB+1952  /* IS--- */  /* V41.8 */
  40.  
  41. CONST   FONTREQ_TextAttr               = BGUI_TB+1980  /* ISG-- */  /* V41 */
  42. CONST   FONTREQ_Name                   = BGUI_TB+1981  /* ISG-- */  /* V41 */
  43. CONST   FONTREQ_Size                   = BGUI_TB+1982  /* ISG-- */  /* V41 */
  44. CONST   FONTREQ_Style                  = BGUI_TB+1983  /* ISG-- */  /* V41 */
  45. CONST   FONTREQ_Flags                  = BGUI_TB+1984  /* ISG-- */  /* V41 */
  46. CONST   FONTREQ_FrontPen               = BGUI_TB+1985  /* ISG-- */  /* V41 */
  47. CONST   FONTREQ_BackPen                = BGUI_TB+1986  /* ISG-- */  /* V41 */
  48. CONST   FONTREQ_DrawMode               = BGUI_TB+1987  /* ISG-- */  /* V41 */
  49.  
  50. CONST   SCREENREQ_DisplayID            = BGUI_TB+1990  /* ISG-- */  /* V41 */
  51. CONST   SCREENREQ_DisplayWidth         = BGUI_TB+1991  /* ISG-- */  /* V41 */
  52. CONST   SCREENREQ_DisplayHeight        = BGUI_TB+1992  /* ISG-- */  /* V41 */
  53. CONST   SCREENREQ_DisplayDepth         = BGUI_TB+1993  /* ISG-- */  /* V41 */
  54. CONST   SCREENREQ_OverscanType         = BGUI_TB+1994  /* ISG-- */  /* V41 */
  55. CONST   SCREENREQ_AutoScroll           = BGUI_TB+1995  /* ISG-- */  /* V41 */
  56.  
  57. /*
  58.  *      In addition to the above defined attributes are all
  59.  *      ASL filerequester attributes ISG-U.
  60.  */
  61.  
  62. /*
  63.  *      Error codes which the SetAttrs( and DoMethod(
  64.  *      calls can return.
  65.  */
  66. CONST   ASLREQ_OK                       = 0    /* OK. No problems.                 */
  67. CONST   ASLREQ_CANCEL                   = 1    /* The requester was cancelled.     */
  68. CONST   ASLREQ_ERROR_NO_MEM             = 2    /* Out of memory.                   */
  69. CONST   ASLREQ_ERROR_NO_REQ             = 3    /* Unable to allocate a requester.  */
  70.  
  71. /* New Methods */
  72.  
  73. CONST   ASLM_DOREQUEST                 = BGUI_MB+701   /* Show Requester.  */
  74. /*
  75.  * The following three methods are only needed by class implementors.
  76.  */
  77. CONST   ASLM_ALLOCREQUEST              = BGUI_MB+702   /* AllocRequester( */
  78. CONST   ASLM_REQUEST                   = BGUI_MB+703   /* Request(        */
  79. CONST   ASLM_FREEREQUEST               = BGUI_MB+704   /* FreeRequester(  */
  80.