home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / telecomm / terms / term-4.1-source.lha / Extras / Source / term-Source.lha / gtlayout.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-31  |  15.9 KB  |  467 lines

  1. #ifndef _GTLAYOUT_H
  2. #define _GTLAYOUT_H
  3.  
  4. /*
  5. **    GadTools layout toolkit
  6. **
  7. **    Copyright © 1993-1994 by Olaf `Olsen' Barthel
  8. **    Freely distributable.
  9. */
  10.  
  11. #define SHARED_LIB
  12.  
  13. /*****************************************************************************/
  14.  
  15. #ifdef LIB_CODE
  16. #define REG(x)    register __ ## x
  17. #define LIBENT    __asm __saveds
  18. #endif    /* LIB_CODE */
  19.  
  20. #ifdef SHARED_LIB
  21. #define REG(x)
  22. #define LIBENT
  23. #endif    /* SHARED_LIB */
  24.  
  25. #ifdef LINK_LIB
  26. #define REG(x)
  27. #define LIBENT    __regargs
  28. #endif    /* LINK_LIB */
  29.  
  30. /*****************************************************************************/
  31.  
  32.  
  33. #ifndef EXEC_TYPES_H
  34. #include <exec/types.h>
  35. #endif
  36.  
  37. #ifndef INTUITION_INTUITION_H
  38. #include <intuition/intuition.h>
  39. #endif
  40.  
  41. #ifndef UTILITY_TAGITEM_H
  42. #include <utility/tagitem.h>
  43. #endif
  44.  
  45. #ifndef INTUITION_GADGETCLASS_H
  46. #include <intuition/gadgetclass.h>
  47. #endif
  48.  
  49. /*****************************************************************************/
  50.  
  51.  
  52. typedef char enum PlacementTypes
  53. {
  54.     PLACE_LEFT,
  55.     PLACE_RIGHT,
  56.     PLACE_ABOVE,
  57.     PLACE_IN,
  58.     PLACE_BELOW
  59. } PlacementTypes;
  60.  
  61. typedef char enum AlignmentTypes
  62. {
  63.     ALIGNTEXT_LEFT,
  64.     ALIGNTEXT_CENTERED,
  65.     ALIGNTEXT_RIGHT,
  66.     ALIGNTEXT_PAD
  67. } AlignmentTypes;
  68.  
  69. typedef LONG __stdargs (* DISPFUNC)(struct Gadget *gad,WORD value);
  70.  
  71. #define ALIGNF_RIGHT        (1 << 0)
  72. #define ALIGNF_LEFT        (1 << 1)
  73. #define ALIGNF_TOP        (1 << 2)
  74. #define ALIGNF_BOTTOM        (1 << 3)
  75. #define ALIGNF_EXTRA_RIGHT    (1 << 4)
  76. #define ALIGNF_EXTRA_LEFT    (1 << 5)
  77. #define ALIGNF_EXTRA_TOP    (1 << 6)
  78. #define ALIGNF_EXTRA_BOTTOM    (1 << 7)
  79.  
  80.  
  81. /*****************************************************************************/
  82.  
  83.  
  84. /* Generic tags, applicable for several object types */
  85. #define LA_Chars        TAG_USER+2
  86. #define LA_LabelPlace        TAG_USER+3
  87. #define LA_ExtraSpace        TAG_USER+4
  88. #define LA_Center        TAG_USER+60
  89. #define LA_NoKey        TAG_USER+30
  90. #define LA_HighLabel        TAG_USER+31
  91. #define LA_LabelText        TAG_USER+37
  92. #define LA_LabelID        TAG_USER+38
  93. #define LA_ID            TAG_USER+39
  94. #define LA_Type            TAG_USER+40
  95. #define LA_PageSelector        TAG_USER+79
  96.  
  97. /* Storage type tags */
  98. #define STORE_BYTE        TAG_USER+63
  99. #define LA_BYTE            TAG_USER+63
  100. #define STORE_UBYTE        TAG_USER+64
  101. #define LA_UBYTE        TAG_USER+64
  102. #define STORE_WORD        TAG_USER+65
  103. #define LA_WORD            TAG_USER+65
  104. #define STORE_UWORD        TAG_USER+66
  105. #define LA_UWORD        TAG_USER+66
  106. #define STORE_LONG        TAG_USER+67
  107. #define LA_LONG            TAG_USER+67
  108. #define STORE_ULONG        TAG_USER+68
  109. #define LA_ULONG        TAG_USER+68
  110. #define STORE_STRPTR        TAG_USER+69
  111. #define LA_STRPTR        TAG_USER+69
  112. #define STORE_FRACTION        TAG_USER+68
  113. #define LA_FRACTION        TAG_USER+68
  114.  
  115. /* for use with LT_GetAttributes() only */
  116. #define LA_Left            TAG_USER+16
  117. #define LA_Top            TAG_USER+17
  118. #define LA_Width        TAG_USER+18
  119. #define LA_Height        TAG_USER+19
  120.  
  121. /* TEXT_KIND */
  122. #define LATX_Picker        TAG_USER+5
  123.  
  124. /* VERTICAL_KIND, HORIZONTAL_KIND */
  125. #define LAGR_Spread        TAG_USER+6
  126. #define LAGR_SameSize        TAG_USER+8
  127. #define LAGR_LastAttributes    TAG_USER+46
  128. #define LAGR_ActivePage        TAG_USER+58
  129.  
  130. /* FRAME_KIND */
  131. #define LAFR_InnerWidth        TAG_USER+9
  132. #define LAFR_InnerHeight    TAG_USER+10
  133. #define LAFR_DrawBox        TAG_USER+11
  134.  
  135. /* BOX_KIND */
  136. #define LABX_Labels        TAG_USER+12
  137. #define LABX_Lines        TAG_USER+13
  138. #define LABX_Rows        TAG_USER+1
  139. #define LABX_Index        TAG_USER+14
  140. #define LABX_Text        TAG_USER+15
  141. #define LABX_AlignText        TAG_USER+27
  142. #define LABX_DrawBox        TAG_USER+11
  143. #define LABX_FirstLabel        TAG_USER+44
  144. #define LABX_LastLabel        TAG_USER+45
  145. #define LABX_ReserveSpace    TAG_USER+72
  146.  
  147. /* FRACTION_KIND */
  148. #define LAFC_MaxChars        TAG_USER+20
  149. #define LAFC_Number        TAG_USER+21
  150. #define LAFC_LastGadget        TAG_USER+28
  151. #define LAFC_Min        TAG_USER+23
  152. #define LAFC_Max        TAG_USER+24
  153. #define LAFC_HistoryLines    TAG_USER+59
  154. #define LAFC_HistoryHook    TAG_USER+80
  155.  
  156. /* SLIDER_KIND */
  157. #define LASL_FullCheck        TAG_USER+22
  158.  
  159. /* LISTVIEW_KIND */
  160. #define LALV_ExtraLabels    TAG_USER+26
  161. #define LALV_Labels        TAG_USER+33
  162. #define LALV_CursorKey        TAG_USER+35
  163. #define LALV_Lines        TAG_USER+1
  164. #define LALV_Link        TAG_USER+7
  165. #define LALV_FirstLabel        TAG_USER+44
  166. #define LALV_LastLabel        TAG_USER+45
  167. #define LALV_MaxGrowX        TAG_USER+77
  168. #define LALV_MaxGrowY        TAG_USER+78
  169.  
  170. /* INTEGER_KIND */
  171. #define LAIN_LastGadget        TAG_USER+28
  172. #define LAIN_Min        TAG_USER+23
  173. #define LAIN_Max        TAG_USER+24
  174. #define LAIN_UseIncrementers    TAG_USER+57
  175. #define LAIN_HistoryLines    TAG_USER+59
  176. #define LAIN_HistoryHook    TAG_USER+80
  177. #define LAIN_IncrementerHook    TAG_USER+85
  178.  
  179. /* STRING_KIND */
  180. #define LAST_LastGadget        TAG_USER+28
  181. #define LAST_Link        TAG_USER+7
  182. #define LAST_Picker        TAG_USER+5
  183. #define LAST_HistoryLines    TAG_USER+59
  184. #define LAST_HistoryHook    TAG_USER+80
  185.  
  186. /* PASSWORD_KIND */
  187. #define LAPW_LastGadget        TAG_USER+28
  188. #define LAPW_HistoryLines    TAG_USER+59
  189. #define LAPW_HistoryHook    TAG_USER+80
  190.  
  191. /* PALETTE_KIND */
  192. #define LAPA_SmallPalette    TAG_USER+32
  193. #define LAPA_Lines        LA_Lines
  194.  
  195. /* BUTTON_KIND */
  196. #define LABT_ReturnKey        TAG_USER+34
  197. #define LABT_EscKey        TAG_USER+56
  198. #define LABT_ExtraFat        TAG_USER+29
  199.  
  200. /* GAUGE_KIND */
  201. #define LAGA_Percent        TAG_USER+36
  202. #define LAGA_InfoLength        TAG_USER+70
  203. #define LAGA_InfoText        TAG_USER+71
  204.  
  205. /* CYCLE_KIND */
  206. #define LACY_FirstLabel        TAG_USER+44
  207. #define LACY_LastLabel        TAG_USER+45
  208.  
  209. /* MX_KIND */
  210. #define LAMX_FirstLabel        TAG_USER+44
  211. #define LAMX_LastLabel        TAG_USER+45
  212.  
  213. /* SCROLLER_KIND */
  214. #define LASC_Thin        TAG_USER+62
  215.  
  216. /* XBAR_KIND */
  217. #define LAXB_FullSize        TAG_USER+50
  218.  
  219. /* Applicable for window only */
  220. #define LAWN_Menu        TAG_USER+25
  221. #define LAWN_UserPort        TAG_USER+47
  222. #define LAWN_Left        TAG_USER+48
  223. #define LAWN_Top        TAG_USER+49
  224. #define LAWN_Zoom        TAG_USER+50
  225. #define LAWN_MaxPen        TAG_USER+52
  226. #define LAWN_BelowMouse        TAG_USER+53
  227. #define LAWN_MoveToWindow    TAG_USER+54
  228. #define LAWN_AutoRefresh    TAG_USER+55
  229. #define LAWN_HelpHook        TAG_USER+73
  230. #define LAWN_Parent        TAG_USER+81
  231. #define LAWN_BlockParent    TAG_USER+82
  232.  
  233. /* Applicable for layout handle only */
  234. #define LH_Font            TAG_USER+41
  235. #define LH_AutoActivate        TAG_USER+42
  236. #define LH_LocaleHook        TAG_USER+4
  237. #define LH_CloningPermitted    TAG_USER+61
  238. #define LH_EditHook        TAG_USER+74
  239. #define LH_ExactClone        TAG_USER+75
  240. #define LH_MenuGlyphs        TAG_USER+76
  241. #define LH_Parent        TAG_USER+83
  242. #define LH_BlockParent        TAG_USER+84
  243.  
  244. /* Last tag item value used */
  245. #define LAST_TAG        TAG_USER+85
  246.  
  247. /*****************************************************************************/
  248.  
  249.  
  250. /* Identifies the absence of a link for a listview or a string gadget */
  251. #define NIL_LINK        -2
  252.  
  253.  
  254. /*****************************************************************************/
  255.  
  256.  
  257.     /* String gadget type history hook support: you will either get one
  258.      * of the following values passed as the message parameter to your
  259.      * hook function, or a pointer to a null-terminated string you should
  260.      * copy and create a Node from which you should then add to the tail
  261.      * of your history list. Place a pointer to your history list in the
  262.      * Hook.h_Data entry.
  263.      */
  264.  
  265. #define HISTORYHOOK_DISCARD_OLDEST    0    // Discard oldest entry
  266.  
  267.  
  268. /*****************************************************************************/
  269.  
  270.     /* Incrementer hook support: you will get the current value
  271.      * passed as the object and one of the following values as
  272.      * the message. Return the number to be used.
  273.      */
  274.  
  275. typedef int enum IncrementerMsgTypes
  276. {
  277.     INCREMENTERMSG_DECREMENT = -1,    // Decrement value
  278.     INCREMENTERMSG_INITIAL = 0,    // Initial value passed upon gadget creation
  279.     INCREMENTERMSG_INCREMENT = 1    // Increment value
  280. } IncrementerMsgTypes;
  281.     
  282. /*****************************************************************************/
  283.  
  284.     /* Help key hook support: the hook will be called with a "struct IBox *"
  285.      * as the object and a "struct HelpMsg *". The IBox describes the object
  286.      * the mouse was positioned over, such as a button, a listview, etc.
  287.      * The "ObjectID" will indicate the ID of the object the mouse was
  288.      * positioned over. The ID will be -1 if no object was to be found.
  289.      */
  290.  
  291. typedef struct HelpMsg
  292. {
  293.     struct LayoutHandle    *Handle;    // Window layout handle
  294.     LONG             ObjectID;    // ID of the object, -1 for full window
  295. } HelpMsg;
  296.  
  297. /*****************************************************************************/
  298.  
  299. /* Obsolete tags, don't use in new code */
  300. #define LA_Lines        LABX_Rows
  301. #define LA_Spread        LAGR_Spread
  302. #define LA_SameSize        LAGR_SameSize
  303. #define LA_FullCheck        LASL_FullCheck
  304. #define LA_ExtraLabels        LALV_ExtraLabels
  305. #define LA_LastGadget        LAFC_LastGadget
  306. #define LA_SmallPalette        LAPA_SmallPalette
  307. #define LA_Labels        LALV_Labels
  308. #define LA_Picker        LATX_Picker
  309. #define LA_DrawBox        LAFR_DrawBox
  310. #define LA_FirstLabel        LABX_FirstLabel
  311. #define LA_LastLabel        LABX_LastLabel
  312. #define LA_Min            LAFC_Min
  313. #define LA_Max            LAFC_Max
  314. #define LA_Link            LALV_Link
  315. #define LA_Menu            LAWN_Menu
  316. #define LA_HistoryLines        LAST_HistoryLines
  317. #define LA_HistoryHook        LAST_HistoryHook
  318. #define LA_ReturnKey        LABT_ReturnKey
  319. #define LA_ExtraFat        LABT_ExtraFat
  320. #define LA_CursorKey        LALV_CursorKey
  321.  
  322. /*****************************************************************************/
  323.  
  324.  
  325. /* kinds of objects support in addition to the normal GadTools kinds */
  326. #define HORIZONTAL_KIND        45
  327. #define VERTICAL_KIND        46
  328. #define END_KIND        47
  329. #define FRAME_KIND        48
  330. #define BOX_KIND        49
  331. #define FRACTION_KIND        50
  332. #define XBAR_KIND        51
  333. #define YBAR_KIND        52
  334. #define PASSWORD_KIND        53
  335. #define GAUGE_KIND        54
  336.  
  337.  
  338. /*****************************************************************************/
  339.  
  340.  
  341. /* in support of FRACTION_KIND gadgets */
  342.  
  343. typedef ULONG            FIXED;
  344. #define FIXED_UNITY        10000
  345.  
  346. #define TO_FIXED(l,r)        (FIXED_UNITY * (l) + (r))
  347. #define FIXED_LEFT(f)        ((f) / FIXED_UNITY)
  348. #define FIXED_RIGHT(f)        ((f) % FIXED_UNITY)
  349.  
  350.  
  351. /*****************************************************************************/
  352.  
  353.  
  354. #ifndef _GTLAYOUT_C
  355. typedef struct LayoutHandle
  356. {
  357.     struct Screen        *Screen;
  358.     struct DrawInfo        *DrawInfo;
  359.     struct Window        *Window;
  360.     APTR             VisualInfo;
  361.     struct Image        *AmigaGlyph,
  362.                 *CheckGlyph;
  363.  
  364.     /* private fields follow.... */
  365. } LayoutHandle;
  366. #endif
  367.  
  368.  
  369.  
  370. /*****************************************************************************/
  371.  
  372.  
  373. VOID LIBENT            LT_LevelWidth(REG(a0) struct LayoutHandle *handle,REG(a1) STRPTR levelFormat,REG(a2) DISPFUNC dispFunc,REG(d0) LONG min,REG(d1) LONG max,REG(a3) LONG *maxWidth,REG(a5) LONG *maxLen,REG(d2) BOOL fullCheck);
  374. VOID LIBENT            LT_DeleteHandle(REG(a0) struct LayoutHandle *Handle);
  375. struct LayoutHandle * LIBENT    LT_CreateHandle(REG(a0) struct Screen *Screen,REG(a1) struct TextAttr *Font);
  376. struct LayoutHandle * LIBENT    LT_CreateHandleTagList(REG(a0) struct Screen *Screen,REG(a1) struct TagItem *TagList);
  377. BOOL LIBENT            LT_Rebuild(REG(a0) struct LayoutHandle *handle,REG(a1) struct IBox *bounds,REG(a2) LONG extraWidth,REG(d0) LONG extraHeight,REG(d1) BOOL clear);
  378. VOID LIBENT            LT_HandleInput(REG(a0) struct LayoutHandle *Handle,REG(d0) ULONG MsgQualifier,REG(a1) ULONG *MsgClass,REG(a2) UWORD *MsgCode,REG(a3) struct Gadget **MsgGadget);
  379. VOID LIBENT            LT_BeginRefresh(REG(a0) struct LayoutHandle *handle);
  380. VOID LIBENT            LT_EndRefresh(REG(a0) struct LayoutHandle *handle,REG(d0) BOOL complete);
  381. LONG LIBENT            LT_GetAttributesA(REG(a0) struct LayoutHandle *Handle,REG(d0) LONG ID,REG(a1) struct TagItem *TagList);
  382. VOID LIBENT            LT_SetAttributesA(REG(a0) struct LayoutHandle *handle,REG(d0) LONG id,REG(a1) struct TagItem *TagList);
  383. VOID LIBENT            LT_AddA(REG(a0) struct LayoutHandle *Handle,REG(d0) UBYTE Type,REG(d1) STRPTR Label,REG(d2) LONG ID,REG(a1) struct TagItem *TagList);
  384. VOID LIBENT            LT_NewA(REG(a0) struct LayoutHandle *handle,REG(a1) struct TagItem *tagList);
  385. VOID LIBENT            LT_EndGroup(REG(a0) struct LayoutHandle *handle);
  386. struct Window * LIBENT        LT_LayoutA(REG(a0) struct LayoutHandle *handle, REG(a1) STRPTR title,REG(a2) struct IBox *bounds,REG(d0) LONG extraWidth, REG(d1) LONG extraHeight,REG(d2) ULONG IDCMP, REG(d3) UBYTE align, REG(a3) struct TagItem *TagParams);
  387. struct Menu * LIBENT        LT_LayoutMenusA(REG(a0) struct LayoutHandle *handle,REG(a1) struct NewMenu *menuTemplate,REG(a2) struct TagItem *TagParams);
  388. VOID LIBENT            LT_Fixed2String(REG(d0) FIXED fixed,REG(d1) STRPTR buffer);
  389. FIXED LIBENT            LT_String2Fixed(REG(a0) STRPTR buffer);
  390. ULONG LIBENT            LT_FixedMult(REG(d0) FIXED fixed,REG(d1) ULONG factor);
  391. LONG LIBENT            LT_LabelWidth(REG(a0) struct LayoutHandle *handle,REG(a1) STRPTR label);
  392. LONG LIBENT            LT_LabelChars(REG(a0) struct LayoutHandle *handle,REG(a1) STRPTR label);
  393. VOID LIBENT            LT_LockWindow(REG(a0) struct Window *window);
  394. VOID LIBENT            LT_UnlockWindow(REG(a0) struct Window *window);
  395. VOID LIBENT            LT_DeleteWindowLock(REG(a0) struct Window *window);
  396. VOID LIBENT            LT_ShowWindow(REG(a0) struct LayoutHandle *handle,REG(a1) BOOL activate);
  397. VOID LIBENT            LT_Activate(REG(a0) struct LayoutHandle *handle,REG(d0) LONG id);
  398. VOID LIBENT            LT_PressButton(REG(a0) struct LayoutHandle *handle,REG(d0) LONG id);
  399. WORD LIBENT            LT_GetCode(REG(d0) ULONG MsgQualifier,REG(d1) ULONG MsgClass,REG(d2) UWORD MsgCode,REG(a0) struct Gadget *MsgGadget);
  400. struct IntuiMessage * LIBENT    LT_GetIMsg(REG(a0) struct LayoutHandle *Handle);
  401. VOID LIBENT            LT_ReplyIMsg(REG(a0) struct IntuiMessage *Msg);
  402.  
  403. BOOL                LT_Init(VOID);
  404. VOID                LT_Exit(VOID);
  405.  
  406. struct LayoutHandle * __stdargs    LT_CreateHandleTags(struct Screen *Screen,...);
  407. LONG __stdargs            LT_GetAttributes(struct LayoutHandle *Handle,LONG ID,...);
  408. VOID __stdargs            LT_SetAttributes(struct LayoutHandle *handle,LONG id,...);
  409. VOID __stdargs            LT_AddL(struct LayoutHandle *handle,UBYTE type,ULONG labelID,LONG id,...);
  410. VOID __stdargs            LT_Add(struct LayoutHandle *Handle,UBYTE Type,STRPTR Label,LONG ID,...);
  411. VOID __stdargs            LT_New(struct LayoutHandle *handle,...);
  412. struct Window * __stdargs    LT_Layout(struct LayoutHandle *handle, STRPTR title,struct IBox *bounds,LONG extraWidth, LONG extraHeight,ULONG IDCMP, UBYTE align, ...);
  413. struct Menu * __stdargs        LT_LayoutMenus(struct LayoutHandle *handle,struct NewMenu *menuTemplate,...);
  414.  
  415. /* Obsolete routines, redone as macros */
  416. #define LT_GetDrawInfo(Handle)        (Handle) ? ((Handle) -> DrawInfo)    : NULL
  417. #define LT_GetVisualInfo(Handle)    (Handle) ? ((Handle) -> VisualInfo)    : NULL
  418. #define LT_GetScreen(Handle)        (Handle) ? ((Handle) -> Screen)        : NULL
  419. #define LT_SetAutoActivate(Handle,Mode)    LT_SetAttributes(Handle,0,LH_AutoActivate,Mode,TAG_DONE)
  420.  
  421. #define LT_GetString(Handle,Code)    ((STRPTR)LT_GetAttributes((Handle),(Code),TAG_DONE))
  422.  
  423. #if !defined(LIB_CODE) && !defined(_GTLAYOUT_C) && !defined(NO_PRAGMAS)
  424. #pragma libcall GTLayoutBase LT_LevelWidth 1e 2DB10A907
  425. #pragma libcall GTLayoutBase LT_DeleteHandle 24 801
  426. #pragma libcall GTLayoutBase LT_CreateHandle 2a 9802
  427. #pragma libcall GTLayoutBase LT_CreateHandleTagList 30 9802
  428. #pragma tagcall GTLayoutBase LT_CreateHandleTags 30 9802
  429. #pragma libcall GTLayoutBase LT_Rebuild 36 10A9805
  430. #pragma libcall GTLayoutBase LT_HandleInput 3c BA90805
  431. #pragma libcall GTLayoutBase LT_BeginRefresh 42 801
  432. #pragma libcall GTLayoutBase LT_EndRefresh 48 0802
  433. #pragma libcall GTLayoutBase LT_GetAttributesA 4e 90803
  434. #pragma tagcall GTLayoutBase LT_GetAttributes 4e 90803
  435. #pragma libcall GTLayoutBase LT_SetAttributesA 54 90803
  436. #pragma tagcall GTLayoutBase LT_SetAttributes 54 90803
  437. #pragma libcall GTLayoutBase LT_AddA 5a 9210805
  438. #pragma tagcall GTLayoutBase LT_Add 5a 9210805
  439. #pragma libcall GTLayoutBase LT_NewA 60 9802
  440. #pragma tagcall GTLayoutBase LT_New 60 9802
  441. #pragma libcall GTLayoutBase LT_EndGroup 66 801
  442. #pragma libcall GTLayoutBase LT_LayoutA 6c B3210A9808
  443. #pragma tagcall GTLayoutBase LT_Layout 6c B3210A9808
  444. #pragma libcall GTLayoutBase LT_LayoutMenusA 72 A9803
  445. #pragma tagcall GTLayoutBase LT_LayoutMenus 72 A9803
  446. #pragma libcall GTLayoutBase LT_Fixed2String 78 1002
  447. #pragma libcall GTLayoutBase LT_String2Fixed 7e 801
  448. #pragma libcall GTLayoutBase LT_FixedMult 84 1002
  449. #pragma libcall GTLayoutBase LT_LabelWidth 8a 9802
  450. #pragma libcall GTLayoutBase LT_LabelChars 90 9802
  451. #pragma libcall GTLayoutBase LT_LockWindow 96 801
  452. #pragma libcall GTLayoutBase LT_UnlockWindow 9c 801
  453. #pragma libcall GTLayoutBase LT_DeleteWindowLock a2 801
  454. #pragma libcall GTLayoutBase LT_ShowWindow a8 9802
  455. #pragma libcall GTLayoutBase LT_Activate ae 0802
  456. #pragma libcall GTLayoutBase LT_PressButton b4 0802
  457. #pragma libcall GTLayoutBase LT_GetCode ba 821004
  458. /*--- Added in v1.78 --------------------------------------------------*/
  459. #pragma libcall GTLayoutBase LT_GetIMsg c0 801
  460. #pragma libcall GTLayoutBase LT_ReplyIMsg c6 801
  461. #endif    /* !LIB_CODE && !_GTLAYOUT_C && !NO_PRAGMAS */
  462.  
  463. /*****************************************************************************/
  464.  
  465.  
  466. #endif    /* _GTLAYOUT_H */
  467.