home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
new
/
util
/
cdity
/
colorsaver
/
src
/
gadgets.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-11-29
|
4KB
|
88 lines
/*
* Source machine generated by GadToolsBox V1.4
* which is (c) Copyright 1991,92 Jaba Development
*/
#define GetString( g ) ((( struct StringInfo * )g->SpecialInfo )->Buffer )
#define GetNumber( g ) ((( struct StringInfo * )g->SpecialInfo )->LongInt )
#define GD_PALETTE_GAD 0
#define GD_COPY_GAD 1
#define GD_SWAP_GAD 2
#define GD_RESET_GAD 3
#define GD_LOAD_GAD 4
#define GD_SAVE_GAD 5
#define GD_OKAY_GAD 6
#define GD_CANCEL_GAD 7
#define GD_SCAN_GAD 8
#define GD_CYCLE_GAD 9
#define GD_WRITE_GAD 10
#define GD_RED_GAD 11
#define GD_GREEN_GAD 12
#define GD_BLUE_GAD 13
#define GD_RGBHSV_GAD 14
#define GD_DO_GAD 15
#define GD_SLEFT_GAD 16
#define GD_SRIGHT_GAD 17
#define GD_COMP_GAD 18
#define GD_EXTRA_GAD 19
#define GD_SHIFT_GAD 20
#define GD_RANGE_GAD 21
#define GD_RGBG_GAD 22
#define GD_RGBB_GAD 23
#define GD_RGBR_GAD 24
#define GDX_PALETTE_GAD 0
#define GDX_COPY_GAD 1
#define GDX_SWAP_GAD 2
#define GDX_RESET_GAD 3
#define GDX_LOAD_GAD 4
#define GDX_SAVE_GAD 5
#define GDX_OKAY_GAD 6
#define GDX_CANCEL_GAD 7
#define GDX_SCAN_GAD 8
#define GDX_CYCLE_GAD 9
#define GDX_WRITE_GAD 10
#define GDX_RED_GAD 11
#define GDX_GREEN_GAD 12
#define GDX_BLUE_GAD 13
#define GDX_RGBHSV_GAD 14
#define GDX_DO_GAD 15
#define GDX_SLEFT_GAD 16
#define GDX_SRIGHT_GAD 17
#define GDX_COMP_GAD 18
#define GDX_EXTRA_GAD 19
#define GDX_SHIFT_GAD 20
#define GDX_RANGE_GAD 21
#define GDX_RGBG_GAD 22
#define GDX_RGBB_GAD 23
#define GDX_RGBR_GAD 24
#define ColorSaver_CNT 25
/*extern struct Screen *Scr;*/
extern UBYTE *PubScreenName;
extern APTR VisualInfo;
extern struct Window *ColorSaverWnd;
extern struct Gadget *ColorSaverGList;
extern struct TextFont *Font;
extern struct Gadget *ColorSaverGadgets[25];
extern UWORD ColorSaverLeft;
extern UWORD ColorSaverTop;
extern UWORD ColorSaverWidth;
extern UWORD ColorSaverHeight;
extern UBYTE *ColorSaverWdt;
extern UBYTE *CYCLE_GAD0Labels[];
extern UBYTE *RGBHSV_GAD0Labels[];
extern struct TextAttr topaz8;
extern UWORD ColorSaverGTypes[];
extern struct NewGadget ColorSaverNGad[];
extern ULONG ColorSaverGTags[];
extern int SetupScreen( void );
extern void CloseDownScreen( void );
extern void ColorSaverRender( void );
extern int OpenColorSaverWindow( void );
extern void CloseColorSaverWindow( void );