#define Add_width 48
#define Add_height 16
#define Add_num_planes 4

#ifdef ENGLISH
USHORT Add_data[4][16][3] = {		       /* Englisch */
    {
	0x0000,0x0000,0x0000,0x0000,0x0000,0x0001,0x0000,0x0000,
	0x0001,0x0000,0x0000,0x0001,0x0000,0x0000,0x0001,0x0000,
	0x0000,0x0001,0x0000,0x0000,0x0001,0x0000,0x0000,0x0001,
	0x0000,0x0000,0x0001,0x0000,0x0000,0x0001,0x0000,0x0000,
	0x0001,0x0000,0x0000,0x0001,0x0000,0x0000,0x0001,0x0000,
	0x0000,0x0001,0x0000,0x0000,0x0001,0x7fff,0xffff,0xffff
    },
    {
	0xffff,0xffff,0xfffe,0x8000,0x0000,0x0000,0x8000,0x0000,
	0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
	0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
	0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
	0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
	0x0000,0x0000,0x8000,0x0000,0x0000,0x0000,0x0000,0x0000
    },
    {
	0x0000,0x0000,0x0000,0x7fff,0xffff,0xfffe,0x7fff,0xffff,
	0xfffe,0x7fff,0xffff,0xfffe,0x7fff,0xffff,0xfffe,0x7fff,
	0xffff,0xfffe,0x7fff,0xffff,0xfffe,0x7fff,0xffff,0xfffe,
	0x7fff,0xffff,0xfffe,0x7fff,0xffff,0xfffe,0x7fff,0xffff,
	0xfffe,0x7fff,0xffff,0xfffe,0x7fff,0xffff,0xfffe,0x7fff,
	0xffff,0xfffe,0x7fff,0xffff,0xfffe,0x0000,0x0000,0x0000
    },
    {
	0xffff,0xffff,0xfffe,0xffff,0xffff,0xfffe,0xffff,0xffff,
	0xfffe,0xffff,0xffff,0xfffe,0xfffe,0x7070,0x7ffe,0xfffc,
	0x3939,0x3ffe,0xfffc,0x3999,0x9ffe,0xfff9,0x9999,0x9ffe,
	0xfff8,0x1999,0x9ffe,0xfff3,0xc939,0x3ffe,0xfff3,0xc070,
	0x7ffe,0xffff,0xffff,0xfffe,0xffff,0xffff,0xfffe,0xffff,
	0xffff,0xfffe,0xffff,0xffff,0xfffe,0x0000,0x0000,0x0000
    },
};
#endif
#ifdef GERMAN
USHORT Add_data[4][16][3] = {		/* Deutsch */
    {
	0x0000,0x0000,0x0000,0x0000,0x0000,0x0001,0x0000,0x0000,
	0x0001,0x0000,0x0000,0x0001,0x0000,0x0000,0x0001,0x0000,
	0x0000,0x0001,0x0000,0x0000,0x0001,0x0000,0x0000,0x0001,
	0x0000,0x0000,0x0001,0x0000,0x0000,0x0001,0x0000,0x0000,
	0x0001,0x0000,0x0000,0x0001,0x0000,0x0000,0x0001,0x0000,
	0x0000,0x0001,0x0000,0x0000,0x0001,0x7fff,0xffff,0xffff
    },
    {
	0xffff,0xffff,0xfffe,0x8000,0x0000,0x0000,0x8000,0x0000,
	0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
	0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
	0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
	0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
	0x0000,0x0000,0x8000,0x0000,0x0000,0x0000,0x0000,0x0000
    },
    {
	0x0000,0x0000,0x0000,0x7fff,0xffff,0xfffe,0x7fff,0xffff,
	0xfffe,0x7fff,0xffff,0xfffe,0x7fff,0xffff,0xfffe,0x7fff,
	0xffff,0xfffe,0x7fff,0xffff,0xfffe,0x7fff,0xffff,0xfffe,
	0x7fff,0xffff,0xfffe,0x7fff,0xffff,0xfffe,0x7fff,0xffff,
	0xfffe,0x7fff,0xffff,0xfffe,0x7fff,0xffff,0xfffe,0x7fff,
	0xffff,0xfffe,0x7fff,0xffff,0xfffe,0x0000,0x0000,0x0000
    },
    {
	0xffff,0xffff,0xfffe,0xffff,0xffff,0xfffe,0xffff,0xffff,
	0xfffe,0xffff,0xffff,0xfffe,0xffe7,0x3901,0x99fe,0xffc3,
	0x1999,0xfffe,0xffc3,0x099f,0x99fe,0xff99,0x2187,0x99fe,
	0xff81,0x319f,0x99fe,0xff3c,0x399f,0x99fe,0xff3c,0x390f,
	0xc1fe,0xffff,0xffff,0xfffe,0xffff,0xffff,0xfffe,0xffff,
	0xffff,0xfffe,0xffff,0xffff,0xfffe,0x0000,0x0000,0x0000
    },
};
#endif
struct Image NeuImage2 =
{
  0,0,Add_width,Add_height,Add_num_planes,(USHORT *)Add_data,0xF,0,NULL
};

#define Edit_width 48
#define Edit_height 16
#define Edit_num_planes 4

USHORT Edit_data[4][16][3] = {
    {
	0xffff,0xffff,0xfffe,0x8000,0x0000,0x0000,0x8000,0x0000,
	0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
	0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
	0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
	0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
	0x0000,0x0000,0x8000,0x0000,0x0000,0x0000,0x0000,0x0000
    },
    {
	0x0000,0x0000,0x0000,0x0000,0x0000,0x0001,0x0000,0x0000,
	0x0001,0x0000,0x0000,0x0001,0x0000,0x0000,0x0001,0x0000,
	0x0000,0x0001,0x0000,0x0000,0x0001,0x0000,0x0000,0x0001,
	0x0000,0x0000,0x0001,0x0000,0x0000,0x0001,0x0000,0x0000,
	0x0001,0x0000,0x0000,0x0001,0x0000,0x0000,0x0001,0x0000,
	0x0000,0x0001,0x0000,0x0000,0x0001,0x7fff,0xffff,0xffff
    },
    {
	0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,0x00fe,0xf87e,0x7e00,0x0066,
	0x6c18,0x5a00,0x0060,0x6618,0x1800,0x0078,0x6618,0x1800,
	0x0060,0x6618,0x1800,0x0066,0x6c18,0x1800,0x00fe,0xf87e,
	0x3c00,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
	0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
    },
    {
	0x0000,0x0000,0x0000,0x7fff,0xffff,0xffff,0x7fff,0xffff,
	0xffff,0x7fff,0xffff,0xffff,0x7f01,0x0781,0x81ff,0x7f99,
	0x93e7,0xa5ff,0x7f9f,0x99e7,0xe7ff,0x7f87,0x99e7,0xe7ff,
	0x7f9f,0x99e7,0xe7ff,0x7f99,0x93e7,0xe7ff,0x7f01,0x0781,
	0xc3ff,0x7fff,0xffff,0xffff,0x7fff,0xffff,0xffff,0x7fff,
	0xffff,0xffff,0x7fff,0xffff,0xffff,0x7fff,0xffff,0xffff
    },
};

struct Image NeuImage1 =
{
  0,0,Edit_width,Edit_height,Edit_num_planes,(USHORT *)Edit_data,0xF,0,NULL
};

struct Gadget Neu = {
	NULL,	/* next gadget */
	530,130,	/* origin XY of hit box relative to window TopLeft */
	48,16,	/* hit box width and height */
	GADGIMAGE|GADGHIMAGE,	/* gadget flags */
	RELVERIFY|TOGGLESELECT,      /* activation flags */
	BOOLGADGET,	/* gadget type flags */
	(APTR)&NeuImage1, /* gadget border or image to be rendered */
	(APTR)&NeuImage2,   /* alternate imagery for selection */
	NULL,	     /* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	NULL,	/* SpecialInfo structure */
	19,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

SHORT BorderVectors1[] = {
	0,0,
	91,0,
	91,17,
	0,17,
	0,0
};
struct Border Border1 = {
	-1,-1,	/* 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 */
};

struct IntuiText AbbruchText = {
	1,0,JAM1,	/* front and back text pens, drawmode and fill byte */
	CANCEL_XPOS,4,	 /* XY origin relative to container TopLeft */
	NULL,	/* font pointer or NULL for default */
	(UBYTE *)CANCEL_TEXT,     /* pointer to text */
	NULL	/* next IntuiText structure */
};

struct Gadget Abbruch = {
	&Neu,	/* next gadget */
	530,181,	/* origin XY of hit box relative to window TopLeft */
	90,16,	/* hit box width and height */
	NULL,	/* gadget flags */
	RELVERIFY,	/* activation flags */
	BOOLGADGET,	/* gadget type flags */
	(APTR)&Border1, /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	&AbbruchText,	     /* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	NULL,	/* SpecialInfo structure */
	18,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

SHORT BorderVectors2[] = {
	0,0,
	91,0,
	91,17,
	0,17,
	0,0
};
struct Border Border2 = {
	-1,-1,	/* XY origin relative to container TopLeft */
	3,0,JAM1,	/* front pen, back pen and drawmode */
	5,	/* number of XY vectors */
	BorderVectors2, /* pointer to XY vectors */
	NULL	/* next border in list */
};

struct IntuiText OKText = {
	1,0,JAM1,	/* front and back text pens, drawmode and fill byte */
	33,4,	/* XY origin relative to container TopLeft */
	NULL,	/* font pointer or NULL for default */
	(UBYTE *)"OK!", /* pointer to text */
	NULL	/* next IntuiText structure */
};

struct Gadget OK = {
	&Abbruch,	/* next gadget */
	530,162,	/* origin XY of hit box relative to window TopLeft */
	90,16,	/* hit box width and height */
	NULL,	/* gadget flags */
	RELVERIFY,	/* activation flags */
	BOOLGADGET,	/* gadget type flags */
	(APTR)&Border2, /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	&OKText,	/* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	NULL,	/* SpecialInfo structure */
	17,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

UBYTE RadiusSIBuff[4];
struct StringInfo RadiusSInfo = {
	RadiusSIBuff,	/* buffer where text will be edited */
	NULL,	/* optional undo buffer */
	0,	/* character position in buffer */
	4,	/* 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) */
};

SHORT BorderVectors3[] = {
	0,0,
	33,0,
	33,9,
	0,9,
	0,0
};
struct Border Border3 = {
	-1,-1,	/* XY origin relative to container TopLeft */
	3,0,JAM1,	/* front pen, back pen and drawmode */
	5,	/* number of XY vectors */
	BorderVectors3, /* pointer to XY vectors */
	NULL	/* next border in list */
};

struct Gadget Radius = {
	&OK,	/* next gadget */
	450,130,	/* origin XY of hit box relative to window TopLeft */
	32,8,	/* hit box width and height */
	NULL,	/* gadget flags */
	RELVERIFY|LONGINT,	/* activation flags */
	STRGADGET,	/* gadget type flags */
	(APTR)&Border3, /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	NULL,	/* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	(APTR)&RadiusSInfo,     /* SpecialInfo structure */
	16,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

UBYTE PosZSIBuff[6];
struct StringInfo PosZSInfo = {
	PosZSIBuff,	/* buffer where text will be edited */
	NULL,	/* optional undo buffer */
	0,	/* character position in buffer */
	6,	/* 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) */
};

SHORT BorderVectors4[] = {
	0,0,
	49,0,
	49,9,
	0,9,
	0,0
};
struct Border Border4 = {
	-1,-1,	/* XY origin relative to container TopLeft */
	3,0,JAM1,	/* front pen, back pen and drawmode */
	5,	/* number of XY vectors */
	BorderVectors4, /* pointer to XY vectors */
	NULL	/* next border in list */
};

struct Gadget PosZ = {
	&Radius,	/* next gadget */
	384,130,	/* origin XY of hit box relative to window TopLeft */
	48,8,	/* hit box width and height */
	NULL,	/* gadget flags */
	RELVERIFY|LONGINT,	/* activation flags */
	STRGADGET,	/* gadget type flags */
	(APTR)&Border4, /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	NULL,	/* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	(APTR)&PosZSInfo,       /* SpecialInfo structure */
	15,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

UBYTE PosYSIBuff[6];
struct StringInfo PosYSInfo = {
	PosYSIBuff,	/* buffer where text will be edited */
	NULL,	/* optional undo buffer */
	0,	/* character position in buffer */
	6,	/* 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) */
};

SHORT BorderVectors5[] = {
	0,0,
	49,0,
	49,9,
	0,9,
	0,0
};
struct Border Border5 = {
	-1,-1,	/* XY origin relative to container TopLeft */
	3,0,JAM1,	/* front pen, back pen and drawmode */
	5,	/* number of XY vectors */
	BorderVectors5, /* pointer to XY vectors */
	NULL	/* next border in list */
};

struct Gadget PosY = {
	&PosZ,	/* next gadget */
	328,130,	/* origin XY of hit box relative to window TopLeft */
	48,8,	/* hit box width and height */
	NULL,	/* gadget flags */
	RELVERIFY|LONGINT,	/* activation flags */
	STRGADGET,	/* gadget type flags */
	(APTR)&Border5, /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	NULL,	/* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	(APTR)&PosYSInfo,       /* SpecialInfo structure */
	14,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

UBYTE PosXSIBuff[6];
struct StringInfo PosXSInfo = {
	PosXSIBuff,	/* buffer where text will be edited */
	NULL,	/* optional undo buffer */
	0,	/* character position in buffer */
	6,	/* 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) */
};

SHORT BorderVectors6[] = {
	0,0,
	49,0,
	49,9,
	0,9,
	0,0
};
struct Border Border6 = {
	-1,-1,	/* XY origin relative to container TopLeft */
	3,0,JAM1,	/* front pen, back pen and drawmode */
	5,	/* number of XY vectors */
	BorderVectors6, /* pointer to XY vectors */
	NULL	/* next border in list */
};

struct Gadget PosX = {
	&PosY,	/* next gadget */
	272,130,	/* origin XY of hit box relative to window TopLeft */
	48,8,	/* hit box width and height */
	NULL,	/* gadget flags */
	RELVERIFY|LONGINT,	/* activation flags */
	STRGADGET,	/* gadget type flags */
	(APTR)&Border6, /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	NULL,	/* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	(APTR)&PosXSInfo,       /* SpecialInfo structure */
	13,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

UBYTE AtomSIBuff[4];
struct StringInfo AtomSInfo = {
	AtomSIBuff,	/* buffer where text will be edited */
	NULL,	/* optional undo buffer */
	0,	/* character position in buffer */
	4,	/* 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) */
};

SHORT BorderVectors7[] = {
	0,0,
	25,0,
	25,9,
	0,9,
	0,0
};
struct Border Border7 = {
	-1,-1,	/* XY origin relative to container TopLeft */
	3,0,JAM1,	/* front pen, back pen and drawmode */
	5,	/* number of XY vectors */
	BorderVectors7, /* pointer to XY vectors */
	NULL	/* next border in list */
};

struct Gadget Atom = {
	&PosX,	/* next gadget */
	64,130, /* origin XY of hit box relative to window TopLeft */
	24,8,	/* hit box width and height */
	NULL,	/* gadget flags */
	RELVERIFY,	/* activation flags */
	STRGADGET,	/* gadget type flags */
	(APTR)&Border7, /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	NULL,	/* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	(APTR)&AtomSInfo,       /* SpecialInfo structure */
	12,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

UBYTE ReflexSIBuff[4];
struct StringInfo ReflexSInfo = {
	ReflexSIBuff,	/* buffer where text will be edited */
	NULL,	/* optional undo buffer */
	0,	/* character position in buffer */
	4,	/* 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) */
};

SHORT BorderVectors8[] = {
	0,0,
	33,0,
	33,9,
	0,9,
	0,0
};
struct Border Border8 = {
	-1,-1,	/* XY origin relative to container TopLeft */
	3,0,JAM1,	/* front pen, back pen and drawmode */
	5,	/* number of XY vectors */
	BorderVectors8, /* pointer to XY vectors */
	NULL	/* next border in list */
};

struct Gadget Reflex = {
	&Atom,	/* next gadget */
	474,162,	/* origin XY of hit box relative to window TopLeft */
	32,8,	/* hit box width and height */
	NULL,	/* gadget flags */
	RELVERIFY|LONGINT,	/* activation flags */
	STRGADGET,	/* gadget type flags */
	(APTR)&Border8, /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	NULL,	/* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	(APTR)&ReflexSInfo,     /* SpecialInfo structure */
	11,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

UBYTE LichtZSIBuff[8];
struct StringInfo LichtZSInfo = {
	LichtZSIBuff,	/* buffer where text will be edited */
	NULL,	/* optional undo buffer */
	0,	/* character position in buffer */
	8,	/* 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) */
};

SHORT BorderVectors9[] = {
	0,0,
	65,0,
	65,9,
	0,9,
	0,0
};
struct Border Border9 = {
	-1,-1,	/* XY origin relative to container TopLeft */
	3,0,JAM1,	/* front pen, back pen and drawmode */
	5,	/* number of XY vectors */
	BorderVectors9, /* pointer to XY vectors */
	NULL	/* next border in list */
};

struct IntuiText LichtZText = {
	5,0,JAM2,	/* front and back text pens, drawmode and fill byte */
	-52,0,	/* XY origin relative to container TopLeft */
	NULL,	/* font pointer or NULL for default */
	(UBYTE *)"aus Z:",      /* pointer to text */
	NULL	/* next IntuiText structure */
};

struct Gadget LichtZ = {
	&Reflex,	/* next gadget */
	301,186,	/* origin XY of hit box relative to window TopLeft */
	64,8,	/* hit box width and height */
	NULL,	/* gadget flags */
	RELVERIFY,	/* activation flags */
	STRGADGET,	/* gadget type flags */
	(APTR)&Border9, /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	&LichtZText,	    /* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	(APTR)&LichtZSInfo,     /* SpecialInfo structure */
	10,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

UBYTE LichtYSIBuff[8];
struct StringInfo LichtYSInfo = {
	LichtYSIBuff,	/* buffer where text will be edited */
	NULL,	/* optional undo buffer */
	0,	/* character position in buffer */
	8,	/* 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) */
};

SHORT BorderVectors10[] = {
	0,0,
	65,0,
	65,9,
	0,9,
	0,0
};
struct Border Border10 = {
	-1,-1,	/* XY origin relative to container TopLeft */
	3,0,JAM1,	/* front pen, back pen and drawmode */
	5,	/* number of XY vectors */
	BorderVectors10,	/* pointer to XY vectors */
	NULL	/* next border in list */
};

struct IntuiText LichtYText = {
	5,0,JAM2,	/* front and back text pens, drawmode and fill byte */
	-52,0,	/* XY origin relative to container TopLeft */
	NULL,	/* font pointer or NULL for default */
	(UBYTE *)"aus Y:",      /* pointer to text */
	NULL	/* next IntuiText structure */
};

struct Gadget LichtY = {
	&LichtZ,	/* next gadget */
	301,174,	/* origin XY of hit box relative to window TopLeft */
	64,8,	/* hit box width and height */
	NULL,	/* gadget flags */
	RELVERIFY,	/* activation flags */
	STRGADGET,	/* gadget type flags */
	(APTR)&Border10,        /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	&LichtYText,	    /* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	(APTR)&LichtYSInfo,     /* SpecialInfo structure */
	9,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

UBYTE LichtXSIBuff[8];
struct StringInfo LichtXSInfo = {
	LichtXSIBuff,	/* buffer where text will be edited */
	NULL,	/* optional undo buffer */
	0,	/* character position in buffer */
	8,	/* 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) */
};

SHORT BorderVectors11[] = {
	0,0,
	65,0,
	65,9,
	0,9,
	0,0
};
struct Border Border11 = {
	-1,-1,	/* XY origin relative to container TopLeft */
	3,0,JAM1,	/* front pen, back pen and drawmode */
	5,	/* number of XY vectors */
	BorderVectors11,	/* pointer to XY vectors */
	NULL	/* next border in list */
};

struct IntuiText LichtXText = {
	5,0,JAM2,	/* front and back text pens, drawmode and fill byte */
	-52,0,	/* XY origin relative to container TopLeft */
	NULL,	/* font pointer or NULL for default */
	(UBYTE *)"aus X:",      /* pointer to text */
	NULL	/* next IntuiText structure */
};

struct Gadget LichtX = {
	&LichtY,	/* next gadget */
	301,162,	/* origin XY of hit box relative to window TopLeft */
	64,8,	/* hit box width and height */
	NULL,	/* gadget flags */
	RELVERIFY,	/* activation flags */
	STRGADGET,	/* gadget type flags */
	(APTR)&Border11,        /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	&LichtXText,	    /* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	(APTR)&LichtXSInfo,     /* SpecialInfo structure */
	8,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

UBYTE DrehZSIBuff[4];
struct StringInfo DrehZSInfo = {
	DrehZSIBuff,	/* buffer where text will be edited */
	NULL,	/* optional undo buffer */
	0,	/* character position in buffer */
	4,	/* 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) */
};

SHORT BorderVectors12[] = {
	0,0,
	33,0,
	33,9,
	0,9,
	0,0
};
struct Border Border12 = {
	-1,-1,	/* XY origin relative to container TopLeft */
	3,0,JAM1,	/* front pen, back pen and drawmode */
	5,	/* number of XY vectors */
	BorderVectors12,	/* pointer to XY vectors */
	NULL	/* next border in list */
};

struct IntuiText DrehZText = {
	3,0,JAM2,	/* front and back text pens, drawmode and fill byte */
	-25,0,	/* XY origin relative to container TopLeft */
	NULL,	/* font pointer or NULL for default */
	(UBYTE *)"Z:",  /* pointer to text */
	NULL	/* next IntuiText structure */
};

struct Gadget DrehZ = {
	&LichtX,	/* next gadget */
	129,186,	/* origin XY of hit box relative to window TopLeft */
	32,8,	/* hit box width and height */
	NULL,	/* gadget flags */
	RELVERIFY|LONGINT,	/* activation flags */
	STRGADGET,	/* gadget type flags */
	(APTR)&Border12,        /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	&DrehZText,	   /* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	(APTR)&DrehZSInfo,      /* SpecialInfo structure */
	7,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

UBYTE DrehYSIBuff[4];
struct StringInfo DrehYSInfo = {
	DrehYSIBuff,	/* buffer where text will be edited */
	NULL,	/* optional undo buffer */
	0,	/* character position in buffer */
	4,	/* 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) */
};

SHORT BorderVectors13[] = {
	0,0,
	33,0,
	33,9,
	0,9,
	0,0
};
struct Border Border13 = {
	-1,-1,	/* XY origin relative to container TopLeft */
	3,0,JAM1,	/* front pen, back pen and drawmode */
	5,	/* number of XY vectors */
	BorderVectors13,	/* pointer to XY vectors */
	NULL	/* next border in list */
};

struct IntuiText DrehYText = {
	3,0,JAM2,	/* front and back text pens, drawmode and fill byte */
	-25,0,	/* XY origin relative to container TopLeft */
	NULL,	/* font pointer or NULL for default */
	(UBYTE *)"Y:",  /* pointer to text */
	NULL	/* next IntuiText structure */
};

struct Gadget DrehY = {
	&DrehZ, /* next gadget */
	129,174,	/* origin XY of hit box relative to window TopLeft */
	32,8,	/* hit box width and height */
	NULL,	/* gadget flags */
	RELVERIFY|LONGINT,	/* activation flags */
	STRGADGET,	/* gadget type flags */
	(APTR)&Border13,        /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	&DrehYText,	   /* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	(APTR)&DrehYSInfo,      /* SpecialInfo structure */
	6,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

UBYTE DrehXSIBuff[4];
struct StringInfo DrehXSInfo = {
	DrehXSIBuff,	/* buffer where text will be edited */
	NULL,	/* optional undo buffer */
	0,	/* character position in buffer */
	4,	/* 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) */
};

SHORT BorderVectors14[] = {
	0,0,
	33,0,
	33,9,
	0,9,
	0,0
};
struct Border Border14 = {
	-1,-1,	/* XY origin relative to container TopLeft */
	3,0,JAM1,	/* front pen, back pen and drawmode */
	5,	/* number of XY vectors */
	BorderVectors14,	/* pointer to XY vectors */
	NULL	/* next border in list */
};

struct IntuiText DrehXText = {
	3,0,JAM2,	/* front and back text pens, drawmode and fill byte */
	-25,0,	/* XY origin relative to container TopLeft */
	NULL,	/* font pointer or NULL for default */
	(UBYTE *)"X:",  /* pointer to text */
	NULL	/* next IntuiText structure */
};

struct Gadget DrehX = {
	&DrehY, /* next gadget */
	129,162,	/* origin XY of hit box relative to window TopLeft */
	32,8,	/* hit box width and height */
	NULL,	/* gadget flags */
	RELVERIFY|LONGINT,	/* activation flags */
	STRGADGET,	/* gadget type flags */
	(APTR)&Border14,        /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	&DrehXText,	   /* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	(APTR)&DrehXSInfo,      /* SpecialInfo structure */
	5,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

UBYTE VergrSIBuff[4];
struct StringInfo VergrSInfo = {
	VergrSIBuff,	/* buffer where text will be edited */
	NULL,	/* optional undo buffer */
	0,	/* character position in buffer */
	4,	/* 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) */
};

SHORT BorderVectors15[] = {
	0,0,
	33,0,
	33,9,
	0,9,
	0,0
};
struct Border Border15 = {
	-1,-1,	/* XY origin relative to container TopLeft */
	3,0,JAM1,	/* front pen, back pen and drawmode */
	5,	/* number of XY vectors */
	BorderVectors15,	/* pointer to XY vectors */
	NULL	/* next border in list */
};

struct Gadget Vergr = {
	&DrehX, /* next gadget */
	15,162, /* origin XY of hit box relative to window TopLeft */
	32,8,	/* hit box width and height */
	NULL,	/* gadget flags */
	RELVERIFY,	/* activation flags */
	STRGADGET,	/* gadget type flags */
	(APTR)&Border15,        /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	NULL,	/* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	(APTR)&VergrSInfo,      /* SpecialInfo structure */
	4,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

USHORT Dn_data[4][8][1] = {
    {
	0x0000,0x03e0,0x03e0,0x03e0,0x1ffc,0x07f0,0x01c0,0x0000
    },
    {
	0x0000,0x0020,0x0020,0x0020,0x0004,0x0010,0x0040,0x0000
    },
    {
	0x0000,0x7fde,0x7fde,0x7fde,0x7ffa,0x7fee,0x7fbe,0x0000
    },
    {
	0xffff,0x8021,0x8021,0x8021,0x8005,0x8011,0x8041,0xffff
    },
};

struct Image DnImage =
{
  0,0,16,8,4,(USHORT *)Dn_data,0xF,0,NULL
};

struct Gadget Down = {
	&Vergr, /* next gadget */
	617,119,	/* origin XY of hit box relative to window TopLeft */
	16,8,	/* hit box width and height */
	GADGIMAGE|GADGHCOMP,   /* gadget flags */
	RELVERIFY,	/* activation flags */
	BOOLGADGET,	/* gadget type flags */
	(APTR)&DnImage,        /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	NULL,	/* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	NULL,	/* SpecialInfo structure */
	3,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

USHORT Up_data[4][8][1] = {
    {
	0x0000,0x01c0,0x07f0,0x1ffc,0x03e0,0x03e0,0x03e0,0x0000
    },
    {
	0x0000,0x0040,0x0010,0x0004,0x0020,0x0020,0x0020,0x0000
    },
    {
	0x0000,0x7fbe,0x7fee,0x7ffa,0x7fde,0x7fde,0x7fde,0x0000
    },
    {
	0xffff,0x8041,0x8011,0x8005,0x8021,0x8021,0x8021,0xffff
    },
};

struct Image UpImage =
{
  0,0,16,8,4,(USHORT *)Up_data,0xF,0,NULL
};

struct Gadget Up = {
	&Down,	/* next gadget */
	618,29, /* origin XY of hit box relative to window TopLeft */
	16,8,	/* hit box width and height */
	GADGIMAGE|GADGHCOMP,   /* gadget flags */
	RELVERIFY,	/* activation flags */
	BOOLGADGET,	/* gadget type flags */
	(APTR)&UpImage,        /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	NULL,	/* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	NULL,	/* SpecialInfo structure */
	2,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

struct PropInfo PropSInfo = {
	AUTOKNOB+FREEVERT,	/* PropInfo flags */
	-1,-1,	/* horizontal and vertical pot values */
	-1,-1,	/* horizontal and vertical body values */
};

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

struct Gadget Prop = {
	&Up,	/* next gadget */
	618,38, /* origin XY of hit box relative to window TopLeft */
	16,80,	/* hit box width and height */
	NULL,	/* gadget flags */
	RELVERIFY,	/* activation flags */
	PROPGADGET,	/* gadget type flags */
	(APTR)&Image1,  /* gadget border or image to be rendered */
	NULL,	/* alternate imagery for selection */
	NULL,	/* first IntuiText structure */
	NULL,	/* gadget mutual-exclude long word */
	(APTR)&PropSInfo,       /* SpecialInfo structure */
	1,	/* user-definable data */
	NULL	/* pointer to user-definable data */
};

struct NewWindow EingabeFenster = {
	0,0,	/* window XY origin relative to TopLeft of screen */
	640,200,	/* window width and height */
	0,1,	/* detail and block pens */
	GADGETUP+CLOSEWINDOW+MOUSEBUTTONS,   /* IDCMP flags */
	WINDOWDRAG+WINDOWCLOSE+ACTIVATE,	/* other window flags */
	&Prop,	/* first gadget in gadget list */
	NULL,	/* custom CHECKMARK imagery */
	(UBYTE *)ENTER_DATA,        /* 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 */
};


/* end of PowerWindows source generation */
