home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 15 / AACD15.ISO / AACD / Programming / BGUI / bgui_e / sources / emodules / bgui / bgui_obsolete.e < prev    next >
Encoding:
Text File  |  1999-08-26  |  4.4 KB  |  161 lines

  1. OPT MODULE
  2. OPT EXPORT
  3. OPT PREPROCESS
  4.  
  5. /*
  6.  * $VER: bgui/obsolete.e 41.10 (28.11.98)
  7.  * bgui.library obsolete definitions
  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/bgui',
  19.         'utility/tagitem',
  20.         'utility/hooks',
  21.         'intuition/classes',
  22.         'intuition/cghooks',
  23.         'graphics/rastport',
  24.         '*bgui_asl'
  25.  
  26. /* New methods */
  27. CONST   BASE_ADDMAP         = BGUI_MB+41
  28.  
  29. /* Add an object to the maplist notification list. */
  30. OBJECT bmAddMap
  31.     methodID:LONG
  32.     object:PTR TO object
  33.     mapList:PTR TO tagitem
  34. ENDOBJECT
  35.  
  36. CONST   BASE_ADDCONDITIONAL     = BGUI_MB+42
  37.  
  38. /* Add an object to the conditional notification list. */
  39. OBJECT bmAddConditional
  40.     methodID:LONG
  41.     object:PTR TO object
  42.     condition:tagitem
  43.     true:tagitem
  44.     false:tagitem
  45. ENDOBJECT
  46.  
  47. CONST   BASE_ADDMETHOD          = BGUI_MB+43
  48.  
  49. /* Add an object to the method notification list. */
  50. OBJECT bmAddMethod
  51.     methodID:LONG
  52.     object:PTR TO object
  53.     flags:LONG
  54.     size:LONG
  55.     amethodID:LONG
  56. ENDOBJECT
  57.  
  58. SET     BAMF_NO_GINFO,  /* Do not send GadgetInfo. */
  59.         BAMF_NO_INTERIM /* Skip interim messages.  */
  60.  
  61. CONST   BASE_REMMAP             = BGUI_MB+44,
  62.         BASE_REMCONDITIONAL     = BGUI_MB+45,
  63.         BASE_REMMETHOD          = BGUI_MB+46
  64.  
  65. /* Remove an object from a notification list. */
  66. OBJECT bmRemove
  67.     methodID:LONG
  68.     object:PTR TO object
  69. ENDOBJECT
  70.  
  71. CONST   BASE_ADDHOOK            = BGUI_MB+52
  72.  
  73. /* Add a hook to the hook-notification list. */
  74. OBJECT bmAddHook
  75.     methodID:LONG
  76.     hook:PTR TO hook
  77. ENDOBJECT
  78.  
  79. /* Remove a hook from the hook-notification list. */
  80. CONST   BASE_REMHOOK            = BGUI_MB+53
  81.  
  82. CONST   GRM_ADDMEMBER           = BGUI_MB+81
  83.  
  84. /* Add a member to the group. */
  85. OBJECT grmAddMember
  86.     methodID:LONG           -> GRM_ADDMEMBER
  87.     member:PTR TO object    -> Object to add
  88.     attr:LONG               -> First of LGO attributes
  89. ENDOBJECT
  90.  
  91. CONST   GRM_REMMEMBER           = BGUI_MB+82
  92.  
  93. /* Remove a member from the group. */
  94. OBJECT grmRemMember
  95.     methodID:LONG    -> GRM_REMMEMBER
  96.     member:PTR TO object     -> Object to remove
  97. ENDOBJECT
  98.  
  99. CONST   GRM_DIMENSIONS          = BGUI_MB+83
  100.  
  101. /* Ask an object it's dimensions information. */
  102. OBJECT grmDimensions
  103.     methodID:LONG               -> GRM_DIMENSIONS
  104.     gInfo:PTR TO gadgetinfo     -> Can be NIL!
  105.     rPort:PTR TO rastport       -> Ready for calculations
  106.     minSizeWidth:PTR TO INT
  107.     minSizeHeight:PTR TO INT
  108.     flags:LONG                  -> See below
  109. ENDOBJECT
  110.  
  111. /* Flags */
  112. CONST   GDIMF_MAXIMUM          = 8,  /* The grmd_MaxSize is requested.       */
  113.         GDIMF_NOMINAL          = 4,  /* The grmd_NomSize is requested.       */
  114.  
  115.         GRM_ADDSPACEMEMBER      = BGUI_MB+84
  116.  
  117. /* Add a weight controlled spacing member. */
  118. OBJECT grmAddSpaceMember
  119.     methodID:LONG       -> GRM_ADDSPACEMEMBER
  120.     weight:LONG         -> Object weight
  121. ENDOBJECT
  122.  
  123. CONST   GRM_INSERTMEMBER        = BGUI_MB+85
  124.  
  125. /* Insert a member in the group. */
  126. OBJECT grmInsertMember
  127.     methodID:LONG           -> GRM_INSERTMEMBER
  128.     member:PTR TO object    -> Member to insert
  129.     pred:PTR TO object      -> Insert after this member
  130.     attr:LONG               -> First of LGO attributes
  131. ENDOBJECT
  132.  
  133. CONST   GRM_REPLACEMEMBER       = BGUI_MB+86    /* V40 */
  134.  
  135. /* Replace a member in the group. */
  136. OBJECT grmReplaceMember
  137.     methodID:LONG           -> GRM_REPLACEMEMBER
  138.     memberA:PTR TO object   -> Object to replace
  139.     memberB:PTR TO object   -> Object which replaces
  140.     attr:LONG               -> First of LGO attributes
  141. ENDOBJECT
  142.  
  143. /*
  144.  *      These are required for backwards compatibility with old code.
  145.  *      Use the new identifiers instead.
  146.  */
  147. CONST   FRQ_Left                = ASLREQ_Left
  148. CONST   FRQ_Top                 = ASLREQ_Top
  149. CONST   FRQ_Width               = ASLREQ_Width
  150. CONST   FRQ_Height              = ASLREQ_Height
  151. CONST   FRQ_Drawer              = FILEREQ_Drawer
  152. CONST   FRQ_File                = FILEREQ_File
  153. CONST   FRQ_Pattern             = FILEREQ_Pattern
  154. CONST   FRQ_Path                = FILEREQ_Path
  155. CONST   FRQ_MultiHook           = FILEREQ_MultiHook
  156. CONST   FRQ_OK                  = ASLREQ_OK
  157. CONST   FRQ_CANCEL              = ASLREQ_CANCEL
  158. CONST   FRQ_ERROR_NO_MEM        = ASLREQ_ERROR_NO_MEM
  159. CONST   FRQ_ERROR_NO_FREQ       = ASLREQ_ERROR_NO_REQ
  160. CONST   FRM_DOREQUEST           = ASLM_DOREQUEST
  161.