/* $Revision Header *** Header built automatically - do not edit! ***********
 *
 *	(C) Copyright 1992 by Metalworx
 *
 *	Name .....: Install.h
 *	Created ..: Sun 12-Jul-92 11:58
 *	Revision .: 0
 *
 *	Date		Author		Comment
 *	=========	========	====================
 *	12-Jul-92	Mtwx		Created this file!
 *
 * $Revision Header ********************************************************/
 #define REVISION 0

/* ------------------------------- defines ------------------------------ */

#define OK_GADGET 20
#define ABBRUCH_GADGET 21

/* ------------------------------- internal globals --------------------- */

static struct NewScreen InstallNewScreen = {
  0,0,	/* screen XY origin relative to View */
  640,200,  /* screen width and height */
  2,  /* screen depth (number of bitplanes) */
  0,1,	/* detail and block pens */
  HIRES,  /* display modes for this screen */
  CUSTOMSCREEN,  /* screen type */
  NULL,  /* pointer to default screen font */
  NULL,  /* screen title */
  NULL,  /* first in list of custom screen gadgets */
  NULL	/* pointer to custom BitMap structure */
};

static USHORT __chip ImageData1[] = {
  0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFC0,0xC000,0x0000,
  0x0000,0x0000,0x0000,0x00C0,0xC000,0x0000,0x0000,0x0000,
  0x0000,0x00C0,0xC000,0x0000,0x0000,0x0000,0x0000,0x00C0,
  0xC000,0x0000,0x0202,0x2000,0x0000,0x00C0,0xC000,0x0000,
  0x0602,0x6000,0x0000,0x00C0,0xC000,0x0000,0x0420,0xC000,
  0x0000,0x00C0,0xC000,0x0000,0x0422,0x0000,0x0000,0x00C0,
  0xC000,0x0000,0x0062,0x0000,0x0000,0x00C0,0xC000,0x0000,
  0x00C2,0x2000,0x0000,0x00C0,0xC000,0x0000,0x038E,0x6000,
  0x0000,0x00C0,0xC000,0x0000,0x0000,0x0000,0x0000,0x00C0,
  0xC000,0x0000,0x0000,0x0000,0x0000,0x00C0,0xFFFF,0xFFFF,
  0xFFFF,0xFFFF,0xFFFF,0xFFC0,0x0000,0x0000,0x0000,0x0000,
  0x0000,0x0000,0x3FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFF00,
  0x3000,0x0000,0x0000,0x0000,0x0000,0x0000,0x3000,0x0000,
  0x071C,0xC000,0x0000,0x0000,0x3000,0x0000,0x0D8C,0xC000,
  0x0000,0x0000,0x3000,0x0000,0x18CD,0x8000,0x0000,0x0000,
  0x3000,0x0000,0x18CF,0x0000,0x0000,0x0000,0x3000,0x0000,
  0x18CD,0x8000,0x0000,0x0000,0x3000,0x0000,0x0D8C,0xC000,
  0x0000,0x0000,0x3000,0x0000,0x071C,0xC000,0x0000,0x0000,
  0x3000,0x0000,0x0000,0x0000,0x0000,0x0000,0x3000,0x0000,
  0x0000,0x0000,0x0000,0x0000,0x3000,0x0000,0x0000,0x0000,
  0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
};

static struct Image Image1 = {
  0,0,	/* XY origin relative to container TopLeft */
  90,14,  /* Image width and height in pixels */
  2,  /* number of bitplanes in Image */
  ImageData1,  /* pointer to ImageData */
  0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  NULL	/* next Image structure */
};

static USHORT __chip ImageData2[] = {
  0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFC0,0xC000,0x0000,
  0x0000,0x0000,0x0000,0x00C0,0xC000,0x0000,0x0000,0x0000,
  0x0000,0x00C0,0xC000,0x0000,0x0000,0x0000,0x0000,0x00C0,
  0xC000,0x0000,0x0202,0x2000,0x0000,0x00C0,0xC000,0x0000,
  0x0602,0x6000,0x0000,0x00C0,0xC000,0x0000,0x0420,0xC000,
  0x0000,0x00C0,0xC000,0x0000,0x0422,0x0000,0x0000,0x00C0,
  0xC000,0x0000,0x0062,0x0000,0x0000,0x00C0,0xC000,0x0000,
  0x00C2,0x2000,0x0000,0x00C0,0xC000,0x0000,0x038E,0x6000,
  0x0000,0x00C0,0xC000,0x0000,0x0000,0x0000,0x0000,0x00C0,
  0xC000,0x0000,0x0000,0x0000,0x0000,0x00C0,0xFFFF,0xFFFF,
  0xFFFF,0xFFFF,0xFFFF,0xFFC0,0x0000,0x0000,0x0000,0x0000,
  0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0300,
  0x0000,0x0000,0x0000,0x0000,0x0000,0x0300,0x0000,0x0000,
  0x071C,0xC000,0x0000,0x0300,0x0000,0x0000,0x0D8C,0xC000,
  0x0000,0x0300,0x0000,0x0000,0x18CD,0x8000,0x0000,0x0300,
  0x0000,0x0000,0x18CF,0x0000,0x0000,0x0300,0x0000,0x0000,
  0x18CD,0x8000,0x0000,0x0300,0x0000,0x0000,0x0D8C,0xC000,
  0x0000,0x0300,0x0000,0x0000,0x071C,0xC000,0x0000,0x0300,
  0x0000,0x0000,0x0000,0x0000,0x0000,0x0300,0x0000,0x0000,
  0x0000,0x0000,0x0000,0x0300,0x3FFF,0xFFFF,0xFFFF,0xFFFF,
  0xFFFF,0xFF00,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
};

static struct Image Image2 = {
  0,0,	/* XY origin relative to container TopLeft */
  90,14,  /* Image width and height in pixels */
  2,  /* number of bitplanes in Image */
  ImageData2,  /* pointer to ImageData */
  0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  NULL	/* next Image structure */
};

static struct Gadget OKBool = {
  NULL,  /* next gadget */
  440,170,  /* origin XY of hit box relative to window TopLeft */
  90,14,  /* hit box width and height */
  GADGHIMAGE+GADGIMAGE,  /* gadget flags */
  RELVERIFY,  /* activation flags */
  BOOLGADGET,  /* gadget type flags */
  (APTR)&Image1,  /* gadget border or image to be rendered */
  (APTR)&Image2,  /* alternate imagery for selection */
  NULL,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  NULL,  /* SpecialInfo structure */
  OK_GADGET,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

UWORD __chip ImageData3[2][14][6] = {
    {
	0xffff,0xffff,0xffff,0xffff,0xffff,0xffc0,0xc000,0x0000,
	0x0000,0x0000,0x0000,0x00c0,0xc000,0x0000,0x0000,0x0000,
	0x0000,0x00c0,0xc000,0x0000,0x0000,0x0000,0x0000,0x00c0,
	0xc000,0x0060,0x0000,0x0000,0x1000,0x00c0,0xc000,0x00cc,
	0x0000,0x0000,0x1000,0x00c0,0xc000,0x0080,0x6060,0x6060,
	0x1000,0x00c0,0xc000,0x0080,0x0444,0x4c04,0x1000,0x00c0,
	0xc000,0x0000,0x2444,0x407c,0x1000,0x00c0,0xc000,0x000c,
	0x0044,0x0c00,0x0000,0x00c0,0xc000,0x0078,0x76cc,0x7878,
	0x7800,0x00c0,0xc000,0x0000,0x0000,0x0000,0x0000,0x00c0,
	0xc000,0x0000,0x0000,0x0000,0x0000,0x00c0,0xffff,0xffff,
	0xffff,0xffff,0xffff,0xffc0
    },
    {
	0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x3fff,0xffff,
	0xffff,0xffff,0xffff,0xff00,0x3000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x3000,0x00f0,0x0000,0x0000,0xe000,0x0000,
	0x3000,0x0198,0x0000,0x0000,0x6000,0x0000,0x3000,0x0300,
	0xf1f0,0xf0f0,0x6000,0x0000,0x3000,0x0300,0x1999,0x9998,
	0x6000,0x0000,0x3000,0x0300,0x7999,0x81f8,0x6000,0x0000,
	0x3000,0x0199,0x9999,0x9980,0x6000,0x0000,0x3000,0x00f0,
	0xed98,0xf0f0,0xf000,0x0000,0x3000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x3000,0x0000,0x0000,0x0000,0x0000,0x0000,
	0x3000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000
    },
};

static struct Image Image3 = {
  0,0,	/* XY origin relative to container TopLeft */
  90,14,  /* Image width and height in pixels */
  2,  /* number of bitplanes in Image */
  (USHORT *)ImageData3,  /* pointer to ImageData */
  0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  NULL	/* next Image structure */
};

UWORD __chip ImageData4[2][14][6] = {
    {
	0xffff,0xffff,0xffff,0xffff,0xffff,0xffc0,0xc000,0x0000,
	0x0000,0x0000,0x0000,0x00c0,0xc000,0x0000,0x0000,0x0000,
	0x0000,0x00c0,0xc000,0x0000,0x0000,0x0000,0x0000,0x00c0,
	0xc000,0x0060,0x0000,0x0000,0x1000,0x00c0,0xc000,0x00cc,
	0x0000,0x0000,0x1000,0x00c0,0xc000,0x0080,0x6060,0x6060,
	0x1000,0x00c0,0xc000,0x0080,0x0444,0x4c04,0x1000,0x00c0,
	0xc000,0x0000,0x2444,0x407c,0x1000,0x00c0,0xc000,0x000c,
	0x0044,0x0c00,0x0000,0x00c0,0xc000,0x0078,0x76cc,0x7878,
	0x7800,0x00c0,0xc000,0x0000,0x0000,0x0000,0x0000,0x00c0,
	0xc000,0x0000,0x0000,0x0000,0x0000,0x00c0,0xffff,0xffff,
	0xffff,0xffff,0xffff,0xffc0
    },
    {
	0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0300,0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0300,0x0000,0x00f0,0x0000,0x0000,0xe000,0x0300,
	0x0000,0x0198,0x0000,0x0000,0x6000,0x0300,0x0000,0x0300,
	0xf1f0,0xf0f0,0x6000,0x0300,0x0000,0x0300,0x1999,0x9998,
	0x6000,0x0300,0x0000,0x0300,0x7999,0x81f8,0x6000,0x0300,
	0x0000,0x0199,0x9999,0x9980,0x6000,0x0300,0x0000,0x00f0,
	0xed98,0xf0f0,0xf000,0x0300,0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0300,0x0000,0x0000,0x0000,0x0000,0x0000,0x0300,
	0x3fff,0xffff,0xffff,0xffff,0xffff,0xff00,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000
    },
};

static struct Image Image4 = {
  0,0,	/* XY origin relative to container TopLeft */
  90,14,  /* Image width and height in pixels */
  2,  /* number of bitplanes in Image */
  (USHORT *)ImageData4,  /* pointer to ImageData */
  0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  NULL	/* next Image structure */
};

static struct Gadget AbbruchBool = {
  &OKBool,  /* next gadget */
  535,170,  /* origin XY of hit box relative to window TopLeft */
  90,14,  /* hit box width and height */
  GADGHIMAGE+GADGIMAGE,  /* gadget flags */
  RELVERIFY,  /* activation flags */
  BOOLGADGET,  /* gadget type flags */
  (APTR)&Image3,  /* gadget border or image to be rendered */
  (APTR)&Image4,  /* alternate imagery for selection */
  NULL,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  NULL,  /* SpecialInfo structure */
  ABBRUCH_GADGET,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static UBYTE LHAStrGadgetSIBuff[100]=":c/";
static struct StringInfo LHAStrGadgetSInfo = {
  LHAStrGadgetSIBuff,  /* buffer where text will be edited */
  NULL,  /* optional undo buffer */
  0,  /* character position in buffer */
  100,	/* maximum number of characters to allow */
  0,  /* first displayed character buffer position */
  0,0,0,0,0,  /* Intuition initialized and maintained variables */
  0,  /* Rastport of gadget */
  0,  /* initial value for integer gadgets */
  NULL	/* alternate keymap (fill in if you set the flag) */
};

static SHORT BorderVectors1[] = {
  0,0,
  169,0,
  169,11,
  0,11,
  0,0
};
static struct Border Border1 = {
  -1,-2,  /* XY origin relative to container TopLeft */
  3,0,JAM1,  /* front pen, back pen and drawmode */
  5,  /* number of XY vectors */
  BorderVectors1,  /* pointer to XY vectors */
  NULL	/* next border in list */
};

static struct IntuiText IText1 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  -50,2,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "path:",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget LHAStrGadget = {
  &AbbruchBool,  /* next gadget */
  380,142,  /* origin XY of hit box relative to window TopLeft */
  168,10,  /* hit box width and height */
  NULL,  /* gadget flags */
  RELVERIFY,  /* activation flags */
  STRGADGET,  /* gadget type flags */
  (APTR)&Border1,  /* gadget border or image to be rendered */
  NULL,  /* alternate imagery for selection */
  &IText1,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  (APTR)&LHAStrGadgetSInfo,  /* SpecialInfo structure */
  18,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static USHORT __chip ToggleImgData1[] = {
  0x0000,0x0040,0x0000,0x00C0,0x0000,0x00C0,0x0000,0x00C0,
  0x0000,0x00C0,0x0000,0x00C0,0x0000,0x00C0,0x0000,0x00C0,
  0x0000,0x00C0,0x0000,0x00C0,0x7FFF,0xFFC0,0xFFFF,0xFF80,
  0xC000,0x0000,0xC000,0x0000,0xC000,0x0000,0xC000,0x0000,
  0xC000,0x0000,0xC000,0x0000,0xC000,0x0000,0xC000,0x0000,
  0xC000,0x0000,0x8000,0x0000
};

static struct Image ToggleImg1 = {
  0,0,	/* XY origin relative to container TopLeft */
  26,11,  /* Image width and height in pixels */
  2,  /* number of bitplanes in Image */
  ToggleImgData1,  /* pointer to ImageData */
  0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  NULL	/* next Image structure */
};

static USHORT __chip ToggleImgData2[] = {
  0x0000,0x0040,0x0000,0x00C0,0x0000,0x70C0,0x0000,0xC0C0,
  0x0001,0x80C0,0x01C3,0x00C0,0x00E6,0x00C0,0x007C,0x00C0,
  0x0038,0x00C0,0x0000,0x00C0,0x7FFF,0xFFC0,0xFFFF,0xFF80,
  0xC000,0x0000,0xC000,0x0000,0xC000,0x0000,0xC000,0x0000,
  0xC000,0x0000,0xC000,0x0000,0xC000,0x0000,0xC000,0x0000,
  0xC000,0x0000,0x8000,0x0000
};

static struct Image ToggleImg2 = {
  0,0,	/* XY origin relative to container TopLeft */
  26,11,  /* Image width and height in pixels */
  2,  /* number of bitplanes in Image */
  ToggleImgData2,  /* pointer to ImageData */
  0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  NULL	/* next Image structure */
};

static struct IntuiText IText2 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  35,1,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "quicktrans.library",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget LibsBoolQuicktrans = {
  &LHAStrGadget,  /* next gadget */
  330,110,  /* origin XY of hit box relative to window TopLeft */
  26,11,  /* hit box width and height */
  GADGHIMAGE+GADGIMAGE+SELECTED,  /* gadget flags */
  RELVERIFY+TOGGLESELECT,  /* activation flags */
  BOOLGADGET,  /* gadget type flags */
  (APTR)&ToggleImg1,  /* gadget border or image to be rendered */
  (APTR)&ToggleImg2,  /* alternate imagery for selection */
  &IText2,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  NULL,  /* SpecialInfo structure */
  17,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static struct IntuiText IText3 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  35,1,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "req.library",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget LibsBoolReq = {
  &LibsBoolQuicktrans,	/* next gadget */
  330,98,  /* origin XY of hit box relative to window TopLeft */
  26,11,  /* hit box width and height */
  GADGHIMAGE+GADGIMAGE+SELECTED,  /* gadget flags */
  RELVERIFY+TOGGLESELECT,  /* activation flags */
  BOOLGADGET,  /* gadget type flags */
  (APTR)&ToggleImg1,  /* gadget border or image to be rendered */
  (APTR)&ToggleImg2,  /* alternate imagery for selection */
  &IText3,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  NULL,  /* SpecialInfo structure */
  16,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static struct IntuiText IText4 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  35,1,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "arp.library",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget LibsBoolArp = {
  &LibsBoolReq,  /* next gadget */
  330,86,  /* origin XY of hit box relative to window TopLeft */
  26,11,  /* hit box width and height */
  GADGHIMAGE+GADGIMAGE+SELECTED,  /* gadget flags */
  RELVERIFY+TOGGLESELECT,  /* activation flags */
  BOOLGADGET,  /* gadget type flags */
  (APTR)&ToggleImg1,  /* gadget border or image to be rendered */
  (APTR)&ToggleImg2,  /* alternate imagery for selection */
  &IText4,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  NULL,  /* SpecialInfo structure */
  15,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static UBYTE LibsStrGadgetSIBuff[100]="LIBS:";
static struct StringInfo LibsStrGadgetSInfo = {
  LibsStrGadgetSIBuff,	/* buffer where text will be edited */
  NULL,  /* optional undo buffer */
  0,  /* character position in buffer */
  100,	/* maximum number of characters to allow */
  0,  /* first displayed character buffer position */
  0,0,0,0,0,  /* Intuition initialized and maintained variables */
  0,  /* Rastport of gadget */
  0,  /* initial value for integer gadgets */
  NULL	/* alternate keymap (fill in if you set the flag) */
};

static struct IntuiText IText5 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  -50,2,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "path:",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget LibsStrGadget = {
  &LibsBoolArp,  /* next gadget */
  380,72,  /* origin XY of hit box relative to window TopLeft */
  168,10,  /* hit box width and height */
  NULL,  /* gadget flags */
  RELVERIFY,  /* activation flags */
  STRGADGET,  /* gadget type flags */
  (APTR)&Border1,  /* gadget border or image to be rendered */
  NULL,  /* alternate imagery for selection */
  &IText5,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  (APTR)&LibsStrGadgetSInfo,  /* SpecialInfo structure */
  14,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static struct IntuiText IText6 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  35,1,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "install examples",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget ExamplesBool = {
  &LibsStrGadget,  /* next gadget */
  330,40,  /* origin XY of hit box relative to window TopLeft */
  26,11,  /* hit box width and height */
  GADGHIMAGE+GADGIMAGE+SELECTED,  /* gadget flags */
  RELVERIFY+TOGGLESELECT,  /* activation flags */
  BOOLGADGET,  /* gadget type flags */
  (APTR)&ToggleImg1,  /* gadget border or image to be rendered */
  (APTR)&ToggleImg2,  /* alternate imagery for selection */
  &IText6,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  NULL,  /* SpecialInfo structure */
  13,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static UBYTE ExamplesStrGadgetSIBuff[100];
static struct StringInfo ExamplesStrGadgetSInfo = {
  ExamplesStrGadgetSIBuff,  /* buffer where text will be edited */
  NULL,  /* optional undo buffer */
  0,  /* character position in buffer */
  100,	/* maximum number of characters to allow */
  0,  /* first displayed character buffer position */
  0,0,0,0,0,  /* Intuition initialized and maintained variables */
  0,  /* Rastport of gadget */
  0,  /* initial value for integer gadgets */
  NULL	/* alternate keymap (fill in if you set the flag) */
};

static struct IntuiText IText7 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  -50,2,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "path:",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget ExamplesStrGadget = {
  &ExamplesBool,  /* next gadget */
  380,25,  /* origin XY of hit box relative to window TopLeft */
  168,10,  /* hit box width and height */
  NULL,  /* gadget flags */
  RELVERIFY,  /* activation flags */
  STRGADGET,  /* gadget type flags */
  (APTR)&Border1,  /* gadget border or image to be rendered */
  NULL,  /* alternate imagery for selection */
  &IText7,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  (APTR)&ExamplesStrGadgetSInfo,  /* SpecialInfo structure */
  12,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static struct IntuiText IText8 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  35,1,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "quicktrans.library",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget DocBoolQuicktrans = {
  &ExamplesStrGadget,  /* next gadget */
  15,171,  /* origin XY of hit box relative to window TopLeft */
  26,11,  /* hit box width and height */
  GADGHIMAGE+GADGIMAGE,  /* gadget flags */
  RELVERIFY+TOGGLESELECT,  /* activation flags */
  BOOLGADGET,  /* gadget type flags */
  (APTR)&ToggleImg1,  /* gadget border or image to be rendered */
  (APTR)&ToggleImg2,  /* alternate imagery for selection */
  &IText8,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  NULL,  /* SpecialInfo structure */
  11,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static struct IntuiText IText9 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  35,1,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "utilities doc files",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget DocBoolUtil = {
  &DocBoolQuicktrans,  /* next gadget */
  15,159,  /* origin XY of hit box relative to window TopLeft */
  26,11,  /* hit box width and height */
  GADGHIMAGE+GADGIMAGE,  /* gadget flags */
  RELVERIFY+TOGGLESELECT,  /* activation flags */
  BOOLGADGET,  /* gadget type flags */
  (APTR)&ToggleImg1,  /* gadget border or image to be rendered */
  (APTR)&ToggleImg2,  /* alternate imagery for selection */
  &IText9,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  NULL,  /* SpecialInfo structure */
  10,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static struct IntuiText IText10 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  35,1,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "English doc file",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget DocBoolEnglish = {
  &DocBoolUtil,  /* next gadget */
  15,147,  /* origin XY of hit box relative to window TopLeft */
  26,11,  /* hit box width and height */
  GADGHIMAGE+GADGIMAGE+SELECTED,  /* gadget flags */
  RELVERIFY+TOGGLESELECT,  /* activation flags */
  BOOLGADGET,  /* gadget type flags */
  (APTR)&ToggleImg1,  /* gadget border or image to be rendered */
  (APTR)&ToggleImg2,  /* alternate imagery for selection */
  &IText10,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  NULL,  /* SpecialInfo structure */
  9,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static struct IntuiText IText11 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  35,1,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "German doc file",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget DocBoolGerman = {
  &DocBoolEnglish,  /* next gadget */
  15,135,  /* origin XY of hit box relative to window TopLeft */
  26,11,  /* hit box width and height */
  GADGHIMAGE+GADGIMAGE,  /* gadget flags */
  RELVERIFY+TOGGLESELECT,  /* activation flags */
  BOOLGADGET,  /* gadget type flags */
  (APTR)&ToggleImg1,  /* gadget border or image to be rendered */
  (APTR)&ToggleImg2,  /* alternate imagery for selection */
  &IText11,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  NULL,  /* SpecialInfo structure */
  8,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static UBYTE DocStrGadgetSIBuff[100];
static struct StringInfo DocStrGadgetSInfo = {
  DocStrGadgetSIBuff,  /* buffer where text will be edited */
  NULL,  /* optional undo buffer */
  0,  /* character position in buffer */
  100,	/* maximum number of characters to allow */
  0,  /* first displayed character buffer position */
  0,0,0,0,0,  /* Intuition initialized and maintained variables */
  0,  /* Rastport of gadget */
  0,  /* initial value for integer gadgets */
  NULL	/* alternate keymap (fill in if you set the flag) */
};

static struct IntuiText IText12 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  -50,2,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "path:",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget DocStrGadget = {
  &DocBoolGerman,  /* next gadget */
  65,120,  /* origin XY of hit box relative to window TopLeft */
  168,10,  /* hit box width and height */
  NULL,  /* gadget flags */
  RELVERIFY,  /* activation flags */
  STRGADGET,  /* gadget type flags */
  (APTR)&Border1,  /* gadget border or image to be rendered */
  NULL,  /* alternate imagery for selection */
  &IText12,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  (APTR)&DocStrGadgetSInfo,  /* SpecialInfo structure */
  7,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static struct IntuiText IText13 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  35,1,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "utilities",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget ExecBoolUtil = {
  &DocStrGadget,  /* next gadget */
  15,88,  /* origin XY of hit box relative to window TopLeft */
  26,11,  /* hit box width and height */
  GADGHIMAGE+GADGIMAGE,  /* gadget flags */
  RELVERIFY+TOGGLESELECT,  /* activation flags */
  BOOLGADGET,  /* gadget type flags */
  (APTR)&ToggleImg1,  /* gadget border or image to be rendered */
  (APTR)&ToggleImg2,  /* alternate imagery for selection */
  &IText13,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  NULL,  /* SpecialInfo structure */
  6,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static struct IntuiText IText14 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  35,1,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "IEEE version (English only)",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget ExecBoolIEEE = {
  &ExecBoolUtil,  /* next gadget */
  15,76,  /* origin XY of hit box relative to window TopLeft */
  26,11,  /* hit box width and height */
  GADGHIMAGE+GADGIMAGE,  /* gadget flags */
  RELVERIFY+TOGGLESELECT,  /* activation flags */
  BOOLGADGET,  /* gadget type flags */
  (APTR)&ToggleImg1,  /* gadget border or image to be rendered */
  (APTR)&ToggleImg2,  /* alternate imagery for selection */
  &IText14,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  NULL,  /* SpecialInfo structure */
  5,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static struct IntuiText IText15 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  35,1,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "FPU version (English only)",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget ExecBoolFPU = {
  &ExecBoolIEEE,  /* next gadget */
  15,64,  /* origin XY of hit box relative to window TopLeft */
  26,11,  /* hit box width and height */
  GADGHIMAGE+GADGIMAGE,  /* gadget flags */
  RELVERIFY+TOGGLESELECT,  /* activation flags */
  BOOLGADGET,  /* gadget type flags */
  (APTR)&ToggleImg1,  /* gadget border or image to be rendered */
  (APTR)&ToggleImg2,  /* alternate imagery for selection */
  &IText15,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  NULL,  /* SpecialInfo structure */
  4,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static struct IntuiText IText16 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  35,1,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "English version",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget ExecBoolEnglish = {
  &ExecBoolFPU,  /* next gadget */
  15,52,  /* origin XY of hit box relative to window TopLeft */
  26,11,  /* hit box width and height */
  GADGHIMAGE+GADGIMAGE+SELECTED,  /* gadget flags */
  RELVERIFY+TOGGLESELECT,  /* activation flags */
  BOOLGADGET,  /* gadget type flags */
  (APTR)&ToggleImg1,  /* gadget border or image to be rendered */
  (APTR)&ToggleImg2,  /* alternate imagery for selection */
  &IText16,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  NULL,  /* SpecialInfo structure */
  3,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static struct IntuiText IText17 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  35,1,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "German version",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget ExecBoolGerman = {
  &ExecBoolEnglish,  /* next gadget */
  15,40,  /* origin XY of hit box relative to window TopLeft */
  26,11,  /* hit box width and height */
  GADGHIMAGE+GADGIMAGE,  /* gadget flags */
  RELVERIFY+TOGGLESELECT,  /* activation flags */
  BOOLGADGET,  /* gadget type flags */
  (APTR)&ToggleImg1,  /* gadget border or image to be rendered */
  (APTR)&ToggleImg2,  /* alternate imagery for selection */
  &IText17,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  NULL,  /* SpecialInfo structure */
  2,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static UBYTE ExecStrGadgetSIBuff[100];
static struct StringInfo ExecStrGadgetSInfo = {
  ExecStrGadgetSIBuff,	/* buffer where text will be edited */
  NULL,  /* optional undo buffer */
  0,  /* character position in buffer */
  100,	/* maximum number of characters to allow */
  0,  /* first displayed character buffer position */
  0,0,0,0,0,  /* Intuition initialized and maintained variables */
  0,  /* Rastport of gadget */
  0,  /* initial value for integer gadgets */
  NULL	/* alternate keymap (fill in if you set the flag) */
};

static struct IntuiText IText18 = {
  3,0,JAM2,  /* front and back text pens, drawmode and fill byte */
  -50,2,  /* XY origin relative to container TopLeft */
  NULL,  /* font pointer or NULL for default */
  "path:",  /* pointer to text */
  NULL	/* next IntuiText structure */
};

static struct Gadget ExecStrGadget = {
  &ExecBoolGerman,  /* next gadget */
  65,25,  /* origin XY of hit box relative to window TopLeft */
  168,10,  /* hit box width and height */
  NULL,  /* gadget flags */
  RELVERIFY,  /* activation flags */
  STRGADGET,  /* gadget type flags */
  (APTR)&Border1,  /* gadget border or image to be rendered */
  NULL,  /* alternate imagery for selection */
  &IText18,  /* first IntuiText structure */
  NULL,  /* gadget mutual-exclude long word */
  (APTR)&ExecStrGadgetSInfo,  /* SpecialInfo structure */
  1,  /* user-definable data */
  NULL	/* pointer to user-definable data */
};

static struct NewWindow SetUpNewWindow = {
  0,11,  /* window XY origin relative to TopLeft of screen */
  640,189,  /* window width and height */
  0,1,	/* detail and block pens */
  CLOSEWINDOW|GADGETUP,  /* IDCMP flags */
  WINDOWCLOSE+ACTIVATE,  /* other window flags */
  &ExecStrGadget,  /* first gadget in gadget list */
  NULL,  /* custom CHECKMARK imagery */
  "Set up...",  /* window title */
  NULL,  /* custom screen pointer */
  NULL,  /* custom bitmap */
  5,5,	/* minimum width and height */
  -1,-1,  /* maximum width and height */
  CUSTOMSCREEN	/* destination screen type */
};
