home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / TRSICAT.LZX / CATS_CD2_TRSI / Inc&AD2.1 / includes / intuition / iobsolete.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-11  |  10.8 KB  |  370 lines

  1. #ifndef INTUITION_IOBSOLETE_H
  2. #define INTUITION_IOBSOLETE_H
  3.  
  4. /*
  5. **  $VER: iobsolete.h 36.2 (02.11.90)
  6. **  Includes Release 38.56
  7. **
  8. **  Obsolete identifiers for Intuition.  Use the new ones instead!
  9. **
  10. **  (C) Copyright 1985-1992 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14.  
  15. /* This file contains:
  16.  *
  17.  * 1.  The traditional identifiers for gadget Flags, Activation, and Type,
  18.  * and for window Flags and IDCMP classes.  They are defined in terms
  19.  * of their new versions, which serve to prevent confusion between
  20.  * similar-sounding but different identifiers (like IDCMP_WINDOWACTIVE
  21.  * and WFLG_ACTIVATE).
  22.  *
  23.  * 2.  Some tag names and constants whose labels were adjusted after V36.
  24.  *
  25.  * 3.  Some tag names that were used only during the V36-beta cycle.
  26.  *
  27.  * By default, 1 and 2 are enabled, while 3 are excluded.
  28.  *
  29.  * #define INTUI_V36_NAMES_ONLY to exclude the traditional identifiers and
  30.  * the original V36 names of some identifiers.
  31.  *
  32.  * #define INTUI_V36_BETA_NAMES to include the beta tag-names.
  33.  */
  34.  
  35.  
  36. #ifndef INTUITION_INTUITION_H
  37. #include <intuition/intuition.h>
  38. #endif
  39.  
  40. /* #define INTUI_V36_NAMES_ONLY to remove these older names */
  41.  
  42. #ifndef INTUI_V36_NAMES_ONLY
  43.  
  44.  
  45. /* V34-style Gadget->Flags names: */
  46.  
  47. #define GADGHIGHBITS    GFLG_GADGHIGHBITS
  48. #define GADGHCOMP    GFLG_GADGHCOMP
  49. #define GADGHBOX    GFLG_GADGHBOX
  50. #define GADGHIMAGE    GFLG_GADGHIMAGE
  51. #define GADGHNONE    GFLG_GADGHNONE
  52. #define GADGIMAGE    GFLG_GADGIMAGE
  53. #define GRELBOTTOM    GFLG_RELBOTTOM
  54. #define GRELRIGHT    GFLG_RELRIGHT
  55. #define GRELWIDTH    GFLG_RELWIDTH
  56. #define GRELHEIGHT    GFLG_RELHEIGHT
  57. #define SELECTED    GFLG_SELECTED
  58. #define GADGDISABLED    GFLG_DISABLED
  59. #define LABELMASK    GFLG_LABELMASK
  60. #define LABELITEXT    GFLG_LABELITEXT
  61. #define    LABELSTRING    GFLG_LABELSTRING
  62. #define LABELIMAGE    GFLG_LABELIMAGE
  63.  
  64.  
  65. /* V34-style Gadget->Activation flag names: */
  66.  
  67. #define RELVERIFY    GACT_RELVERIFY
  68. #define GADGIMMEDIATE    GACT_IMMEDIATE
  69. #define ENDGADGET    GACT_ENDGADGET
  70. #define FOLLOWMOUSE    GACT_FOLLOWMOUSE
  71. #define RIGHTBORDER    GACT_RIGHTBORDER
  72. #define LEFTBORDER    GACT_LEFTBORDER
  73. #define TOPBORDER    GACT_TOPBORDER
  74. #define BOTTOMBORDER    GACT_BOTTOMBORDER
  75. #define BORDERSNIFF    GACT_BORDERSNIFF
  76. #define TOGGLESELECT    GACT_TOGGLESELECT
  77. #define BOOLEXTEND    GACT_BOOLEXTEND
  78. #define STRINGLEFT    GACT_STRINGLEFT
  79. #define STRINGCENTER    GACT_STRINGCENTER
  80. #define STRINGRIGHT    GACT_STRINGRIGHT
  81. #define LONGINT        GACT_LONGINT
  82. #define ALTKEYMAP    GACT_ALTKEYMAP
  83. #define STRINGEXTEND    GACT_STRINGEXTEND
  84. #define ACTIVEGADGET    GACT_ACTIVEGADGET
  85.  
  86.  
  87. /* V34-style Gadget->Type names: */
  88.  
  89. #define GADGETTYPE    GTYP_GADGETTYPE
  90. #define SYSGADGET    GTYP_SYSGADGET
  91. #define SCRGADGET    GTYP_SCRGADGET
  92. #define GZZGADGET    GTYP_GZZGADGET
  93. #define REQGADGET    GTYP_REQGADGET
  94. #define SIZING        GTYP_SIZING
  95. #define WDRAGGING    GTYP_WDRAGGING
  96. #define SDRAGGING    GTYP_SDRAGGING
  97. #define WUPFRONT    GTYP_WUPFRONT
  98. #define SUPFRONT    GTYP_SUPFRONT
  99. #define WDOWNBACK    GTYP_WDOWNBACK
  100. #define SDOWNBACK    GTYP_SDOWNBACK
  101. #define CLOSE        GTYP_CLOSE
  102. #define BOOLGADGET    GTYP_BOOLGADGET
  103. #define GADGET0002    GTYP_GADGET0002
  104. #define PROPGADGET    GTYP_PROPGADGET
  105. #define STRGADGET    GTYP_STRGADGET
  106. #define CUSTOMGADGET    GTYP_CUSTOMGADGET
  107. #define GTYPEMASK    GTYP_GTYPEMASK
  108.  
  109.  
  110. /* V34-style IDCMP class names: */
  111.  
  112. #define SIZEVERIFY    IDCMP_SIZEVERIFY
  113. #define NEWSIZE        IDCMP_NEWSIZE
  114. #define REFRESHWINDOW    IDCMP_REFRESHWINDOW
  115. #define MOUSEBUTTONS    IDCMP_MOUSEBUTTONS
  116. #define MOUSEMOVE    IDCMP_MOUSEMOVE
  117. #define GADGETDOWN    IDCMP_GADGETDOWN
  118. #define GADGETUP    IDCMP_GADGETUP
  119. #define REQSET        IDCMP_REQSET
  120. #define MENUPICK    IDCMP_MENUPICK
  121. #define CLOSEWINDOW    IDCMP_CLOSEWINDOW
  122. #define RAWKEY        IDCMP_RAWKEY
  123. #define REQVERIFY    IDCMP_REQVERIFY
  124. #define REQCLEAR    IDCMP_REQCLEAR
  125. #define MENUVERIFY    IDCMP_MENUVERIFY
  126. #define NEWPREFS    IDCMP_NEWPREFS
  127. #define DISKINSERTED    IDCMP_DISKINSERTED
  128. #define DISKREMOVED    IDCMP_DISKREMOVED
  129. #define WBENCHMESSAGE    IDCMP_WBENCHMESSAGE
  130. #define ACTIVEWINDOW    IDCMP_ACTIVEWINDOW
  131. #define INACTIVEWINDOW    IDCMP_INACTIVEWINDOW
  132. #define DELTAMOVE    IDCMP_DELTAMOVE
  133. #define VANILLAKEY    IDCMP_VANILLAKEY
  134. #define INTUITICKS    IDCMP_INTUITICKS
  135. #define IDCMPUPDATE    IDCMP_IDCMPUPDATE
  136. #define MENUHELP    IDCMP_MENUHELP
  137. #define CHANGEWINDOW    IDCMP_CHANGEWINDOW
  138. #define LONELYMESSAGE    IDCMP_LONELYMESSAGE
  139.  
  140.  
  141. /* V34-style Window->Flags names: */
  142.  
  143. #define WINDOWSIZING    WFLG_SIZEGADGET
  144. #define WINDOWDRAG    WFLG_DRAGBAR
  145. #define WINDOWDEPTH    WFLG_DEPTHGADGET
  146. #define WINDOWCLOSE    WFLG_CLOSEGADGET
  147. #define SIZEBRIGHT    WFLG_SIZEBRIGHT
  148. #define SIZEBBOTTOM    WFLG_SIZEBBOTTOM
  149. #define REFRESHBITS    WFLG_REFRESHBITS
  150. #define SMART_REFRESH    WFLG_SMART_REFRESH
  151. #define SIMPLE_REFRESH    WFLG_SIMPLE_REFRESH
  152. #define SUPER_BITMAP    WFLG_SUPER_BITMAP
  153. #define OTHER_REFRESH    WFLG_OTHER_REFRESH
  154. #define BACKDROP    WFLG_BACKDROP
  155. #define REPORTMOUSE    WFLG_REPORTMOUSE
  156. #define GIMMEZEROZERO    WFLG_GIMMEZEROZERO
  157. #define BORDERLESS    WFLG_BORDERLESS
  158. #define ACTIVATE    WFLG_ACTIVATE
  159. #define WINDOWACTIVE    WFLG_WINDOWACTIVE
  160. #define INREQUEST    WFLG_INREQUEST
  161. #define MENUSTATE    WFLG_MENUSTATE
  162. #define RMBTRAP        WFLG_RMBTRAP
  163. #define NOCAREREFRESH    WFLG_NOCAREREFRESH
  164. #define WINDOWREFRESH    WFLG_WINDOWREFRESH
  165. #define WBENCHWINDOW    WFLG_WBENCHWINDOW
  166. #define WINDOWTICKED    WFLG_WINDOWTICKED
  167. #define NW_EXTENDED    WFLG_NW_EXTENDED
  168. #define VISITOR        WFLG_VISITOR
  169. #define ZOOMED        WFLG_ZOOMED
  170. #define HASZOOM        WFLG_HASZOOM
  171.  
  172.  
  173. /* These are the obsolete tag names for general gadgets, proportional gadgets,
  174.  * and string gadgets.    Use the mixed-case equivalents from gadgetclass.h
  175.  * instead.
  176.  */
  177.  
  178. #define GA_LEFT            GA_Left
  179. #define GA_RELRIGHT        GA_RelRight
  180. #define GA_TOP            GA_Top
  181. #define GA_RELBOTTOM        GA_RelBottom
  182. #define GA_WIDTH        GA_Width
  183. #define GA_RELWIDTH        GA_RelWidth
  184. #define GA_HEIGHT        GA_Height
  185. #define GA_RELHEIGHT        GA_RelHeight
  186. #define GA_TEXT            GA_Text
  187. #define GA_IMAGE        GA_Image
  188. #define GA_BORDER        GA_Border
  189. #define GA_SELECTRENDER        GA_SelectRender
  190. #define GA_HIGHLIGHT        GA_Highlight
  191. #define GA_DISABLED        GA_Disabled
  192. #define GA_GZZGADGET        GA_GZZGadget
  193. #define GA_USERDATA        GA_UserData
  194. #define GA_SPECIALINFO        GA_SpecialInfo
  195. #define GA_SELECTED        GA_Selected
  196. #define GA_ENDGADGET        GA_EndGadget
  197. #define GA_IMMEDIATE        GA_Immediate
  198. #define GA_RELVERIFY        GA_RelVerify
  199. #define GA_FOLLOWMOUSE        GA_FollowMouse
  200. #define GA_RIGHTBORDER        GA_RightBorder
  201. #define GA_LEFTBORDER        GA_LeftBorder
  202. #define GA_TOPBORDER        GA_TopBorder
  203. #define GA_BOTTOMBORDER        GA_BottomBorder
  204. #define GA_TOGGLESELECT        GA_ToggleSelect
  205. #define GA_SYSGADGET        GA_SysGadget
  206. #define GA_SYSGTYPE        GA_SysGType
  207. #define GA_PREVIOUS        GA_Previous
  208. #define GA_NEXT            GA_Next
  209. #define GA_DRAWINFO        GA_DrawInfo
  210. #define GA_INTUITEXT        GA_IntuiText
  211. #define GA_LABELIMAGE        GA_LabelImage
  212.  
  213. #define PGA_FREEDOM        PGA_Freedom
  214. #define PGA_BORDERLESS        PGA_Borderless
  215. #define PGA_HORIZPOT        PGA_HorizPot
  216. #define PGA_HORIZBODY        PGA_HorizBody
  217. #define PGA_VERTPOT        PGA_VertPot
  218. #define PGA_VERTBODY        PGA_VertBody
  219. #define PGA_TOTAL        PGA_Total
  220. #define PGA_VISIBLE        PGA_Visible
  221. #define PGA_TOP            PGA_Top
  222.  
  223. #define LAYOUTA_LAYOUTOBJ    LAYOUTA_LayoutObj
  224. #define LAYOUTA_SPACING        LAYOUTA_Spacing
  225. #define LAYOUTA_ORIENTATION    LAYOUTA_Orientation
  226.  
  227.  
  228. /* These are the obsolete tag names for image attributes.
  229.  * Use the mixed-case equivalents from imageclass.h instead.
  230.  */
  231.  
  232. #define IMAGE_ATTRIBUTES    (IA_Dummy)
  233. #define IA_LEFT            IA_Left
  234. #define IA_TOP            IA_Top
  235. #define IA_WIDTH        IA_Width
  236. #define IA_HEIGHT        IA_Height
  237. #define IA_FGPEN        IA_FGPen
  238. #define IA_BGPEN        IA_BGPen
  239. #define IA_DATA            IA_Data
  240. #define IA_LINEWIDTH        IA_LineWidth
  241. #define IA_PENS            IA_Pens
  242. #define IA_RESOLUTION        IA_Resolution
  243. #define IA_APATTERN        IA_APattern
  244. #define IA_APATSIZE        IA_APatSize
  245. #define IA_MODE            IA_Mode
  246. #define IA_FONT            IA_Font
  247. #define IA_OUTLINE        IA_Outline
  248. #define IA_RECESSED        IA_Recessed
  249. #define IA_DOUBLEEMBOSS        IA_DoubleEmboss
  250. #define IA_EDGESONLY        IA_EdgesOnly
  251. #define IA_SHADOWPEN        IA_ShadowPen
  252. #define IA_HIGHLIGHTPEN        IA_HighlightPen
  253.  
  254.  
  255. /* These are the obsolete identifiers for the various DrawInfo pens.
  256.  * Use the uppercase versions in screens.h instead.
  257.  */
  258.  
  259. #define detailPen    DETAILPEN
  260. #define blockPen    BLOCKPEN
  261. #define textPen        TEXTPEN
  262. #define shinePen    SHINEPEN
  263. #define shadowPen    SHADOWPEN
  264. #define hifillPen    FILLPEN
  265. #define hifilltextPen    FILLTEXTPEN
  266. #define backgroundPen    BACKGROUNDPEN
  267. #define hilighttextPen    HIGHLIGHTTEXTPEN
  268. #define numDrIPens    NUMDRIPENS
  269.  
  270.  
  271. #endif /* !INTUI_V36_NAMES_ONLY */
  272.  
  273.  
  274. /* #define INTUI_V36_BETA_NAMES to enable these tag names that were used
  275.  * during the V36 beta period only.  New code should use the official
  276.  * tags instead.
  277.  */
  278.  
  279. #ifdef INTUI_V36_BETA_NAMES
  280.  
  281. /* These are the obsolete tag-names for the OpenWindowTags().
  282.  * Use the WA_... equivalents from intuition.h instead.
  283.  */
  284.  
  285. #define W_Dummy            WA_Dummy
  286. #define W_LEFT            WA_Left
  287. #define W_TOP            WA_Top
  288. #define W_WIDTH            WA_Width
  289. #define W_HEIGHT        WA_Height
  290. #define W_DETAILPEN        WA_DetailPen
  291. #define W_BLOCKPEN        WA_BlockPen
  292. #define W_IDCMP            WA_IDCMP
  293. #define W_FLAGS            WA_Flags
  294. #define W_GADGETS        WA_Gadgets
  295. #define W_CHECKMARK        WA_Checkmark
  296. #define W_TITLE            WA_Title
  297. #define W_SCREENTITLE        WA_ScreenTitle
  298. #define W_CUSTOMSCREEN        WA_CustomScreen
  299. #define W_SUPERBITMAP        WA_SuperBitMap
  300. #define W_MINWIDTH        WA_MinWidth
  301. #define W_MINHEIGHT        WA_MinHeight
  302. #define W_MAXWIDTH        WA_MaxWidth
  303. #define W_MAXHEIGHT        WA_MaxHeight
  304. #define W_INNERWIDTH        WA_InnerWidth
  305. #define W_INNERHEIGHT        WA_InnerHeight
  306. #define W_PUBSCNAME        WA_PubScreenName
  307. #define W_PUBSC            WA_PubScreen
  308. #define W_PUBSCFALLBACK        WA_PubScreenFallBack
  309. #define W_WINDOWNAME        WA_WindowName
  310. #define W_COLORS        WA_Colors
  311. #define W_ZOOM            WA_Zoom
  312. #define W_MOUSEQUEUE        WA_MouseQueue
  313. #define W_BACKFILL        WA_BackFill
  314. #define W_RPTQUEUE        WA_RptQueue
  315. #define W_SIZEGADGET        WA_SizeGadget
  316. #define W_DRAGBAR        WA_DragBar
  317. #define W_DEPTHGADGET        WA_DepthGadget
  318. #define W_CLOSEGADGET        WA_CloseGadget
  319. #define W_BACKDROP        WA_Backdrop
  320. #define W_REPORTMOUSE        WA_ReportMouse
  321. #define W_NOCAREREFRESH        WA_NoCareRefresh
  322. #define W_BORDERLESS        WA_Borderless
  323. #define W_ACTIVATE        WA_Activate
  324. #define W_RMBTRAP        WA_RMBTrap
  325. #define W_WBENCHWINDOW        WA_WBenchWindow
  326. #define W_SIMPLE_REFRESH    WA_SimpleRefresh
  327. #define W_SMART_REFRESH        WA_SmartRefresh
  328. #define W_SIZEBRIGHT        WA_SizeBRight
  329. #define W_SIZEBBOTTOM        WA_SizeBBottom
  330. #define W_AUTOADJUST        WA_AutoAdjust
  331. #define W_GIMMEZEROZERO        WA_GimmeZeroZero
  332.  
  333.  
  334. /* These are the obsolete tag-names for the OpenScreenTags().
  335.  * Use the SA_... equivalents from screens.h instead.
  336.  */
  337.  
  338. #define S_DUMMY        SA_Dummy
  339. #define S_LEFT        SA_Left
  340. #define S_TOP        SA_Top
  341. #define S_WIDTH        SA_Width
  342. #define S_HEIGHT    SA_Height
  343. #define S_DEPTH        SA_Depth
  344. #define S_DETAILPEN    SA_DetailPen
  345. #define S_BLOCKPEN    SA_BlockPen
  346. #define S_TITLE        SA_Title
  347. #define S_COLORS    SA_Colors
  348. #define S_ERRORCODE    SA_ErrorCode
  349. #define S_FONT        SA_Font
  350. #define S_SYSFONT    SA_SysFont
  351. #define S_TYPE        SA_Type
  352. #define S_BITMAP    SA_BitMap
  353. #define S_PUBNAME    SA_PubName
  354. #define S_PUBSIG    SA_PubSig
  355. #define S_PUBTASK    SA_PubTask
  356. #define S_DISPLAYID    SA_DisplayID
  357. #define S_DCLIP        SA_DClip
  358. #define S_STDDCLIP    SA_Overscan
  359. #define S_MONITORNAME    SA_Obsolete1
  360. #define S_SHOWTITLE    SA_ShowTitle
  361. #define S_BEHIND    SA_Behind
  362. #define S_QUIET        SA_Quiet
  363. #define S_AUTOSCROLL    SA_AutoScroll
  364.  
  365.  
  366. #endif /* INTUI_V36_BETA_NAMES */
  367.  
  368.  
  369. #endif /* INTUITION_IOBSOLETE_H */
  370.