/******************* struct for WDB **************/
#include	<intuition/intuition.h>

#define	gidSTR 1
#define gidCROSS 2
#define gidMAG 3
#define gidOK  4
#define gidQUIT 5

SHORT
	BoolBorderVectors[] = { 0,0, 33,0, 33,9, 0,9, 0,0 },
	StrBorderVectors[] = { 0,0, 48,0, 48,9, 0,9, 0,0 };

struct Border 
	BoolBorder = { -2,-1, 2,0,JAM1, 5, BoolBorderVectors, NULL },
	StrBorder = { -2,-1, 3,0,JAM1, 5, StrBorderVectors, NULL };

struct IntuiText 
	BoolIText1 = { 2,1,JAM2, 0,0, NULL, (UBYTE *)"Quit", NULL },
	BoolIText2 = { 2,1,JAM2, 0,0, NULL, (UBYTE *)"Okay", NULL },
	IText1 = { 2,0,JAM2, -120,1, NULL, (UBYTE *)"Magnification:", NULL },
	IText2 = { 2,0,JAM2, -3,-9, NULL,
		(UBYTE *)"x0       x10      x20      x30", NULL };

UBYTE StrGgtSIBuff[6] = ".833";

struct StringInfo StrGgtSInfo =
	{ StrGgtSIBuff, NULL, 0, 6, 0, 0,0,0,0,0, 0, 0, NULL };

USHORT
	ImageData1[] = { 
		0x0800,0x1C00,0x3E00,0x7F00,0xFF80 },
	ImageData2[] = {
		0x0800,0x0800,0x0800,0x0800,0xFF80,0x0800,0x0800,0x0800,
		0x0800,0x0800,0x0800,0x0800,0x0800,0xFF80,0x0800,0x0800,
		0x0800,0x0800 };
struct Image
	Image1 = { 0,0, 9,5, 1, ImageData1, 0x0002,0x0000, NULL },
	Image2 = { 34,8, 9,9, 2, ImageData2, 0x0002,0x0000, NULL };

struct PropInfo 
	MagGgtSInfo = { FREEHORIZ, 0,-1, 2114,-1, },
	CrossGgtSInfo = { FREEHORIZ+FREEVERT,32768,32768,1456,1456,};

struct Gadget
	QuitGgt = { NULL, 98,105, 34,9, GADGHCOMP, RELVERIFY,
		BOOLGADGET, (APTR)&BoolBorder, NULL, &BoolIText1, NULL,
		NULL, gidQUIT, NULL }, 
	OkGgt = { &QuitGgt, 18,105, 34,9, GADGHCOMP, RELVERIFY,
		BOOLGADGET, (APTR)&BoolBorder, NULL, &BoolIText2, NULL,
		NULL, gidOK, NULL }, 
	StrGgt = { &OkGgt, 143,85, 45,8, NULL, RELVERIFY,
		STRGADGET, (APTR)&StrBorder, NULL, &IText1, NULL,
		(APTR)&StrGgtSInfo, gidSTR, NULL },
	MagGgt = { &StrGgt, 9,73, 221,9, GADGIMAGE+GADGHCOMP,
		RELVERIFY+GADGIMMEDIATE, PROPGADGET, (APTR)&Image1, NULL, &IText2,
		NULL, (APTR)&MagGgtSInfo, gidMAG, NULL },
	CrossGgt = { &MagGgt, 18,14, 213,46, GADGIMAGE+GADGHCOMP, RELVERIFY,
		PROPGADGET, (APTR)&Image2, NULL, NULL, NULL, (APTR)&CrossGgtSInfo,
		gidCROSS, NULL }; 
#define GadgetList1 CrossGgt

