/* 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 ContinueData[] = { 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7C00,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7E00,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7F00,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7F80,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7FC0,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7FE0,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7FF0,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7FF8,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7FFC,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7FFE,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7DFF,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7CFF,0x8000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7C7F,0xC000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7C3F,0xE000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7C1F,0xF000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7C0F,0xF800,0x0000, 0x1FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC07,0xFC00,0x0000, 0x3FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC03,0xFE00,0x0000, 0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC01,0xFF00,0x0000, 0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,0xFF80,0x0000, 0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,0x7FC0,0x0000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x3FE0,0x0000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x1FF0,0x0000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x0FF8,0x0000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x07FC,0x0000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x03FE,0x0000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x01FF,0x0000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x00FF,0x8000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x007F,0xC000, 0x7C03,0xFA00,0x0000,0x4030,0x0000,0x0000,0x003F,0xE000, 0x7C06,0x0600,0x0000,0xC030,0x0000,0x0000,0x001F,0xF000, 0x7C0C,0x0200,0x0000,0xC000,0x0000,0x0000,0x000F,0xF800, 0x7C0C,0x003F,0x37C3,0xF071,0xBE38,0xE1F8,0x0007,0xFC00, 0x7C0C,0x0061,0x9860,0xC030,0xC318,0x630C,0x0003,0xFC00, 0x7C0C,0x0061,0x9860,0xC030,0xC318,0x63FC,0x0001,0xFC00, 0x7C0C,0x0261,0x9860,0xC030,0xC318,0x6300,0x0003,0xFC00, 0x7C06,0x0461,0x9860,0xCC30,0xC318,0x6304,0x0007,0xFC00, 0x7C03,0xF83F,0x3CF0,0x7879,0xE78F,0xB1F8,0x000F,0xF800, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x001F,0xF000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x003F,0xE000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x007F,0xC000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x00FF,0x8000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x01FF,0x0000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x03FE,0x0000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x07FC,0x0000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x0FF8,0x0000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x1FF0,0x0000, 0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x3FE0,0x0000, 0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,0x7FC0,0x0000, 0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,0xFF80,0x0000, 0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC01,0xFF00,0x0000, 0x3FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC03,0xFE00,0x0000, 0x1FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC07,0xFC00,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7C0F,0xF800,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7C1F,0xF000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7C3F,0xE000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7C7F,0xC000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7CFF,0x8000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7DFF,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7FFE,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7FFC,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7FF8,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7FF0,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7FE0,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7FC0,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7F80,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7F00,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x7E00,0x0000,0x0000, 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 }; struct Image Continue = { -10,-10, /* XY origin relative to container TopLeft */ 119,70, /* Image width and height in pixels */ 2, /* number of bitplanes in Image */ ContinueData, /* pointer to ImageData */ 0x0001,0x0000, /* PlanePick and PlaneOnOff */ NULL /* next Image structure */ }; struct Gadget Gadget6 = { NULL, /* next gadget */ 331,190, /* 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)&Continue, /* 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 */ }; extern struct Image Stop; struct Gadget Gadget5a = { &Gadget6, /* next gadget */ 230,180, /* origin XY of hit box relative to window TopLeft */ 64,64, /* hit box width and height */ GADGHIMAGE+GADGIMAGE, /* gadget flags */ GADGIMMEDIATE, /* activation flags */ BOOLGADGET, /* gadget type flags */ (APTR)&Stop, /* 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 = { &Gadget5a, /* next gadget */ 56,52, /* 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,57, /* 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,148, /* 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,128, /* 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,108, /* 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,32, /* 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,147, /* 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,128, /* 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,108, /* 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;