home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / DevCon / Milan_1991 / Devcon91.4 / AppShell / include / libraries / apshattrs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-01  |  18.6 KB  |  325 lines

  1. #ifndef LIBRARIES_APSHATTRS_H
  2. #define    LIBRARIES_APSHATTRS_H
  3.  
  4. /************************************************************************
  5.  *                                                                      *
  6.  *                            Preliminary                               *
  7.  *                        Amiga AppShell (tm)                           *
  8.  *                                                                      *
  9.  *   Copyright (c) 1990  Commodore-Amiga, Inc.  All Rights Reserved.    *
  10.  *                                                                      *
  11.  *   This software and information is proprietary, preliminary, and     *
  12.  *   subject to change without notice.                                  *
  13.  *                                                                      *
  14.  *                            DISCLAIMER                                *
  15.  *                                                                      *
  16.  *   THIS SOFTWARE IS PROVIDED "AS IS".                                 *
  17.  *   NO REPRESENTATIONS OR WARRANTIES ARE MADE WITH RESPECT TO THE      *
  18.  *   ACCURACY, RELIABILITY, PERFORMANCE, CURRENTNESS, OR OPERATION      *
  19.  *   OF THIS SOFTWARE, AND ALL USE IS AT YOUR OWN RISK.                 *
  20.  *   NEITHER COMMODORE NOR THE AUTHORS ASSUME ANY RESPONSIBILITY OR     *
  21.  *   LIABILITY WHATSOEVER WITH RESPECT TO YOUR USE OF THIS SOFTWARE.    *
  22.  *                                                                      *
  23.  *                          Non-Disclosure                              *
  24.  *                                                                      *
  25.  *   This information is not to be disclosed to any other company,      *
  26.  *   individual or party.  Discussion is to be restricted to CBM        *
  27.  *   approved discussion areas, such as a private area on bix           *
  28.  *   dedicated to BETA versions of the Amiga AppShell.                  *
  29.  *                                                                      *
  30.  ************************************************************************
  31.  * apshattrs.h
  32.  * Copyright (C) 1990,1991 Commodore-Amiga, Inc.
  33.  *
  34.  * Attribute ID's for AppShell objects
  35.  *
  36.  */
  37.  
  38. #include <exec/types.h>
  39. #include <utility/tagitem.h>
  40.  
  41. /* AppShell object kinds */
  42. #define    APSH_KIND_SIPCMSG    1L
  43. #define    APSH_KIND_MSGHANDLER    2L
  44. #define    APSH_KIND_MHOBJECT    3L
  45. #define    APSH_KIND_ANCHORLIST    4L
  46. #define    APSH_KIND_PROJECT    5L
  47. #define    APSH_KIND_PROJNODE    6L
  48. #define    APSH_KIND_FUNCENTRY    7L
  49.  
  50. /*
  51.  * C    - Can be set at object creation time, using NewAPSHObject(), or
  52.  *      HandleApp(), HandleAppSync().
  53.  * S    - Can use SetAPSHAttr() to set the value.
  54.  * G    - Can use GetAPSHAttr() to get the value of.
  55.  *
  56.  */
  57.  
  58. /*------------------------------------------------------------------------*/
  59. /* The AppShell uses the following tags. Reserved TAG_USR+24000L - 25999L */
  60. /*------------------------------------------------------------------------*/
  61.  
  62. #define    APSH_Dummy        TAG_USER+24000L
  63.  
  64. /* library management */
  65. #define    APSH_OpenLibraries    (APSH_Dummy+1L)        /* open libraries */
  66. #define    APSH_LibNameTag        (APSH_Dummy+2L)        /* library name tag */
  67. #define    APSH_LibName        (APSH_Dummy+3L)        /* library name */
  68. #define    APSH_LibVersion        (APSH_Dummy+4L)        /* library version */
  69. #define    APSH_LibStatus        (APSH_Dummy+5L)        /* required/optional */
  70. #define    APSH_LibReserved5    (APSH_Dummy+10L)    /* RESERVED FOR SYSTEM USE */
  71. #define    APSH_LibBase        (APSH_Dummy+11L)    /* library base */
  72. #define    APSH_ARexxSys        (APSH_Dummy+12L)    /* rexxsyslib.library */
  73. #define    APSH_ARexxSup        (APSH_Dummy+13L)    /* rexxsupport.library */
  74. #define    APSH_ASL        (APSH_Dummy+14L)    /* asl.library */
  75. #define    APSH_Commodities    (APSH_Dummy+15L)    /* commodities.library */
  76. #define    APSH_DiskFont        (APSH_Dummy+16L)    /* diskfont.library */
  77. #define    APSH_DOS        (APSH_Dummy+17L)    /* dos.library */
  78. #define    APSH_GadTools        (APSH_Dummy+18L)    /* gadtools.library */
  79. #define    APSH_Gfx        (APSH_Dummy+19L)    /* graphics.library */
  80. #define    APSH_Icon        (APSH_Dummy+20L)    /* icon.library */
  81. #define    APSH_Intuition        (APSH_Dummy+21L)    /* intuition.library */
  82. #define    APSH_Layers        (APSH_Dummy+22L)    /* layers.library */
  83. #define    APSH_IFF        (APSH_Dummy+23L)    /* iffparse.library */
  84. #define    APSH_Translate        (APSH_Dummy+24L)    /* translator.library */
  85. #define    APSH_Utility        (APSH_Dummy+25L)    /* utility.library */
  86. #define    APSH_Workbench        (APSH_Dummy+26L)    /* workbench.library */
  87. #define    APSH_AppObjects        (APSH_Dummy+27L)    /* appobjects.library */
  88. #define    APSH_Hyper        (APSH_Dummy+28L)    /* hyper.library */
  89. #define    APSH_Prefs        (APSH_Dummy+29L)    /* prefs.library */
  90.  
  91. /* main AppShell tags */
  92. #define    APSH_NumArgs        (APSH_Dummy+40L)    /* Number of Shell arguments */
  93. #define    APSH_ArgList        (APSH_Dummy+41L)    /* Shell arguments */
  94. #define    APSH_WBStartup        (APSH_Dummy+42L)    /* Workbench arguments */
  95. #define    APSH_ControlPort    (APSH_Dummy+43L)    /* SIPC Control port for a cloned AppShell */
  96. #define    APSH_AppName        (APSH_Dummy+44L)    /* pointer to the application's name */
  97. #define    APSH_AppVersion        (APSH_Dummy+45L)    /* pointer to the application's version */
  98. #define    APSH_AppCopyright    (APSH_Dummy+46L)    /* pointer to the application's (c) notice */
  99. #define    APSH_AppAuthor        (APSH_Dummy+47L)    /* pointer to the application's author */
  100. #define    APSH_AppMsgTitle    (APSH_Dummy+48L)    /* pointer to message title */
  101. #define    APSH_FuncTable        (APSH_Dummy+55L)    /* function table for application */
  102. #define    APSH_DefText        (APSH_Dummy+56L)    /* Default text catalogue */
  103. #define    APSH_AppInit        (APSH_Dummy+57L)    /* Custom application init function ID */
  104. #define    APSH_AppExit        (APSH_Dummy+58L)    /* Custom application shutdown function ID */
  105. #define    APSH_SIG_C        (APSH_Dummy+59L)    /* SIG_BREAK_C function ID */
  106. #define    APSH_SIG_D        (APSH_Dummy+60L)    /* SIG_BREAK_D function ID */
  107. #define    APSH_SIG_E        (APSH_Dummy+61L)    /* SIG_BREAK_E function ID */
  108. #define    APSH_SIG_F        (APSH_Dummy+62L)    /* SIG_BREAK_F function ID */
  109. #define    APSH_ProjInfo        (APSH_Dummy+63L)    /* pointer to a Project/ProjNode structure */
  110. #define    APSH_BaseName        (APSH_Dummy+64L)    /* Base name */
  111. #define    APSH_Template        (APSH_Dummy+65L)    /* Startup template */
  112. #define    APSH_NumOpts        (APSH_Dummy+66L)    /* Number of options */
  113. #define    APSH_FuncEntry        (APSH_Dummy+67L)    /* Funcs structure for command */
  114. #define    APSH_UserData        (APSH_Dummy+68L)    /* Preallocated user data */
  115. #define    APSH_ProjIcon        (APSH_Dummy+69L)    /* Default project icon */
  116. #define    APSH_ProjIconName    (APSH_Dummy+70L)    /* Default project icon name */
  117. #define    APSH_MsgHandler        (APSH_Dummy+71L)    /* Message handler pointer */
  118. #define    APSH_UserDataSize    (APSH_Dummy+72L)    /* Size of data */
  119. #define    APSH_PortAddr        (APSH_Dummy+73L)    /* Message port address */
  120. #define    APSH_AppHandle        (APSH_Dummy+74L)    /* Handle to tool application */
  121. #define    APSH_DispatchHook    (APSH_Dummy+75L)    /* Alt. function dispatching hook */
  122. #define    APSH_HookClass        (APSH_Dummy+76L)    /* Use class style hook */
  123.  
  124. /* message handler routines */
  125. #define    APSH_AddHandler        (APSH_Dummy+80L)    /* add a message handler to application */
  126. #define    APSH_Setup        (APSH_Dummy+81L)    /* setup function */
  127. #define    APSH_Status        (APSH_Dummy+82L)    /* active, inactive, multiple, etc... */
  128. #define    APSH_Rating        (APSH_Dummy+83L)    /* optional/required, etc... */
  129. #define    APSH_Port        (APSH_Dummy+84L)    /* name of the message port */
  130. #define    APSH_Handler        (APSH_Dummy+85L)    /* Handler ID */
  131. #define    APSH_CmdData        (APSH_Dummy+86L)    /* Command data */
  132. #define    APSH_CmdDataLength    (APSH_Dummy+87L)    /* Length of command data */
  133. #define    APSH_CmdID        (APSH_Dummy+88L)    /* Command ID (function) */
  134. #define    APSH_CmdString        (APSH_Dummy+89L)    /* Command string */
  135. #define    APSH_CmdTagList        (APSH_Dummy+90L)    /* Command tag list */
  136. #define    APSH_Command        (APSH_Dummy+91L)    /* Handler command */
  137. #define    APSH_NameTag        (APSH_Dummy+92L)    /* Name Tag for object */
  138. #define    APSH_CmdFlags        (APSH_Dummy+93L)    /* Command Flags */
  139. #define    APSH_TextID        (APSH_Dummy+94L)    /* Text ID */
  140. #define    APSH_BaseID        (APSH_Dummy+95L)    /* Base ID */
  141.  
  142. #define    APSH_AddARexx_UI    (APSH_Dummy+96L)    /* ARexx UI */
  143. #define    APSH_AddCmdShell_UI    (APSH_Dummy+97L)    /* Command Shell UI */
  144. #define    APSH_AddIntui_UI    (APSH_Dummy+98L)    /* Graphical UI */
  145. #define    APSH_AddSIPC_UI        (APSH_Dummy+99L)    /* Simple IPC UI */
  146. #define    APSH_AddTool_UI        (APSH_Dummy+100L)    /* Tool UI */
  147. #define    APSH_AddWB_UI        (APSH_Dummy+101L)    /* Workbench UI */
  148. #define    APSH_AddClone_UI    (APSH_Dummy+102L)    /* PRIVATE */
  149.  
  150. /* ARexx information */
  151. #define    APSH_Extens        (APSH_Dummy+120L)    /* ARexx macro name extension */
  152. #define    APSH_ARexxError        (APSH_Dummy+121L)    /* ARexx command ERROR function ID */
  153. #define    APSH_ARexxOK        (APSH_Dummy+122L)    /* ARexx command OK function ID */
  154. #define    APSH_ARexxString    (APSH_Dummy+123L)    /* ARexx string file */
  155.  
  156. /* Command shell */
  157. #define    APSH_CloseMsg        (APSH_Dummy+140L)    /* Closing message */
  158. #define    APSH_CMDWindow        (APSH_Dummy+141L)    /* Command Shell window spec */
  159. #define    APSH_Prompt        (APSH_Dummy+142L)    /* Command Shell prompt */
  160. #define    APSH_CMDTitle        (APSH_Dummy+143L)    /* Command Shell title */
  161. #define    APSH_CMDParent        (APSH_Dummy+144L)    /* Command Shell parent window */
  162.  
  163. /* Window information */
  164. #define    APSH_WindowEnv        (APSH_Dummy+160L)    /* Window Environment */
  165. #define    APSH_TextAttr        (APSH_Dummy+161L)    /* Text Attributes */
  166. #define    APSH_NewScreen        (APSH_Dummy+162L)    /* NewScreen structure */
  167. #define    APSH_NewScreenTags    (APSH_Dummy+163L)    /* Tags for new screen */
  168. #define    APSH_Palette        (APSH_Dummy+164L)    /* Color Palette */
  169. #define    APSH_NewWindow        (APSH_Dummy+165L)    /* NewWindow structure */
  170. #define    APSH_NewWindowTags    (APSH_Dummy+166L)    /* Tags for new window */
  171. #define    APSH_HotKeys        (APSH_Dummy+167L)    /* HotKey command array */
  172. #define    APSH_Menu        (APSH_Dummy+168L)    /* Intuition-style Menu array */
  173. #define    APSH_Gadgets        (APSH_Dummy+169L)    /* Intuition-style Gadget array */
  174. #define    APSH_GTMenu        (APSH_Dummy+170L)    /* GadTools-style Menu array */
  175. #define    APSH_GTGadgets        (APSH_Dummy+171L)    /* GadTools-style NewGadget array */
  176. #define    APSH_GTFlags        (APSH_Dummy+172L)    /* flags for GadTools objects */
  177. #define    APSH_Objects        (APSH_Dummy+173L)    /* Object array */
  178. #define    APSH_ObjDown        (APSH_Dummy+174L)    /* Gadget downpress function ID */
  179. #define    APSH_ObjHold        (APSH_Dummy+175L)    /* Gadget hold function ID */
  180. #define    APSH_ObjRelease        (APSH_Dummy+176L)    /* Gadget release function ID */
  181. #define    APSH_ObjDblClick    (APSH_Dummy+177L)    /* Gadget double-click function ID */
  182. #define    APSH_ObjAbort        (APSH_Dummy+178L)    /* Gadget abort function ID */
  183. #define    APSH_ObjAltHit        (APSH_Dummy+179L)    /* Gadget ALT hit function ID */
  184. #define    APSH_ObjShiftHit    (APSH_Dummy+180L)    /* Gadget SHIFT hit function ID */
  185. #define    APSH_ObjData        (APSH_Dummy+181L)    /* Gadget image or data */
  186. #define    APSH_ObjInner        (APSH_Dummy+182L)    /* Inner rectangle */
  187. #define    APSH_ObjPointer        (APSH_Dummy+183L)    /* pointer name prefix */
  188. #define    APSH_DefWinFlags    (APSH_Dummy+184L)    /* Default window flags */
  189. #define    APSH_ObjName        (APSH_Dummy+185L)    /* Object name */
  190. #define    APSH_WinName        (APSH_Dummy+186L)    /* Window name */
  191. #define    APSH_WinPointer        (APSH_Dummy+188L)    /* Pointer to window */
  192. #define    APSH_ShowSelected    (APSH_Dummy+189L)    /* Name of text object for list */
  193. #define APSH_Screen        (APSH_Dummy+190L)    /* Screen pointer */
  194. #define    APSH_ObjExtraRelease    (APSH_Dummy+191L)    /* Alternate button release */
  195. #define    APSH_ObjAltData        (APSH_Dummy+192L)    /* Alternate image */
  196. #define    APSH_ParentWindow    (APSH_Dummy+193L)    /* Parent window (defaults to Main) */
  197. #define    APSH_TTMenu        (APSH_Dummy+194L)    /* Index of menu in text table */
  198. #define    APSH_WinText        (APSH_Dummy+195L)    /* Window text catalogue */
  199. #define    APSH_ObjCreate        (APSH_Dummy+196L)    /* After object is created */
  200. #define    APSH_ObjDelete        (APSH_Dummy+197L)    /* Before object is removed */
  201. #define    APSH_GA_Image        (APSH_Dummy+198L)    /* Name of boopsi image */
  202. #define    APSH_GA_SelectRender    (APSH_Dummy+199L)    /* Name of boopsi image */
  203. #define    APSH_ObjUpdate        (APSH_Dummy+200L)    /* Gadget IDCMPUPDATE function */
  204. #define    APSH_GA_LabelImage    (APSH_Dummy+201L)    /* Name of boopsi image */
  205. #define    APSH_MenuTable        (APSH_Dummy+202L)    /* Pointer to menu text table */
  206. #define    APSH_ObjIDHold        (APSH_Dummy+203L)    /* System use only */
  207.  
  208. /* IDCMP messages */
  209. #define    APSH_SizeVerify        (APSH_Dummy+220L)    /* SIZEVERIFY function ID */
  210. #define    APSH_NewSize        (APSH_Dummy+221L)    /* NEWSIZE function ID */
  211. #define    APSH_RefreshWindow    (APSH_Dummy+222L)    /* REFRESHWINDOW function ID */
  212. #define    APSH_MouseButtons    (APSH_Dummy+223L)    /* MOUSEBUTTONS function ID */
  213. #define    APSH_ReqSet        (APSH_Dummy+224L)    /* REQSET function ID */
  214. #define    APSH_CloseWindow    (APSH_Dummy+225L)    /* CLOSEWINDOW  function ID */
  215. #define    APSH_ReqVerify        (APSH_Dummy+226L)    /* REQVERIFY function ID */
  216. #define    APSH_ReqClear        (APSH_Dummy+227L)    /* REQCLEAR function ID */
  217. #define    APSH_MenuVerify        (APSH_Dummy+228L)    /* MENUVERIFY function ID */
  218. #define    APSH_DiskInserted    (APSH_Dummy+229L)    /* DISKINSERTED function ID */
  219. #define    APSH_DiskRemoved    (APSH_Dummy+230L)    /* DISKREMOVED function ID */
  220. #define    APSH_ActiveWindow    (APSH_Dummy+231L)    /* ACTIVEWINDOW function ID */
  221. #define    APSH_InactiveWindow    (APSH_Dummy+232L)    /* INACTIVEWINDOW function ID */
  222. #define    APSH_IntuiTicks        (APSH_Dummy+233L)    /* INTUITICKS function */
  223. #define    APSH_MouseMove        (APSH_Dummy+234L)    /* MOUSEMOVE function */
  224. #define    APSH_WinBOpen        (APSH_Dummy+235L)    /* Call before opening window */
  225. #define    APSH_WinAOpen        (APSH_Dummy+236L)    /* Call after opening window */
  226. #define    APSH_WinBClose        (APSH_Dummy+237L)    /* Call before closing window */
  227. #define    APSH_WinAClose        (APSH_Dummy+238L)    /* Call after closing window */
  228. #define    APSH_RefreshData    (APSH_Dummy+239L)    /* Refresh gadget data */
  229. #define    APSH_MenuHelp        (APSH_Dummy+240L)    /* Menu Help */
  230. #define    APSH_IDCMPUpdate    (APSH_Dummy+241L)    /* IDCMP Update */
  231. #define    APSH_ChangeWindow    (APSH_Dummy+242L)    /* ChangeWindow size */
  232.  
  233. /* Real or simulated IntuiMessage fields */
  234. #define    APSH_MsgClass        (APSH_Dummy+260L)    /* message class */
  235. #define    APSH_MsgCode        (APSH_Dummy+261L)    /* message code */
  236. #define    APSH_MsgQualifier    (APSH_Dummy+262L)    /* message qualifier */
  237. #define    APSH_MsgIAddress    (APSH_Dummy+263L)    /* item address */
  238. #define    APSH_MsgMouseX        (APSH_Dummy+264L)    /* mouse X coordinate */
  239. #define    APSH_MsgMouseY        (APSH_Dummy+265L)    /* mouse Y coordinate */
  240. #define    APSH_MsgSeconds        (APSH_Dummy+266L)    /* seconds */
  241. #define    APSH_MsgMicros        (APSH_Dummy+267L)    /* micros */
  242. #define    APSH_MsgWindow        (APSH_Dummy+268L)    /* window for event */
  243. #define    APSH_IntuiMessage    (APSH_Dummy+269L)    /* Complete IntuiMessage */
  244.  
  245. /* SIPC message */
  246. #define    APSH_SIPCData        (APSH_Dummy+300L)    /* Pointer the data passed by a SIPC message */
  247. #define    APSH_SIPCDataLength    (APSH_Dummy+301L)    /* Length of the SIPC data */
  248. #define APSH_AlreadyRunning    (APSH_Dummy+302L)    /* Function to execute if SIPC already exists */
  249. #define    APSH_SIPCError        (APSH_Dummy+303L)    /* SIPC command ERROR function ID */
  250. #define    APSH_SIPCOK        (APSH_Dummy+304L)    /* SIPC command OK function ID */
  251.  
  252. /* Tool information */
  253. #define    APSH_Tool        (APSH_Dummy+320L)    /* Name of tool */
  254. #define    APSH_ToolAddr        (APSH_Dummy+321L)    /* Address of tool */
  255. #define    APSH_ToolData        (APSH_Dummy+322L)    /* Data for tool */
  256. #define    APSH_ToolStack        (APSH_Dummy+323L)    /* Stack requirements of tool */
  257. #define    APSH_ToolPri        (APSH_Dummy+324L)    /* Priority of tool */
  258.  
  259. /* Workbench tags */
  260. #define    APSH_AppWindowEnv    (APSH_Dummy+400L)    /* AppWindow information */
  261. #define    APSH_AppIconEnv        (APSH_Dummy+401L)    /* AppIcon information */
  262. #define    APSH_AppMenuEnv        (APSH_Dummy+402L)    /* AppMenuItem information */
  263. #define    APSH_WBArg        (APSH_Dummy+420L)    /* pointer to WBArg */
  264.  
  265. /* Workbench tags for function ID's */
  266. #define    APSH_AppOpen        (APSH_Dummy+403L)    /* After App... is added */
  267. #define    APSH_AppBDrop        (APSH_Dummy+404L)    /* Before icons are processed */
  268. #define    APSH_AppDDrop        (APSH_Dummy+405L)    /* For each icon in the list */
  269. #define    APSH_AppADrop        (APSH_Dummy+406L)    /* After icons added to project list */
  270. #define    APSH_AppClose        (APSH_Dummy+407L)    /* Before App... closed */
  271. #define    APSH_AppRemove        (APSH_Dummy+408L)    /* Before App... deleted */
  272. #define    APSH_AppDblClick    (APSH_Dummy+409L)    /* When icon double-clicked */
  273.  
  274. #define    APSH_NEXT_TAG        (APSH_Dummy+500L)    /* remember... */
  275.  
  276.  
  277. /*------------------------------------------------------------------------*/
  278. /* The AppShell uses the following tags to set/get values                 */
  279. /*------------------------------------------------------------------------*/
  280.  
  281. /* AppShell object attributes start from here */
  282. #define    APSH_Attrs        TAG_USER+25000L
  283.  
  284. /* AppInfo attributes.  These values are only valid while a command
  285.  * is outstanding (hasn't returned control back to the AppShell dispatcher).
  286.  */
  287. #define    APSH_TextRtn        (APSH_Attrs+1L)  /* Text return value (SG) */
  288. #define    APSH_PrimaryReturn    (APSH_Attrs+2L)  /* Primary return value (SG) */
  289. #define    APSH_SecondaryReturn    (APSH_Attrs+3L)  /* Secondary return value (SG) */
  290. #define    APSH_Done        (APSH_Attrs+4L)  /* Done yet? (SG) */
  291. #define    APSH_Startup        (APSH_Attrs+5L)  /* Startup flags (G) */
  292. #define    APSH_Options        (APSH_Attrs+6L)  /* ReadArgs option buckets (G) */
  293. #define    APSH_ArgsPtr        (APSH_Attrs+8L)  /* ReadArgs pointer (G) */
  294. #define    APSH_FileArray        (APSH_Attrs+9L)  /* Multi-arg array from 0 bucket (G) */
  295. #define    APSH_ToolIcon        (APSH_Attrs+10L) /* Pointer to application tool icon (G) */
  296. #define    APSH_ProgramDir        (APSH_Attrs+11L) /* Base directory for application (G) */
  297. #define    APSH_PrefsDir        (APSH_Attrs+12L) /* Application preference directory (G) */
  298. #define    APSH_PrefsList        (APSH_Attrs+13L) /* List of preference records (G) */
  299. #define    APSH_ProgName        (APSH_Attrs+15L) /* Executable name (G) */
  300. #define    APSH_ScreenName        (APSH_Attrs+23L) /* Public screen name (G) */
  301. #define    APSH_ScreenPtr        (APSH_Attrs+24L) /* Screen pointer (G) */
  302. #define    APSH_Font        (APSH_Attrs+25L) /* TextFont used (G) */
  303. #define    APSH_ActvWindow        (APSH_Attrs+26L) /* Active window (G) */
  304. #define    APSH_ActvGadget        (APSH_Attrs+27L) /* Active gadget (G) */
  305. #define    APSH_ActvObject        (APSH_Attrs+28L) /* Active object (G) */
  306. #define    APSH_DrawInfo        (APSH_Attrs+29L) /* DrawInfo for screen (G) */
  307. #define    APSH_VisualInfo        (APSH_Attrs+30L) /* VisualInfo for screen (G) */
  308. #define    APSH_MouseX        (APSH_Attrs+31L) /* Last mouse x value (G) */
  309. #define    APSH_MouseY        (APSH_Attrs+32L) /* Last mouse y value (G) */
  310. #define    APSH_NumCommands    (APSH_Attrs+33L) /* Number of outstanding cmds (G) */
  311. #define    APSH_Process        (APSH_Attrs+35L) /* Process pointer (G) */
  312. #define    APSH_FailAt        (APSH_Attrs+36L) /* Failure level (SG) */
  313. #define    APSH_ActvMH        (APSH_Attrs+37L) /* Where did current msg orig. (G) */
  314. #define    APSH_ActvMessage    (APSH_Attrs+38L) /* Current msg (G) */
  315. #define    APSH_LastError        (APSH_Attrs+39L) /* Last error number (G) */
  316. #define    APSH_LastText        (APSH_Attrs+40L) /* Last text message (G) */
  317. #define    APSH_ARexxMH        (APSH_Attrs+80L) /* ARexx msg. handler (G) */
  318. #define    APSH_CommandShellMH    (APSH_Attrs+81L) /* Command Shell msg. handler (G) */
  319. #define    APSH_IntuitionMH    (APSH_Attrs+82L) /* Intuition msg. handler (G) */
  320. #define    APSH_SIPCMH        (APSH_Attrs+83L) /* SIPC msg. handler (G) */
  321. #define    APSH_ToolMH        (APSH_Attrs+84L) /* Tool msg. handler (G) */
  322. #define    APSH_WorkbenchMH    (APSH_Attrs+85L) /* Workbench msg. handler (G) */
  323.  
  324. #endif /* LIBRARIES_APSHATTRS_H */
  325.