home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga Shareware Floppies / ma15.dms / ma15.adf / Yak / Source / popup.h < prev    next >
C/C++ Source or Header  |  1993-05-17  |  5KB  |  121 lines

  1. /*
  2.  *  Source machine generated by GadToolsBox V2.0b
  3.  *  which is (c) Copyright 1991-1993 Jaba Development
  4.  *
  5.  *  GUI Designed by : Martin W Scott
  6.  */
  7.  
  8. #define GetString( g )      ((( struct StringInfo * )g->SpecialInfo )->Buffer  )
  9. #define GetNumber( g )      ((( struct StringInfo * )g->SpecialInfo )->LongInt )
  10.  
  11. #define GD_Hide                                0
  12. #define GD_Quit                                1
  13. #define GD_AutoCheck                           2
  14. #define GD_KeyActCheck                         3
  15. #define GD_CTFCheck                            4
  16. #define GD_CTBCheck                            5
  17. #define GD_ScrCycleCheck                       6
  18. #define GD_WildStarCheck                       7
  19. #define GD_ScrActCheck                         8
  20. #define GD_AutoPopCheck                        9
  21. #define GD_MBMethod                            10
  22. #define GD_RMBActCheck                         11
  23. #define GD_EditHotkeys                         12
  24. #define GD_AutoPat                             13
  25. #define GD_ClickPat                            14
  26. #define GD_PopPat                              15
  27. #define GD_ClickWinPat                         16
  28. #define GD_ClickVol                            17
  29. #define GD_ScrTONum                            18
  30. #define GD_MouseTONum                          19
  31.  
  32. #define GDX_Hide                               0
  33. #define GDX_Quit                               1
  34. #define GDX_AutoCheck                          2
  35. #define GDX_KeyActCheck                        3
  36. #define GDX_CTFCheck                           4
  37. #define GDX_CTBCheck                           5
  38. #define GDX_ScrCycleCheck                      6
  39. #define GDX_WildStarCheck                      7
  40. #define GDX_ScrActCheck                        8
  41. #define GDX_AutoPopCheck                       9
  42. #define GDX_MBMethod                           10
  43. #define GDX_RMBActCheck                        11
  44. #define GDX_EditHotkeys                        12
  45. #define GDX_AutoPat                            13
  46. #define GDX_ClickPat                           14
  47. #define GDX_PopPat                             15
  48. #define GDX_ClickWinPat                        16
  49. #define GDX_ClickVol                           17
  50. #define GDX_ScrTONum                           18
  51. #define GDX_MouseTONum                         19
  52.  
  53. #define GD_Hotkeys                             0
  54. #define GD_Actions                             1
  55. #define GD_HKStr                               2
  56. #define GD_Argument                            3
  57. #define GD_Options                             4
  58. #define GD_Add                                 5
  59. #define GD_Delete                              6
  60. #define GD_Return                              7
  61.  
  62. #define GDX_Hotkeys                            0
  63. #define GDX_Actions                            1
  64. #define GDX_HKStr                              2
  65. #define GDX_Argument                           3
  66. #define GDX_Options                            4
  67. #define GDX_Add                                5
  68. #define GDX_Delete                             6
  69. #define GDX_Return                             7
  70.  
  71. #define Help_CNT 20
  72. #define HotKey_CNT 8
  73.  
  74. extern struct IntuitionBase *IntuitionBase;
  75. extern struct Library       *GadToolsBase;
  76.  
  77. extern struct Screen        *Scr;
  78. extern UBYTE                 *PubScreenName;
  79. extern APTR                  VisualInfo;
  80. extern struct Window        *HelpWnd;
  81. extern struct Window        *HotKeyWnd;
  82. extern struct Gadget        *HelpGList;
  83. extern struct Gadget        *HotKeyGList;
  84. extern struct Menu          *HelpMenus;
  85. extern UWORD                 HelpZoom[4];
  86. extern struct Gadget        *HelpGadgets[20];
  87. extern struct Gadget        *HotKeyGadgets[8];
  88. extern UWORD                 HelpLeft;
  89. extern UWORD                 HelpTop;
  90. extern UWORD                 HelpWidth;
  91. extern UWORD                 HelpHeight;
  92. extern UWORD                 HotKeyLeft;
  93. extern UWORD                 HotKeyTop;
  94. extern UWORD                 HotKeyWidth;
  95. extern UWORD                 HotKeyHeight;
  96. extern UBYTE                *HelpWdt;
  97. extern UBYTE                *HotKeyWdt;
  98. extern struct TextAttr      *Font, Attr;
  99. extern UWORD                 FontX, FontY;
  100. extern UWORD                 OffX, OffY;
  101. extern UBYTE                *MBMethod0Labels[];
  102. extern UBYTE                *Options1Labels[];
  103. extern struct MinList        Actions1List;
  104. extern struct IntuiText      HelpIText[];
  105. extern struct NewMenu        HelpNewMenu[];
  106. extern UWORD                 HelpGTypes[];
  107. extern UWORD                 HotKeyGTypes[];
  108. extern struct NewGadget      HelpNGad[];
  109. extern struct NewGadget      HotKeyNGad[];
  110. extern ULONG                 HelpGTags[];
  111. extern ULONG                 HotKeyGTags[];
  112.  
  113.  
  114. extern int SetupScreen( void );
  115. extern void CloseDownScreen( void );
  116. extern void HelpRender( void );
  117. extern int OpenHelpWindow( void );
  118. extern void CloseHelpWindow( void );
  119. extern int OpenHotKeyWindow( void );
  120. extern void CloseHotKeyWindow( void );
  121.