/* Data for the ZZZ Pointer */


USHORT chip WaitSprite [] = {
0x0000,   0x0000,

0x0E00, 0x0E00,
0x1EC0, 0x1EC0,
0x7FE0, 0x7FE0,
0xFFE0, 0xC1E0,
0xFFF0, 0xFBF0,
0xFFF0, 0xF7F0,
0xFFF8, 0xEFF8,
0x7FF8, 0x41F8,
0x7FFC, 0x7E0C,
0xFFFC, 0xFFDC,
0xFFFC, 0xFFBC,
0xFFFC, 0xFF7C,
0x7FF8, 0x7E08,
0x7FF8, 0x7FF8,
0x1FE0, 0x1FE0,
0x0200, 0x0200,
0x0C00, 0x0C00,
0x1F80, 0x1F80,
0x1F80, 0x1F80,
0x0C00, 0x0C00,
0x00C0, 0x00C0,
0x00E0, 0x00E0,
0x0060, 0x0060,

0x0000,   0x0000,
};





/* Data for the "Continue" Arrow */

USHORT chip ImageData1[] = {
        0x0000,0x0000,0x0000,0x0000,0x0000,0xF800,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFC00,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFE00,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFF00,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFF80,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFFC0,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFFE0,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFFF0,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFFF8,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFFFC,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFBFE,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xF9FF,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xF8FF,0x8000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xF87F,0xC000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xF83F,0xE000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xF81F,0xF000,0x07FF,
        0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xF80F,0xF800,0x07FF,
        0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xF807,0xFC00,0x07FF,
        0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xF803,0xFE00,0x07FF,
        0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xF801,0xFF00,0x07FF,
        0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xF800,0xFF80,0x07FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x7FC0,0x07FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x3FE0,0x07FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x1FF0,0x07FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x0FF8,0x07FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x07FC,0x07FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x03FE,0x07FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x01FF,0x07FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x00FF,0x87FF,
        0xF807,0xF400,0x0000,0x8060,0x0000,0x0000,0x007F,0xC7FF,
        0xF80C,0x0C00,0x0001,0x8060,0x0000,0x0000,0x003F,0xE7FF,
        0xF818,0x0400,0x0001,0x8000,0x0000,0x0000,0x001F,0xF7FF,
        0xF818,0x007E,0x6F87,0xE0E3,0x7C71,0xC3F0,0x000F,0xFFFF,
        0xF818,0x00C3,0x30C1,0x8061,0x8630,0xC618,0x0007,0xFFFF,
        0xF818,0x00C3,0x30C1,0x8061,0x8630,0xC7F8,0x0003,0xFFFF,
        0xF818,0x04C3,0x30C1,0x8061,0x8630,0xC600,0x0007,0xFFFF,
        0xF80C,0x08C3,0x30C1,0x9861,0x8630,0xC608,0x000F,0xFFFF,
        0xF807,0xF07E,0x79E0,0xF0F3,0xCF1F,0x63F0,0x001F,0xF7FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x003F,0xE7FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x007F,0xC7FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x00FF,0x87FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x01FF,0x07FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x03FE,0x07FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x07FC,0x07FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x0FF8,0x07FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x1FF0,0x07FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x3FE0,0x07FF,
        0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x7FC0,0x07FF,
        0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xF800,0xFF80,0x07FF,
        0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xF801,0xFF00,0x07FF,
        0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xF803,0xFE00,0x07FF,
        0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xF807,0xFC00,0x07FF,
        0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xF80F,0xF800,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xF81F,0xF000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xF83F,0xE000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xF87F,0xC000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xF8FF,0x8000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xF9FF,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFBFE,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFFFC,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFFF8,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFFF0,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFFE0,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFFC0,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFF80,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFF00,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFE00,0x0000,0x07FF,
        0x0000,0x0000,0x0000,0x0000,0x0000,0xFC00,0x0000,0x07FF
};

struct Image Image1 = {
        -10,-10,        /* XY origin relative to container TopLeft */
        117,68, /* Image width and height in pixels */
        2,      /* number of bitplanes in Image */
        ImageData1,     /* pointer to ImageData */
        0x0001,0x0000,  /* PlanePick and PlaneOnOff */
        NULL    /* next Image structure */
};

struct Gadget Gadget6 = {
        NULL,   /* next gadget */
        331,184,        /* origin XY of hit box relative to window TopLeft */
        99,43,  /* hit box width and height */
        GADGHBOX+GADGHIMAGE+GADGIMAGE,  /* gadget flags */
        GADGIMMEDIATE,  /* activation flags */
        BOOLGADGET,     /* 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 */
        NULL,   /* SpecialInfo structure */
        NULL,   /* user-definable data */
        NULL    /* pointer to user-definable data */
};

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

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

struct Gadget Gadget5 = {
        &Gadget6,       /* next gadget */
        56,92,  /* origin XY of hit box relative to window TopLeft */
        36,17,  /* hit box width and height */
        NULL,   /* gadget flags */
        GADGIMMEDIATE,      /* activation flags */
        BOOLGADGET,     /* 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 */
        NULL,   /* SpecialInfo structure */
        NULL,   /* user-definable data */
        NULL    /* pointer to user-definable data */
};

UBYTE Gadget4SIBuff[150]="Plotme.dat";
struct StringInfo Gadget4SInfo = {
        Gadget4SIBuff,  /* buffer where text will be edited */
        NULL,   /* optional undo buffer */
        0,      /* character position in buffer */
        30,     /* 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 BorderVectors2[] = {
        0,0,
        236,0,
        236,17,
        0,17,
        0,1
};
struct Border Border2 = {
        -1,-5,  /* XY origin relative to container TopLeft */
        3,0,COMPLEMENT, /* front pen, back pen and drawmode */
        5,      /* number of XY vectors */
        BorderVectors2, /* pointer to XY vectors */
        NULL    /* next border in list */
};

struct Gadget Gadget4 = {
        &Gadget5,       /* next gadget */
        108,97, /* origin XY of hit box relative to window TopLeft */
        235,13, /* hit box width and height */
        NULL,   /* gadget flags */
        RELVERIFY+STRINGCENTER, /* activation flags */
        STRGADGET,      /* gadget type flags */
        (APTR)&Border2, /* gadget border or image to be rendered */
        NULL,   /* alternate imagery for selection */
        NULL,   /* first IntuiText structure */
        NULL,   /* gadget mutual-exclude long word */
        (APTR)&Gadget4SInfo,    /* SpecialInfo structure */
        NULL,   /* user-definable data */
        NULL    /* pointer to user-definable data */
};

UBYTE Gadget3SIBuff[3]="0";
struct StringInfo Gadget3SInfo = {
        Gadget3SIBuff,  /* buffer where text will be edited */
        NULL,   /* optional undo buffer */
        0,      /* character position in buffer */
        3,      /* 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,
        40,0,
        40,17,
        0,17,
        0,1
};
struct Border Border3 = {
        -1,-5,  /* XY origin relative to container TopLeft */
        3,0,COMPLEMENT, /* front pen, back pen and drawmode */
        5,      /* number of XY vectors */
        BorderVectors3, /* pointer to XY vectors */
        NULL    /* next border in list */
};

struct Gadget Gadget3 = {
        &Gadget4,       /* next gadget */
        220,208,        /* origin XY of hit box relative to window TopLeft */
        37,16,  /* hit box width and height */
        NULL,   /* gadget flags */
        RELVERIFY+LONGINT+STRINGCENTER, /* 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)&Gadget3SInfo,    /* SpecialInfo structure */
        NULL,   /* user-definable data */
        NULL    /* pointer to user-definable data */
};

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

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

struct Gadget Gadget2 = {
        &Gadget3,       /* next gadget */
        220,188,        /* origin XY of hit box relative to window TopLeft */
        37,16,  /* hit box width and height */
        NULL,   /* gadget flags */
        RELVERIFY+LONGINT+STRINGCENTER, /* 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)&Gadget2SInfo,    /* SpecialInfo structure */
        NULL,   /* user-definable data */
        NULL    /* pointer to user-definable data */
};

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

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

struct Gadget Gadget1 = {
        &Gadget2,       /* next gadget */
        220,168,        /* origin XY of hit box relative to window TopLeft */
        37,16,  /* hit box width and height */
        NULL,   /* gadget flags */
        RELVERIFY+LONGINT+STRINGCENTER, /* 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)&Gadget1SInfo,    /* SpecialInfo structure */
        NULL,   /* user-definable data */
        NULL    /* pointer to user-definable data */
};

#define GadgetList1 Gadget1

struct IntuiText IText5 = {
        1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
        21,72,  /* XY origin relative to container TopLeft */
        NULL,   /* font pointer or NULL for default */
        "File to Plot:",        /* pointer to text */
        NULL    /* next IntuiText structure */
};

struct IntuiText IText4 = {
        1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
        20,207, /* XY origin relative to container TopLeft */
        NULL,   /* font pointer or NULL for default */
        "Error in Y is in Column",      /* pointer to text */
        &IText5 /* next IntuiText structure */
};

struct IntuiText IText3 = {
        1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
        23,188, /* XY origin relative to container TopLeft */
        NULL,   /* font pointer or NULL for default */
        "Y Data is in Column",  /* pointer to text */
        &IText4 /* next IntuiText structure */
};

struct IntuiText IText2 = {
        1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
        22,168, /* XY origin relative to container TopLeft */
        NULL,   /* font pointer or NULL for default */
        "X Data is in Column",  /* pointer to text */
        &IText3 /* next IntuiText structure */
};


struct NewWindow NewFrontWindow = {
        70,59,  /* window XY origin relative to TopLeft of screen */
        455,258,        /* window width and height */
        2,1,    /* detail and block pens */
        GADGETDOWN|RAWKEY,   /* IDCMP flags */
        ACTIVATE|NOCAREREFRESH,   /*  flags */
        &Gadget1,       /* first gadget in gadget list */
        NULL,   /* custom CHECKMARK imagery */
        "                Data Selection Window            ",    /* window title */
        NULL,   /* custom screen pointer */
        NULL,   /* custom bitmap */
        5,5,    /* minimum width and height */
        640,200,        /* maximum width and height */
        CUSTOMSCREEN    /* destination screen type */
};

struct Window *FrontWindow;
