home *** CD-ROM | disk | FTP | other *** search
/ Aminet 10 / aminetcdnumber101996.iso / Aminet / misc / emu / Frodo.lha / Frodo / src / FrodoGUI.h < prev    next >
C/C++ Source or Header  |  1995-12-06  |  5KB  |  117 lines

  1. /*
  2.  *  Source machine generated by GadToolsBox V2.0b
  3.  *  which is (c) Copyright 1991-1993 Jaba Development
  4.  *
  5.  *  GUI Designed by : Christian Bauer
  6.  */
  7.  
  8. #define GetString( g )      ((( struct StringInfo * )g->SpecialInfo )->Buffer  )
  9. #define GetNumber( g )      ((( struct StringInfo * )g->SpecialInfo )->LongInt )
  10.  
  11. #define GD_OK                                  0
  12. #define GD_Cancel                              1
  13. #define GD_Save                                2
  14. #define GD_Joystick1On                         3
  15. #define GD_Joystick2On                         4
  16. #define GD_JoystickSwap                        5
  17. #define GD_GetDisplayID                        6
  18. #define GD_DisplayID                           7
  19. #define GD_ScreenType                          8
  20. #define GD_GetDir8                             9
  21. #define GD_GetDir9                             10
  22. #define GD_GetDir10                            11
  23. #define GD_GetDir11                            12
  24. #define GD_OtherIEC                            13
  25. #define GD_KeyboardYZ                          14
  26. #define GD_Collisions                          15
  27. #define GD_MapSlash                            16
  28. #define GD_FastReset                           17
  29. #define GD_LimitSpeed                          18
  30. #define GD_NormalCycles                        19
  31. #define GD_BadLineCycles                       20
  32. #define GD_CIACycles                           21
  33. #define GD_SkipLatch                           22
  34. #define GD_Dir8                                23
  35. #define GD_Dir9                                24
  36. #define GD_Dir10                               25
  37. #define GD_Dir11                               26
  38. #define GD_Drv8Type                            27
  39. #define GD_Drv9Type                            28
  40. #define GD_Drv11Type                           29
  41. #define GD_Drv10Type                           30
  42. #define GD_SIDType                             31
  43. #define GD_DirectVideo                         32
  44.  
  45. #define GDX_OK                                 0
  46. #define GDX_Cancel                             1
  47. #define GDX_Save                               2
  48. #define GDX_Joystick1On                        3
  49. #define GDX_Joystick2On                        4
  50. #define GDX_JoystickSwap                       5
  51. #define GDX_GetDisplayID                       6
  52. #define GDX_DisplayID                          7
  53. #define GDX_ScreenType                         8
  54. #define GDX_GetDir8                            9
  55. #define GDX_GetDir9                            10
  56. #define GDX_GetDir10                           11
  57. #define GDX_GetDir11                           12
  58. #define GDX_OtherIEC                           13
  59. #define GDX_KeyboardYZ                         14
  60. #define GDX_Collisions                         15
  61. #define GDX_MapSlash                           16
  62. #define GDX_FastReset                          17
  63. #define GDX_LimitSpeed                         18
  64. #define GDX_NormalCycles                       19
  65. #define GDX_BadLineCycles                      20
  66. #define GDX_CIACycles                          21
  67. #define GDX_SkipLatch                          22
  68. #define GDX_Dir8                               23
  69. #define GDX_Dir9                               24
  70. #define GDX_Dir10                              25
  71. #define GDX_Dir11                              26
  72. #define GDX_Drv8Type                           27
  73. #define GDX_Drv9Type                           28
  74. #define GDX_Drv11Type                          29
  75. #define GDX_Drv10Type                          30
  76. #define GDX_SIDType                            31
  77. #define GDX_DirectVideo                        32
  78.  
  79. #define Prefs_CNT 33
  80.  
  81. extern struct IntuitionBase *IntuitionBase;
  82. extern struct Library       *GadToolsBase;
  83.  
  84. extern struct Screen        *Scr;
  85. extern UBYTE                 *PubScreenName;
  86. extern APTR                  VisualInfo;
  87. extern struct Window        *PrefsWnd;
  88. extern struct Gadget        *PrefsGList;
  89. extern struct Menu          *PrefsMenus;
  90. extern struct Gadget        *PrefsGadgets[33];
  91. extern struct IClass        *getClass;
  92. extern struct _Object       *getImage;
  93. extern UWORD                 PrefsLeft;
  94. extern UWORD                 PrefsTop;
  95. extern UWORD                 PrefsWidth;
  96. extern UWORD                 PrefsHeight;
  97. extern UBYTE                *PrefsWdt;
  98. extern struct TextAttr      *Font, Attr;
  99. extern UWORD                 FontX, FontY;
  100. extern UWORD                 OffX, OffY;
  101. extern UBYTE                *ScreenType0Labels[];
  102. extern UBYTE                *Drv8Type0Labels[];
  103. extern UBYTE                *Drv9Type0Labels[];
  104. extern UBYTE                *Drv11Type0Labels[];
  105. extern UBYTE                *Drv10Type0Labels[];
  106. extern UBYTE                *SIDType0Labels[];
  107. extern struct NewMenu        PrefsNewMenu[];
  108. extern UWORD                 PrefsGTypes[];
  109. extern struct NewGadget      PrefsNGad[];
  110. extern ULONG                 PrefsGTags[];
  111.  
  112.  
  113. extern int SetupScreen( void );
  114. extern void CloseDownScreen( void );
  115. extern int OpenPrefsWindow( void );
  116. extern void ClosePrefsWindow( void );
  117.