
SHORT matrow = 0, matzaehl;
UBYTE string[40], *strcpy(), *strcat();
BOOL Prt = FALSE, File = FALSE, Con = TRUE, readele = FALSE, delmat = FALSE,
     detflag = FALSE;
FILE *filefh, *prtfh, *fopen();
VOID RefrGadg(), KillMat();
struct IntuitionBase *IntuitionBase;
struct matrix *edit, *last, *malloc(), *FindMat();
struct Window *wG;
struct RastPort *rpG;

SHORT BorderVectors109[] = {0,0,81,0,81,14,0,14,0,0};
struct Border Border109 = {
   -2,-1,   /* border XY origin relative to container TopLeft */
   2,0,JAM1,   /* front pen, back pen and drawmode */
   5,   /* number of XY vectors */
   BorderVectors109,   /* pointer to XY vectors */
   NULL   /* next border in list */
};

struct IntuiText IText60 = {
   3,0,JAM2,   /* front and back text pens and drawmode */
   16,4,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   (UBYTE *)"Cancel",   /* pointer to text */
   NULL   /* next IntuiText structure */
};

struct IntuiText IText61 = {
   3,0,JAM2,   /* front and back text pens and drawmode */
   29,4,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   (UBYTE *)"Ok",   /* pointer to text */
   NULL   /* next IntuiText structure */
};

struct Gadget Gadget3 = {
   NULL,   /* next gadget */
   308,72,   /* origin XY of hit box relative to window TopLeft */
   78,13,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE+ENDGADGET,   /* activation flags */
   REQGADGET+BOOLGADGET,   /* gadget type */
   (APTR)&Border109,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &IText61,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   72,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
};

struct Gadget savecon = {
   &Gadget3,   /* next gadget */
   29,72,   /* origin XY of hit box relative to window TopLeft */
   78,13,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE+ENDGADGET,   /* activation flags */
   REQGADGET+BOOLGADGET,   /* gadget type */
   (APTR)&Border109,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &IText61,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   71,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
};

UBYTE SIBuffer40[20];
struct StringInfo GadgetSI40 = {
   SIBuffer40,   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   20,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

SHORT BorderVectors108[] = {0,0,362,0,362,13,0,13,0,0};
struct Border Border108 = {
   -2,-3,   /* border XY origin relative to container TopLeft */
   2,0,JAM1,   /* front pen, back pen and drawmode */
   5,   /* number of XY vectors */
   BorderVectors108,   /* pointer to XY vectors */
   NULL   /* next border in list */
};

struct Gadget reqstr = {
   &savecon,   /* next gadget */
   27,43,   /* origin XY of hit box relative to window TopLeft */
   370,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE+ENDGADGET+STRINGCENTER,   /* activation flags */
   REQGADGET+STRGADGET,   /* gadget type */
   (APTR)&Border108,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI40,   /* SpecialInfo structure for string gadgets */
   70,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
};

UBYTE ItxtBuff [80] = {"Type in name or wildcard - pattern."};
struct IntuiText IText62 = {
   3,0,JAM2,   /* front and back text pens and drawmode */
   73,25,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   ItxtBuff,   /* pointer to text */
   NULL   /* next IntuiText structure */
};

struct IntuiText IText64 = {
   3,0,JAM2,   /* front and back text pens and drawmode */
   63, 65,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   (UBYTE *)"1080 Vienna, AUSTRIA",   /* pointer to text */
   NULL   /* next IntuiText structure */
};
struct IntuiText IText65 = {
   3,0,JAM2,   /* front and back text pens and drawmode */
   63, 55,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   (UBYTE *)"Lenaugasse 1/15",   /* pointer to text */
   &IText64   /* next IntuiText structure */
};
struct IntuiText IText66 = {
   3,0,JAM2,   /* front and back text pens and drawmode */
   63, 45,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   (UBYTE *)"Mr. Christian MAURER",   /* pointer to text */
   &IText65   /* next IntuiText structure */
};
struct IntuiText IText67 = {
   3,0,JAM2,   /* front and back text pens and drawmode */
   23, 25,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   (UBYTE *)"you have some improvements to suggest, write to:",   /* pointer to text */
   &IText66   /* next IntuiText structure */
};
struct IntuiText IText68 = {
   3,0,JAM2,   /* front and back text pens and drawmode */
   23, 15,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   (UBYTE *)"If you should encounter any errors, or if",   /* pointer to text */
   &IText67   /* next IntuiText structure */
};

SHORT BorderVectors107[] = {0,0,419,0,419,97,0,97,0,0};
struct Border Border107 = {
   0,0,   /* border XY origin relative to container TopLeft */
   2,0,JAM1,   /* front pen, back pen and drawmode */
   5,   /* number of XY vectors */
   BorderVectors107,   /* pointer to XY vectors */
   NULL   /* next border in list */
};

struct Requester requester = {
   NULL,
   30,25,
   421, 99,
   0, 0,
   &Gadget3,
   &Border107,
   &IText68,
   NULL,
   0,
   NULL,
   {NULL},
   {NULL},
   NULL,
   {NULL}
};

SHORT BorderVectors106[] = {0,0,87,0,87,11,0,11,0,0};
struct Border Border106 = {
   -2,-1,
   2,0,JAM1,
   5,
   BorderVectors106,
   NULL
};

UBYTE mattxtbuff[4][4][14];
struct IntuiText mattxt[4][4] = {
{
{
   3,0,JAM2,
   4,1,
   NULL,
   mattxtbuff[0][0],
   NULL
},
{
   3,0,JAM2,
   4,1,
   NULL,
   mattxtbuff[0][1],
   NULL
},
{
   3,0,JAM2,
   4,1,
   NULL,
   mattxtbuff[0][2],
   NULL
},
{
   3,0,JAM2,
   4,1,
   NULL,
   mattxtbuff[0][3],
   NULL
}
},
{
{
   3,0,JAM2,
   4,1,
   NULL,
   mattxtbuff[1][0],
   NULL
},
{
   3,0,JAM2,
   4,1,
   NULL,
   mattxtbuff[1][1],
   NULL
},
{
   3,0,JAM2,   /* front and back text pens and drawmode */
   4,1,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   mattxtbuff[1][2],   /* pointer to text */
   NULL   /* next IntuiText structure */
},
{
   3,0,JAM2,   /* front and back text pens and drawmode */
   4,1,
   NULL,
   mattxtbuff[1][3],   /* pointer to text */
   NULL   /* next IntuiText structure */
}
},
{
{
   3,0,JAM2,   /* front and back text pens and drawmode */
   4,1,
   NULL,
   mattxtbuff[2][0],   /* pointer to text */
   NULL
},
{
   3,0,JAM2,   /* front and back text pens and drawmode */
   4,1,
   NULL,
   mattxtbuff[2][1],   /* pointer to text */
   NULL   /* next IntuiText structure */
},
{
   3,0,JAM2,   /* front and back text pens and drawmode */
   4,1,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   mattxtbuff[2][2],   /* pointer to text */
   NULL
},
{
   3,0,JAM2,   /* front and back text pens and drawmode */
   4,1,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   mattxtbuff[2][3],   /* pointer to text */
   NULL   /* next IntuiText structure */
}
},
{
{
   3,0,JAM2,   /* front and back text pens and drawmode */
   4,1,   /* XY origin relative to container TopLeft */
   NULL,
   mattxtbuff[3][0],   /* pointer to text */
   NULL
},
{
   3,0,JAM2,   /* front and back text pens and drawmode */
   4,1,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   mattxtbuff[3][1],   /* pointer to text */
   NULL   /* next IntuiText structure */
},
{
   3,0,JAM2,   /* front and back text pens and drawmode */
   4,1,
   NULL,
   mattxtbuff[3][2],   /* pointer to text */
   NULL   /* next IntuiText structure */
},
{
   3,0,JAM2,   /* front and back text pens and drawmode */
   4,1,
   NULL,
   mattxtbuff[3][3],   /* pointer to text */
   NULL
}
}
};

USHORT zeiger[] = {
   0x0000,0x0000,0x3F80,0x0000,0x18C0,0x0000,0x1F80,0x0000,
   0x18C0,0x0000,0x18C0,0x0000,0x3F80,0x0000,
   0x0000,0x0000,0x0000,0x0000,0x3C70,0x0000,0x1820,0x0000,
   0x1820,0x0000,0x1820,0x0000,0x1820,0x0000,0x0FC0,0x0000,
   0x0000,0x0000,0x0FA0,0x0000,0x3860,0x0000,0x0E00,0x0000,
   0x21C0,0x0000,0x3860,0x0000,0x27C0,0x0000,0x0000,0x0000,
   0x0000,0x0000,0x3C70,0x0000,0x0C40,0x0000,0x0680,0x0000,
   0x0300,0x0000,0x0300,0x0000,0x0780,0x0000,0x0000,0x0000,
   0x0000,0x0000,0x0000,0x0000
};

USHORT linksdat[] = {
   0x0060,0x01E0,0x07FE,0x1FFE,0x7FFE,0x1FFE,0x07FE,0x01E0,
   0x0060
};
USHORT rechtsdat[] = {
   0x0300,0x03C0,0x3FF0,0x3FFC,0x3FFF,0x3FFC,0x3FF0,0x03C0,
   0x0300
};


USHORT diagonal[] = {0xfc3f, 0xf00f, 0xcc33, 0x03c0,
                     0x03c0, 0xcc33, 0xf00f, 0xfc3f};

USHORT untendat[] = {0x0000, 0x0ff0, 0x0ff0, 0x7ffe, 0x1ff8,
                     0x07e0, 0x0180, 0x0000};

struct Image pfeilunt = {0, 0,
                          16, 8, 1,
                          untendat,
                          0x0001, 0x0000, NULL};

struct Image pfeildia = {0, 0,
                          16, 8, 1,
                          diagonal,
                          0x0001, 0x0000, NULL};

USHORT obendat[] = {0x0000, 0x0180, 0x07e0, 0x1ff8, 0x7ffe,
                     0x0ff0, 0x0ff0, 0x0000};

struct Image pfeilob = {0, 0,
                          16, 8, 1,
                          obendat,
                          0x0001, 0x0000, NULL};

struct Image pfeillink = {0, 0,
                          16, 9, 1,
                          linksdat,
                          0x0001, 0x0000, NULL};

struct Image pfeilrecht = {0, 0,
                          16, 9, 1,
                          rechtsdat,
                          0x0001, 0x0000, NULL};

struct PropInfo info = {
   AUTOKNOB | FREEVERT | KNOBHIT,
   0x0000, 0x0000,
   0x0000, 0xffff,
   0, 0, 0, 0, 0, 0
};

struct PropInfo info2 = {
   AUTOKNOB | FREEVERT | KNOBHIT,
   0x0000, 0x0000,
   0x0000, 0xffff,
   0, 0, 0, 0, 0, 0
};

SHORT BorderVectors103[] = {0,0,18,0,18,41,0,41,0,0};
struct Border Border103 = {
   -2,-1,   /* border XY origin relative to container TopLeft */
   2,0,JAM1,   /* front pen, back pen and drawmode */
   5,   /* number of XY vectors */
   BorderVectors103,   /* pointer to XY vectors */
   NULL   /* next border in list */
};

struct Gadget lodiagadget = {
   NULL,   /* next gadget */
   205,160,   /* origin XY of hit box relative to window TopLeft */
   16,8,   /* hit box width and height */
   GADGHCOMP+GADGIMAGE,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&pfeildia,   /* gadget border or image to be rendered */
   NULL,
   NULL,
   0,
   NULL,
   100,
   NULL
};

struct Gadget ludiagadget = {
   &lodiagadget,   /* next gadget */
   205,238,   /* origin XY of hit box relative to window TopLeft */
   16,8,   /* hit box width and height */
   GADGHCOMP+GADGIMAGE,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&pfeildia,   /* gadget border or image to be rendered */
   NULL,
   NULL,
   0,
   NULL,
   101,
   NULL
};

struct Gadget rodiagadget = {
   &ludiagadget,   /* next gadget */
   605,160,   /* origin XY of hit box relative to window TopLeft */
   16,8,   /* hit box width and height */
   GADGHCOMP+GADGIMAGE,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&pfeildia,   /* gadget border or image to be rendered */
   NULL,
   NULL,
   0,
   NULL,
   102,
   NULL
};

struct Gadget rudiagadget = {
   &rodiagadget,   /* next gadget */
   605,238,   /* origin XY of hit box relative to window TopLeft */
   16,8,   /* hit box width and height */
   GADGHCOMP+GADGIMAGE,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&pfeildia,   /* gadget border or image to be rendered */
   NULL,
   NULL,
   0,
   NULL,
   103,
   NULL
};


struct Gadget vertikal = {
   &rudiagadget,
   401,34,
   14,38,
   GADGHNONE,
   GADGIMMEDIATE+RELVERIFY,
   PROPGADGET,
   (APTR)&Border103,
   NULL,
   NULL,
   0L,
   (APTR)&info2,
   42,
   NULL
};


struct Gadget arrowup = {
   &vertikal,   /* next gadget */
   400,26,   /* origin XY of hit box relative to window TopLeft */
   15,7,   /* hit box width and height */
   GADGHCOMP+GADGIMAGE,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&pfeilob,   /* gadget border or image to be rendered */
   NULL,
   NULL,
   0,
   NULL,
   41,
   NULL
};

struct Gadget arrowdown = {
   &arrowup,
   400,72,
   15,7,
   GADGHCOMP+GADGIMAGE,
   GADGIMMEDIATE+RELVERIFY,
   BOOLGADGET,
   (APTR)&pfeilunt,
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   40,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
};

struct Gadget matname[4][4] = {
{
{
   &matname[0][1],      /* next gadget */
   22,28,   /* origin XY of hit box relative to window TopLeft */
   84,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&Border106,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &mattxt[0][0],   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   24,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &matname[0][2],   /* next gadget */
   113,28,   /* origin XY of hit box relative to window TopLeft */
   84,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&Border106,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &mattxt[0][1],   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   25,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &matname[0][3],   /* next gadget */
   204,28,   /* origin XY of hit box relative to window TopLeft */
   84,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&Border106,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &mattxt[0][2],   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   26,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &matname[1][0],   /* next gadget */
   295,28,   /* origin XY of hit box relative to window TopLeft */
   84,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&Border106,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &mattxt[0][3],   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   27,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
}
},
{
{
   &matname[1][1],   /* next gadget */
   22,41,   /* origin XY of hit box relative to window TopLeft */
   84,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&Border106,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &mattxt[1][0],   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   28,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &matname[1][2],   /* next gadget */
   113,41,   /* origin XY of hit box relative to window TopLeft */
   84,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&Border106,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &mattxt[1][1],   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   29,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &matname[1][3],   /* next gadget */
   204,41,   /* origin XY of hit box relative to window TopLeft */
   84,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&Border106,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &mattxt[1][2],   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   30,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &matname[2][0],   /* next gadget */
   295,41,   /* origin XY of hit box relative to window TopLeft */
   84,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&Border106,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &mattxt[1][3],   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   31,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
}
},
{
{
   &matname[2][1],   /* next gadget */
   22,54,   /* origin XY of hit box relative to window TopLeft */
   84,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&Border106,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &mattxt[2][0],   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   32,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &matname[2][2],   /* next gadget */
   113,54,   /* origin XY of hit box relative to window TopLeft */
   84,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&Border106,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &mattxt[2][1],   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   33,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &matname[2][3],   /* next gadget */
   204,54,   /* origin XY of hit box relative to window TopLeft */
   84,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&Border106,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &mattxt[2][2],   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   34,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &matname[3][0],   /* next gadget */
   295,54,   /* origin XY of hit box relative to window TopLeft */
   84,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&Border106,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &mattxt[2][3],   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   35,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
}
},
{
{
   &matname[3][1],   /* next gadget */
   22,67,   /* origin XY of hit box relative to window TopLeft */
   84,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&Border106,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &mattxt[3][0],   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   36,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &matname[3][2],   /* next gadget */
   113,67,   /* origin XY of hit box relative to window TopLeft */
   84,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&Border106,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &mattxt[3][1],   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   37,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &matname[3][3],   /* next gadget */
   204,67,   /* origin XY of hit box relative to window TopLeft */
   84,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&Border106,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &mattxt[3][2],   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   38,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &arrowdown,   /* next gadget */
   295,67,   /* origin XY of hit box relative to window TopLeft */
   84,9,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&Border106,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   &mattxt[3][3],   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   39,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
}
}
};


UBYTE buffrow[4][3];
UBYTE buffcol[4][3];

struct IntuiText r[4] = {
{
   2,0,JAM2,   /* front and back text pens and drawmode */
   205,175,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   buffrow[0],   /* pointer to text */
   NULL   /* next IntuiText structure */
},

{
   2,0,JAM2,   /* front and back text pens and drawmode */
   205,191,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   buffrow[1],   /* pointer to text */
   &r[0]   /* next IntuiText structure */
},

{
   2,0,JAM2,   /* front and back text pens and drawmode */
   205,207,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   buffrow[2],   /* pointer to text */
   &r[1]   /* next IntuiText structure */
},

{
   2,0,JAM2,   /* front and back text pens and drawmode */
   205,224,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   buffrow[3],   /* pointer to text */
   &r[2]   /* next IntuiText structure */
}
};


struct IntuiText s[4] = {
{
   2,0,JAM2,   /* front and back text pens and drawmode */
   264,160,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   buffcol[0],   /* pointer to text */
   &r[3]   /* next IntuiText structure */
},

{
   2,0,JAM2,   /* front and back text pens and drawmode */
   356,160,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   buffcol[1],   /* pointer to text */
   &s[0]   /* next IntuiText structure */
},

{
   2,0,JAM2,   /* front and back text pens and drawmode */
   448,160,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   buffcol[2],   /* pointer to text */
   &s[1]   /* next IntuiText structure */
},

{
   2,0,JAM2,   /* front and back text pens and drawmode */
   541,160,   /* XY origin relative to container TopLeft */
   NULL,   /* font pointer or NULL for defaults */
   buffcol[3],   /* pointer to text */
   &s[2]   /* next IntuiText structure */
}
};


SHORT BorderVectors114[] = {0,0,18,0,18,41,0,41,0,0};
struct Border Border114 = {
   -2,-1,   /* border XY origin relative to container TopLeft */
   2,0,JAM1,   /* front pen, back pen and drawmode */
   5,   /* number of XY vectors */
   BorderVectors114,   /* pointer to XY vectors */
   NULL   /* next border in list */
};

struct Gadget Gadget26 = {
   &matname[0][0],   /* next gadget */
   229,129+108,   /* origin XY of hit box relative to window TopLeft */
   16,9,   /* hit box width and height */
   GADGHCOMP+GADGIMAGE,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&pfeillink,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   65,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
};

struct Gadget Gadget25 = {
   &Gadget26,   /* next gadget */
   577,129+108,   /* origin XY of hit box relative to window TopLeft */
   16,9,   /* hit box width and height */
   GADGHCOMP+GADGIMAGE,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&pfeilrecht,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   64,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
};

struct Gadget Gadget24 = {
   &Gadget25,   /* next gadget */
   604,116+108,   /* origin XY of hit box relative to window TopLeft */
   15,7,   /* hit box width and height */
   GADGHCOMP+GADGIMAGE,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&pfeilunt,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   63,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
};


struct Gadget Gadget21 = {
   &Gadget24,   /* next gadget */
   604,65+108,   /* origin XY of hit box relative to window TopLeft */
   15,7,   /* hit box width and height */
   GADGHCOMP+GADGIMAGE,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   BOOLGADGET,   /* gadget type */
   (APTR)&pfeilob,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   NULL,   /* SpecialInfo structure for string gadgets */
   60,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
};


struct Gadget Gadget28 = {
   &Gadget21,   /* next gadget */
   605,73+108,   /* origin XY of hit box relative to window TopLeft */
   14,43,   /* hit box width and height */
   GADGHNONE,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   PROPGADGET,   /* gadget type */
   (APTR)&Border114,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0L,   /* gadget mutual-exclude long word */
   (APTR)&info,   /* SpecialInfo structure for string gadgets */
   67,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
};

SHORT BorderVectors115[] = {0,0,328,0,328,8,0,8,0,0};
struct Border Border115 = {
   -2,-1,   /* border XY origin relative to container TopLeft */
   2,0,JAM1,   /* front pen, back pen and drawmode */
   5,   /* number of XY vectors */
   BorderVectors115,   /* pointer to XY vectors */
   NULL   /* next border in list */
};

struct PropInfo info1 = {
   AUTOKNOB | FREEHORIZ | KNOBHIT,
   0x0000, 0x0000,
   0xffff, 0x0000,
   0, 0, 0, 0, 0, 0
};

struct Gadget horizontal = {
   &Gadget28,   /* next gadget */
   246,130+108,   /* origin XY of hit box relative to window TopLeft */
   330,8,   /* hit box width and height */
   GADGHNONE,   /* gadget flags */
   GADGIMMEDIATE+RELVERIFY,   /* activation flags */
   PROPGADGET,   /* gadget type */
   (APTR)&Border115,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0L,   /* gadget mutual-exclude long word */
   (APTR)&info1,   /* SpecialInfo structure for string gadgets */
   66,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
};

UBYTE Buffer[4][4][19];

struct StringInfo GadgetSI19 = {
   Buffer[3][3],   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   19,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

SHORT BorderVectors117[] = {0,0,86,0,86,10,0,10,0,0};
struct Border Border117 = {
   -2,-2,   /* border XY origin relative to container TopLeft */
   2,0,JAM1,   /* front pen, back pen and drawmode */
   5,   /* number of XY vectors */
   BorderVectors117,   /* pointer to XY vectors */
   NULL   /* next border in list */
};

struct StringInfo GadgetSI18 = {
   Buffer[3][2],   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   19,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

struct StringInfo GadgetSI17 = {
   Buffer[3][1],   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   19,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

struct StringInfo GadgetSI16 = {
   Buffer[3][0],   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   19,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

struct StringInfo GadgetSI15 = {
   Buffer[2][3],   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   19,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

struct StringInfo GadgetSI14 = {
   Buffer[2][2],   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   19,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

struct StringInfo GadgetSI13 = {
   Buffer[2][0],   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   19,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

struct StringInfo GadgetSI12 = {
   Buffer[2][1],   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   19,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

struct StringInfo GadgetSI11 = {
   Buffer[1][3],   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   19,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

struct StringInfo GadgetSI10 = {
   Buffer[1][2],   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   19,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

struct StringInfo GadgetSI9 = {
   Buffer[1][0],   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   19,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

struct StringInfo GadgetSI8 = {
   Buffer[1][1],   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   19,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

struct StringInfo GadgetSI7 = {
   Buffer[0][0],   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   19,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

struct StringInfo GadgetSI6 = {
   Buffer[0][3],   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   19,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

struct StringInfo GadgetSI5 = {
   Buffer[0][2],   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   19,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

struct StringInfo GadgetSI4 = {
   Buffer[0][1],   /* buffer where text will be edited */
   NULL,   /* optional undo buffer */
   0,   /* character position in buffer */
   19,   /* 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 */
   NULL,   /* initial value for integer gadgets */
   NULL   /* alternate keymap (fill in if you set the flag) */
};

struct Gadget element [4][4] = {
{
{
   &horizontal,   /* next gadget */
   229,67+108,   /* origin XY of hit box relative to window TopLeft */
   83,8,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE,   /* activation flags */
   STRGADGET,   /* gadget type */
   (APTR)&Border117,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI7,   /* SpecialInfo structure for string gadgets */
   46,
   NULL   /* pointer to user-definable data */
},
{
   &element [0][0],   /* next gadget */
   322,67+108,   /* origin XY of hit box relative to window TopLeft */
   83,8,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE,   /* activation flags */
   STRGADGET,   /* gadget type */
   (APTR)&Border117,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI4,   /* SpecialInfo structure for string gadgets */
   43,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &element [0][1],   /* next gadget */
   415,67+108,   /* origin XY of hit box relative to window TopLeft */
   83,8,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE,   /* activation flags */
   STRGADGET,   /* gadget type */
   (APTR)&Border117,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI5,   /* SpecialInfo structure for string gadgets */
   44,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &element [0][2],   /* next gadget */
   508,67+108,   /* origin XY of hit box relative to window TopLeft */
   83,8,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE,   /* activation flags */
   STRGADGET,   /* gadget type */
   (APTR)&Border117,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI6,   /* SpecialInfo structure for string gadgets */
   45,
   NULL   /* pointer to user-definable data */
}
},
{
{
   &element [0][3],   /* next gadget */
   229,83+108,   /* origin XY of hit box relative to window TopLeft */
   83,8,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE,   /* activation flags */
   STRGADGET,   /* gadget type */
   (APTR)&Border117,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI9,   /* SpecialInfo structure for string gadgets */
   48,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &element [1][0],   /* next gadget */
   322,83+108,   /* origin XY of hit box relative to window TopLeft */
   83,8,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE,   /* activation flags */
   STRGADGET,   /* gadget type */
   (APTR)&Border117,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI8,   /* SpecialInfo structure for string gadgets */
   47,
   NULL   /* pointer to user-definable data */
},
{
   &element [1][1],   /* next gadget */
   415,83+108,   /* origin XY of hit box relative to window TopLeft */
   83,8,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE,   /* activation flags */
   STRGADGET,   /* gadget type */
   (APTR)&Border117,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI10,   /* SpecialInfo structure for string gadgets */
   49,
   NULL   /* pointer to user-definable data */
},
{
   &element [1][2],   /* next gadget */
   508,83+108,   /* origin XY of hit box relative to window TopLeft */
   83,8,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE,   /* activation flags */
   STRGADGET,   /* gadget type */
   (APTR)&Border117,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI11,   /* SpecialInfo structure for string gadgets */
   50,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
}
},
{
{
   &element [1][3],   /* next gadget */
   229,99+108,   /* origin XY of hit box relative to window TopLeft */
   83,8,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE,   /* activation flags */
   STRGADGET,   /* gadget type */
   (APTR)&Border117,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI13,   /* SpecialInfo structure for string gadgets */
   52,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &element [2][0],   /* next gadget */
   322,99+108,   /* origin XY of hit box relative to window TopLeft */
   83,8,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE,   /* activation flags */
   STRGADGET,   /* gadget type */
   (APTR)&Border117,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI12,   /* SpecialInfo structure for string gadgets */
   51,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &element [2][1],   /* next gadget */
   415,99+108,   /* origin XY of hit box relative to window TopLeft */
   83,8,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE,   /* activation flags */
   STRGADGET,   /* gadget type */
   (APTR)&Border117,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI14,   /* SpecialInfo structure for string gadgets */
   53,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &element [2][2],   /* next gadget */
   508,99+108,   /* origin XY of hit box relative to window TopLeft */
   83,8,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE,   /* activation flags */
   STRGADGET,   /* gadget type */
   (APTR)&Border117,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI15,   /* SpecialInfo structure for string gadgets */
   54,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
}
},
{
{
   &element [2][3],   /* next gadget */
   229,115+108,   /* origin XY of hit box relative to window TopLeft */
   83,8,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE,   /* activation flags */
   STRGADGET,   /* gadget type */
   (APTR)&Border117,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI16,   /* SpecialInfo structure for string gadgets */
   55,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &element[3][0],   /* next gadget */
   322,115+108,   /* origin XY of hit box relative to window TopLeft */
   83,8,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE,   /* activation flags */
   STRGADGET,   /* gadget type */
   (APTR)&Border117,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI17,   /* SpecialInfo structure for string gadgets */
   56,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &element[3][1],   /* next gadget */
   415,115+108,   /* origin XY of hit box relative to window TopLeft */
   83,8,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE,   /* activation flags */
   STRGADGET,   /* gadget type */
   (APTR)&Border117,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI18,   /* SpecialInfo structure for string gadgets */
   57,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
},
{
   &element[3][2],   /* next gadget */
   508,115+108,   /* origin XY of hit box relative to window TopLeft */
   83,8,   /* hit box width and height */
   GADGHCOMP,   /* gadget flags */
   RELVERIFY+GADGIMMEDIATE,   /* activation flags */
   STRGADGET,   /* gadget type */
   (APTR)&Border117,   /* gadget border or image to be rendered */
   NULL,   /* alternate imagery for selection */
   NULL,   /* first IntuiText structure */
   0,   /* gadget mutual-exclude long word */
   (APTR)&GadgetSI19,   /* SpecialInfo structure for string gadgets */
   58,   /* user-definable data (ordinal gadget number) */
   NULL   /* pointer to user-definable data */
}
}
};

