home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / new / util / cdity / colorsaver / src / gadgets.h < prev    next >
C/C++ Source or Header  |  1994-11-29  |  4KB  |  88 lines

  1. /*
  2.  *  Source machine generated by GadToolsBox V1.4
  3.  *  which is (c) Copyright 1991,92 Jaba Development
  4.  */
  5.  
  6. #define GetString( g )      ((( struct StringInfo * )g->SpecialInfo )->Buffer  )
  7. #define GetNumber( g )      ((( struct StringInfo * )g->SpecialInfo )->LongInt )
  8.  
  9. #define GD_PALETTE_GAD                         0
  10. #define GD_COPY_GAD                            1
  11. #define GD_SWAP_GAD                            2
  12. #define GD_RESET_GAD                           3
  13. #define GD_LOAD_GAD                            4
  14. #define GD_SAVE_GAD                            5
  15. #define GD_OKAY_GAD                            6
  16. #define GD_CANCEL_GAD                          7
  17. #define GD_SCAN_GAD                            8
  18. #define GD_CYCLE_GAD                           9
  19. #define GD_WRITE_GAD                           10
  20. #define GD_RED_GAD                             11
  21. #define GD_GREEN_GAD                           12
  22. #define GD_BLUE_GAD                            13
  23. #define GD_RGBHSV_GAD                          14
  24. #define GD_DO_GAD                              15
  25. #define GD_SLEFT_GAD                           16
  26. #define GD_SRIGHT_GAD                          17
  27. #define GD_COMP_GAD                            18
  28. #define GD_EXTRA_GAD                           19
  29. #define GD_SHIFT_GAD                           20
  30. #define GD_RANGE_GAD                           21
  31. #define GD_RGBG_GAD                            22
  32. #define GD_RGBB_GAD                            23
  33. #define GD_RGBR_GAD                            24
  34.  
  35. #define GDX_PALETTE_GAD                        0
  36. #define GDX_COPY_GAD                           1
  37. #define GDX_SWAP_GAD                           2
  38. #define GDX_RESET_GAD                          3
  39. #define GDX_LOAD_GAD                           4
  40. #define GDX_SAVE_GAD                           5
  41. #define GDX_OKAY_GAD                           6
  42. #define GDX_CANCEL_GAD                         7
  43. #define GDX_SCAN_GAD                           8
  44. #define GDX_CYCLE_GAD                          9
  45. #define GDX_WRITE_GAD                          10
  46. #define GDX_RED_GAD                            11
  47. #define GDX_GREEN_GAD                          12
  48. #define GDX_BLUE_GAD                           13
  49. #define GDX_RGBHSV_GAD                         14
  50. #define GDX_DO_GAD                             15
  51. #define GDX_SLEFT_GAD                          16
  52. #define GDX_SRIGHT_GAD                         17
  53. #define GDX_COMP_GAD                           18
  54. #define GDX_EXTRA_GAD                          19
  55. #define GDX_SHIFT_GAD                          20
  56. #define GDX_RANGE_GAD                          21
  57. #define GDX_RGBG_GAD                           22
  58. #define GDX_RGBB_GAD                           23
  59. #define GDX_RGBR_GAD                           24
  60.  
  61. #define ColorSaver_CNT 25
  62.  
  63. /*extern struct Screen        *Scr;*/
  64. extern UBYTE                 *PubScreenName;
  65. extern APTR                  VisualInfo;
  66. extern struct Window        *ColorSaverWnd;
  67. extern struct Gadget        *ColorSaverGList;
  68. extern struct TextFont      *Font;
  69. extern struct Gadget        *ColorSaverGadgets[25];
  70. extern UWORD                 ColorSaverLeft;
  71. extern UWORD                 ColorSaverTop;
  72. extern UWORD                 ColorSaverWidth;
  73. extern UWORD                 ColorSaverHeight;
  74. extern UBYTE                *ColorSaverWdt;
  75. extern UBYTE                *CYCLE_GAD0Labels[];
  76. extern UBYTE                *RGBHSV_GAD0Labels[];
  77. extern struct TextAttr       topaz8;
  78. extern UWORD                 ColorSaverGTypes[];
  79. extern struct NewGadget      ColorSaverNGad[];
  80. extern ULONG                 ColorSaverGTags[];
  81.  
  82.  
  83. extern int SetupScreen( void );
  84. extern void CloseDownScreen( void );
  85. extern void ColorSaverRender( void );
  86. extern int OpenColorSaverWindow( void );
  87. extern void CloseColorSaverWindow( void );
  88.