home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / disks / disk373.lzh / Multiplot / source / mplot_src / src.zoo / front.h < prev    next >
C/C++ Source or Header  |  1990-08-02  |  25KB  |  615 lines

  1. /* Data for the ZZZ Pointer */
  2.  
  3. USHORT chip WaitSprite [] = {
  4. 0x0000,   0x0000,
  5.  
  6. 0x0E00, 0x0E00,
  7. 0x1EC0, 0x1EC0,
  8. 0x7FE0, 0x7FE0,
  9. 0xFFE0, 0xC1E0,
  10. 0xFFF0, 0xFBF0,
  11. 0xFFF0, 0xF7F0,
  12. 0xFFF8, 0xEFF8,
  13. 0x7FF8, 0x41F8,
  14. 0x7FFC, 0x7E0C,
  15. 0xFFFC, 0xFFDC,
  16. 0xFFFC, 0xFFBC,
  17. 0xFFFC, 0xFF7C,
  18. 0x7FF8, 0x7E08,
  19. 0x7FF8, 0x7FF8,
  20. 0x1FE0, 0x1FE0,
  21. 0x0200, 0x0200,
  22. 0x0C00, 0x0C00,
  23. 0x1F80, 0x1F80,
  24. 0x1F80, 0x1F80,
  25. 0x0C00, 0x0C00,
  26. 0x00C0, 0x00C0,
  27. 0x00E0, 0x00E0,
  28. 0x0060, 0x0060,
  29. 0x0000, 0x0000,
  30. };
  31.  
  32. extern struct Image Stop;
  33.  
  34. struct Gadget Gadget5a = {
  35.         NULL,      /* next gadget */
  36.         230,185, /* origin XY of hit box relative to window TopLeft */
  37.         62,58,  /* hit box width and height */
  38.         GADGHIMAGE+GADGIMAGE,   /* gadget flags */
  39.         GADGIMMEDIATE,     /* activation flags */
  40.         BOOLGADGET,     /* gadget type flags */
  41.         (APTR)&Stop, /* gadget border or image to be rendered */
  42.         NULL, /* alternate imagery for selection */
  43.         NULL,   /* first IntuiText structure */
  44.         NULL,   /* gadget mutual-exclude long word */
  45.         NULL,   /* SpecialInfo structure */
  46.         NULL,   /* user-definable data */
  47.         NULL    /* pointer to user-definable data */
  48. };
  49.  
  50. SHORT BorderVectors1c[] = {
  51.         0,0,
  52.         41,0,
  53.         41,21,
  54.         0,21,
  55.         0,0
  56. };
  57. struct Border Border1c = {
  58.         -3,-2,  /* XY origin relative to container TopLeft */
  59.         1,0,JAM1,       /* front pen, back pen and drawmode */
  60.         5,      /* number of XY vectors */
  61.         BorderVectors1c, /* pointer to XY vectors */
  62.         NULL    /* next border in list */
  63. };
  64.  
  65.  
  66. SHORT BorderVectors1[] = {
  67.         0,0,
  68.         39,0,
  69.         39,19,
  70.         0,19,
  71.         0,0
  72. };
  73. struct Border Border1b = {
  74.         -2,-1,  /* XY origin relative to container TopLeft */
  75.         1,0,JAM1,       /* front pen, back pen and drawmode */
  76.         5,      /* number of XY vectors */
  77.         BorderVectors1, /* pointer to XY vectors */
  78.         &Border1c    /* next border in list */
  79. };
  80.  
  81. struct IntuiText IText1b = {
  82.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  83.         2,4,    /* XY origin relative to container TopLeft */
  84.         NULL,   /* font pointer or NULL for default */
  85.         "None", /* pointer to text */
  86.         NULL    /* next IntuiText structure */
  87. };
  88.  
  89. struct Gadget Gadget5b = {
  90.         &Gadget5a,       /* next gadget */
  91.         56,52,  /* origin XY of hit box relative to window TopLeft */
  92.         36,17,  /* hit box width and height */
  93.         NULL,   /* gadget flags */
  94.         GADGIMMEDIATE,      /* activation flags */
  95.         BOOLGADGET,     /* gadget type flags */
  96.         (APTR)&Border1b, /* gadget border or image to be rendered */
  97.         NULL,   /* alternate imagery for selection */
  98.         &IText1b,        /* first IntuiText structure */
  99.         NULL,   /* gadget mutual-exclude long word */
  100.         NULL,   /* SpecialInfo structure */
  101.         NULL,   /* user-definable data */
  102.         NULL    /* pointer to user-definable data */
  103. };
  104.  
  105. struct Border Border1 = {
  106.         -2,-1,  /* XY origin relative to container TopLeft */
  107.         1,0,JAM1,       /* front pen, back pen and drawmode */
  108.         5,      /* number of XY vectors */
  109.         BorderVectors1, /* pointer to XY vectors */
  110.         NULL    /* next border in list */
  111. };
  112.  
  113. struct IntuiText IText1 = {
  114.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  115.         2,4,    /* XY origin relative to container TopLeft */
  116.         NULL,   /* font pointer or NULL for default */
  117.         "Path", /* pointer to text */
  118.         NULL    /* next IntuiText structure */
  119. };
  120.  
  121. struct Gadget Gadget5 = {
  122.         &Gadget5b,       /* next gadget */
  123.         360,52,  /* origin XY of hit box relative to window TopLeft */
  124.         36,17,  /* hit box width and height */
  125.         NULL,   /* gadget flags */
  126.         GADGIMMEDIATE,      /* activation flags */
  127.         BOOLGADGET,     /* gadget type flags */
  128.         (APTR)&Border1, /* gadget border or image to be rendered */
  129.         NULL,   /* alternate imagery for selection */
  130.         &IText1,        /* first IntuiText structure */
  131.         NULL,   /* gadget mutual-exclude long word */
  132.         NULL,   /* SpecialInfo structure */
  133.         NULL,   /* user-definable data */
  134.         NULL    /* pointer to user-definable data */
  135. };
  136.  
  137. UBYTE Gadget4SIBuff[150]="Plotme.dat";
  138. struct StringInfo Gadget4SInfo = {
  139.         Gadget4SIBuff,  /* buffer where text will be edited */
  140.         NULL,   /* optional undo buffer */
  141.         0,      /* character position in buffer */
  142.         150,     /* maximum number of characters to allow */
  143.         0,      /* first displayed character buffer position */
  144.         0,0,0,0,0,      /* Intuition initialized and maintained variables */
  145.         0,      /* Rastport of gadget */
  146.         0,      /* initial value for integer gadgets */
  147.         NULL    /* alternate keymap (fill in if you set the flag) */
  148. };
  149.  
  150. SHORT BorderVectors2[] = {
  151.         0,0,
  152.         236,0,
  153.         236,17,
  154.         0,17,
  155.         0,1
  156. };
  157. struct Border Border2 = {
  158.         -1,-5,  /* XY origin relative to container TopLeft */
  159.         1,0,JAM1,       /* front pen, back pen and drawmode */
  160.         5,      /* number of XY vectors */
  161.         BorderVectors2, /* pointer to XY vectors */
  162.         NULL    /* next border in list */
  163. };
  164.  
  165. struct Gadget Gadget4 = {
  166.         &Gadget5,       /* next gadget */
  167.         108,57, /* origin XY of hit box relative to window TopLeft */
  168.         235,13, /* hit box width and height */
  169.         NULL,   /* gadget flags */
  170.         RELVERIFY+STRINGCENTER, /* activation flags */
  171.         STRGADGET,      /* gadget type flags */
  172.         (APTR)&Border2, /* gadget border or image to be rendered */
  173.         NULL,   /* alternate imagery for selection */
  174.         NULL,   /* first IntuiText structure */
  175.         NULL,   /* gadget mutual-exclude long word */
  176.         (APTR)&Gadget4SInfo,    /* SpecialInfo structure */
  177.         NULL,   /* user-definable data */
  178.         NULL    /* pointer to user-definable data */
  179. };
  180.  
  181. UBYTE Gadget3SIBuff[3]="0";
  182. struct StringInfo Gadget3SInfo = {
  183.         Gadget3SIBuff,  /* buffer where text will be edited */
  184.         NULL,   /* optional undo buffer */
  185.         0,      /* character position in buffer */
  186.         3,      /* maximum number of characters to allow */
  187.         0,      /* first displayed character buffer position */
  188.         0,0,0,0,0,      /* Intuition initialized and maintained variables */
  189.         0,      /* Rastport of gadget */
  190.         0,      /* initial value for integer gadgets */
  191.         NULL    /* alternate keymap (fill in if you set the flag) */
  192. };
  193.  
  194.  
  195. extern SHORT UpBorderVectors[];
  196. extern SHORT DownBorderVectors[];
  197.  
  198. struct Border EUpBorder = {
  199.         0,0,  /* XY origin relative to container TopLeft */
  200.         1,0,JAM1, /* front pen, back pen and drawmode */
  201.         8,      /* number of XY vectors */
  202.         UpBorderVectors, /* pointer to XY vectors */
  203.         NULL    /* next border in list */
  204. };
  205. struct Gadget EUp = {
  206.         &Gadget4,      /* next gadget */
  207.         283,143,        /* origin XY of hit box relative to window TopLeft */
  208.         15,20,  /* hit box width and height */
  209.         GADGHBOX+GADGHIMAGE,  /* gadget flags */
  210.         GADGIMMEDIATE,  /* activation flags */
  211.         BOOLGADGET,     /* gadget type flags */
  212.         (APTR)&EUpBorder, /* gadget border or image to be rendered */
  213.         NULL,   /* alternate imagery for selection */
  214.         NULL,   /* first IntuiText structure */
  215.         NULL,   /* gadget mutual-exclude long word */
  216.         NULL,   /* SpecialInfo structure */
  217.         NULL,   /* user-definable data */
  218.         NULL    /* pointer to user-definable data */
  219. };
  220.  
  221. struct Border EDownBorder = {
  222.         0,0,  /* XY origin relative to container TopLeft */
  223.         1,0,JAM1, /* front pen, back pen and drawmode */
  224.         8,      /* number of XY vectors */
  225.         DownBorderVectors, /* pointer to XY vectors */
  226.         NULL    /* next border in list */
  227. };
  228.  
  229. struct Gadget EDown = {
  230.         &EUp,      /* next gadget */
  231.         220,143,        /* origin XY of hit box relative to window TopLeft */
  232.         15,20,  /* hit box width and height */
  233.         GADGHBOX+GADGHIMAGE,  /* gadget flags */
  234.         GADGIMMEDIATE,  /* activation flags */
  235.         BOOLGADGET,     /* gadget type flags */
  236.         (APTR)&EDownBorder, /* gadget border or image to be rendered */
  237.         NULL,   /* alternate imagery for selection */
  238.         NULL,   /* first IntuiText structure */
  239.         NULL,   /* gadget mutual-exclude long word */
  240.         NULL,   /* SpecialInfo structure */
  241.         NULL,   /* user-definable data */
  242.         NULL    /* pointer to user-definable data */
  243. };
  244.  
  245. SHORT BorderVectors3[] = {
  246.         0,0,
  247.         40,0,
  248.         40,17,
  249.         0,17,
  250.         0,1
  251. };
  252. struct Border Border3 = {
  253.         -1,-5,  /* XY origin relative to container TopLeft */
  254.         1,0,JAM1,       /* front pen, back pen and drawmode */
  255.         5,      /* number of XY vectors */
  256.         BorderVectors3, /* pointer to XY vectors */
  257.         NULL    /* next border in list */
  258. };
  259.  
  260. struct Gadget Gadget3 = {
  261.         &EDown,       /* next gadget */
  262.         240,150,        /* origin XY of hit box relative to window TopLeft */
  263.         37,16,  /* hit box width and height */
  264.         NULL,   /* gadget flags */
  265.         RELVERIFY+LONGINT+STRINGCENTER, /* activation flags */
  266.         STRGADGET,      /* gadget type flags */
  267.         (APTR)&Border3, /* gadget border or image to be rendered */
  268.         NULL,   /* alternate imagery for selection */
  269.         NULL,   /* first IntuiText structure */
  270.         NULL,   /* gadget mutual-exclude long word */
  271.         (APTR)&Gadget3SInfo,    /* SpecialInfo structure */
  272.         NULL,   /* user-definable data */
  273.         NULL    /* pointer to user-definable data */
  274. };
  275.  
  276. UBYTE Gadget2SIBuff[3]="2";
  277. struct StringInfo Gadget2SInfo = {
  278.         Gadget2SIBuff,  /* buffer where text will be edited */
  279.         NULL,   /* optional undo buffer */
  280.         0,      /* character position in buffer */
  281.         3,      /* maximum number of characters to allow */
  282.         0,      /* first displayed character buffer position */
  283.         0,0,0,0,0,      /* Intuition initialized and maintained variables */
  284.         0,      /* Rastport of gadget */
  285.         2,      /* initial value for integer gadgets */
  286.         NULL    /* alternate keymap (fill in if you set the flag) */
  287. };
  288. struct Border YUpBorder = {
  289.         0,0,  /* XY origin relative to container TopLeft */
  290.         1,0,JAM1, /* front pen, back pen and drawmode */
  291.         8,      /* number of XY vectors */
  292.         UpBorderVectors, /* pointer to XY vectors */
  293.         NULL    /* next border in list */
  294. };
  295.  
  296. struct Gadget YUp = {
  297.         &Gadget3,      /* next gadget */
  298.         283,113,        /* origin XY of hit box relative to window TopLeft */
  299.         15,20,  /* hit box width and height */
  300.         GADGHBOX+GADGHIMAGE,  /* gadget flags */
  301.         GADGIMMEDIATE,  /* activation flags */
  302.         BOOLGADGET,     /* gadget type flags */
  303.         (APTR)&YUpBorder, /* gadget border or image to be rendered */
  304.         NULL,   /* alternate imagery for selection */
  305.         NULL,   /* first IntuiText structure */
  306.         NULL,   /* gadget mutual-exclude long word */
  307.         NULL,   /* SpecialInfo structure */
  308.         NULL,   /* user-definable data */
  309.         NULL    /* pointer to user-definable data */
  310. };
  311.  
  312. struct Border YDownBorder = {
  313.         0,0,  /* XY origin relative to container TopLeft */
  314.         1,0,JAM1, /* front pen, back pen and drawmode */
  315.         8,      /* number of XY vectors */
  316.         DownBorderVectors, /* pointer to XY vectors */
  317.         NULL    /* next border in list */
  318. };
  319.  
  320. struct Gadget YDown = {
  321.         &YUp,      /* next gadget */
  322.         220,113,        /* origin XY of hit box relative to window TopLeft */
  323.         15,20,  /* hit box width and height */
  324.         GADGHBOX+GADGHIMAGE,  /* gadget flags */
  325.         GADGIMMEDIATE,  /* activation flags */
  326.         BOOLGADGET,     /* gadget type flags */
  327.         (APTR)&YDownBorder, /* gadget border or image to be rendered */
  328.         NULL,   /* alternate imagery for selection */
  329.         NULL,   /* first IntuiText structure */
  330.         NULL,   /* gadget mutual-exclude long word */
  331.         NULL,   /* SpecialInfo structure */
  332.         NULL,   /* user-definable data */
  333.         NULL    /* pointer to user-definable data */
  334. };
  335.  
  336.  
  337.  
  338.  
  339. SHORT BorderVectors4[] = {
  340.         0,0,
  341.         40,0,
  342.         40,17,
  343.         0,17,
  344.         0,1
  345. };
  346. struct Border Border4 = {
  347.         -1,-5,  /* XY origin relative to container TopLeft */
  348.         1,0,JAM1,       /* front pen, back pen and drawmode */
  349.         5,      /* number of XY vectors */
  350.         BorderVectors4, /* pointer to XY vectors */
  351.         NULL    /* next border in list */
  352. };
  353.  
  354. struct Gadget Gadget2 = {
  355.         &YDown,       /* next gadget */
  356.         240,120,        /* origin XY of hit box relative to window TopLeft */
  357.         37,16,  /* hit box width and height */
  358.         NULL,   /* gadget flags */
  359.         RELVERIFY+LONGINT+STRINGCENTER, /* activation flags */
  360.         STRGADGET,      /* gadget type flags */
  361.         (APTR)&Border4, /* gadget border or image to be rendered */
  362.         NULL,   /* alternate imagery for selection */
  363.         NULL,   /* first IntuiText structure */
  364.         NULL,   /* gadget mutual-exclude long word */
  365.         (APTR)&Gadget2SInfo,    /* SpecialInfo structure */
  366.         NULL,   /* user-definable data */
  367.         NULL    /* pointer to user-definable data */
  368. };
  369.  
  370. UBYTE Gadget1SIBuff[3]="1";
  371. struct StringInfo Gadget1SInfo = {
  372.         Gadget1SIBuff,  /* buffer where text will be edited */
  373.         NULL,   /* optional undo buffer */
  374.         0,      /* character position in buffer */
  375.         3,      /* maximum number of characters to allow */
  376.         0,      /* first displayed character buffer position */
  377.         0,0,0,0,0,      /* Intuition initialized and maintained variables */
  378.         0,      /* Rastport of gadget */
  379.         1,      /* initial value for integer gadgets */
  380.         NULL    /* alternate keymap (fill in if you set the flag) */
  381. };
  382.  
  383. struct Border XUpBorder = {
  384.         0,0,  /* XY origin relative to container TopLeft */
  385.         1,0,JAM1, /* front pen, back pen and drawmode */
  386.         8,      /* number of XY vectors */
  387.         UpBorderVectors, /* pointer to XY vectors */
  388.         NULL    /* next border in list */
  389. };
  390.  
  391. struct Gadget XUp = {
  392.         &Gadget2,      /* next gadget */
  393.         283,83,        /* origin XY of hit box relative to window TopLeft */
  394.         15,20,  /* hit box width and height */
  395.         GADGHBOX+GADGHIMAGE,  /* gadget flags */
  396.         GADGIMMEDIATE,  /* activation flags */
  397.         BOOLGADGET,     /* gadget type flags */
  398.         (APTR)&XUpBorder, /* gadget border or image to be rendered */
  399.         NULL,   /* alternate imagery for selection */
  400.         NULL,   /* first IntuiText structure */
  401.         NULL,   /* gadget mutual-exclude long word */
  402.         NULL,   /* SpecialInfo structure */
  403.         NULL,   /* user-definable data */
  404.         NULL    /* pointer to user-definable data */
  405. };
  406.  
  407. struct Border XDownBorder = {
  408.         0,0,  /* XY origin relative to container TopLeft */
  409.         1,0,JAM1, /* front pen, back pen and drawmode */
  410.         8,      /* number of XY vectors */
  411.         DownBorderVectors, /* pointer to XY vectors */
  412.         NULL    /* next border in list */
  413. };
  414.  
  415. struct Gadget XDown = {
  416.         &XUp,      /* next gadget */
  417.         220,83,        /* origin XY of hit box relative to window TopLeft */
  418.         15,20,  /* hit box width and height */
  419.         GADGHBOX+GADGHIMAGE,  /* gadget flags */
  420.         GADGIMMEDIATE,  /* activation flags */
  421.         BOOLGADGET,     /* gadget type flags */
  422.         (APTR)&XDownBorder, /* gadget border or image to be rendered */
  423.         NULL,   /* alternate imagery for selection */
  424.         NULL,   /* first IntuiText structure */
  425.         NULL,   /* gadget mutual-exclude long word */
  426.         NULL,   /* SpecialInfo structure */
  427.         NULL,   /* user-definable data */
  428.         NULL    /* pointer to user-definable data */
  429. };
  430.  
  431.  
  432.  
  433. SHORT BorderVectors5[] = {
  434.         0,0,
  435.         40,0,
  436.         40,17,
  437.         0,17,
  438.         0,1
  439. };
  440. struct Border Border5 = {
  441.         -1,-5,  /* XY origin relative to container TopLeft */
  442.         1,0,JAM1,       /* front pen, back pen and drawmode */
  443.         5,      /* number of XY vectors */
  444.         BorderVectors5, /* pointer to XY vectors */
  445.         NULL    /* next border in list */
  446. };
  447.  
  448. struct Gadget Gadget1 = {
  449.         &XDown,       /* next gadget */
  450.         240,90,        /* origin XY of hit box relative to window TopLeft */
  451.         37,16,  /* hit box width and height */
  452.         NULL,   /* gadget flags */
  453.         RELVERIFY+LONGINT+STRINGCENTER, /* activation flags */
  454.         STRGADGET,      /* gadget type flags */
  455.         (APTR)&Border5, /* gadget border or image to be rendered */
  456.         NULL,   /* alternate imagery for selection */
  457.         NULL,   /* first IntuiText structure */
  458.         NULL,   /* gadget mutual-exclude long word */
  459.         (APTR)&Gadget1SInfo,    /* SpecialInfo structure */
  460.         NULL,   /* user-definable data */
  461.         NULL    /* pointer to user-definable data */
  462. };
  463.  
  464.  
  465. /* Data for the "Continue" Arrow */
  466.  
  467. USHORT chip ContinueData[] = {
  468.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  469.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7C00,0x0000,0x0000,
  470.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7E00,0x0000,0x0000,
  471.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7F00,0x0000,0x0000,
  472.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7F80,0x0000,0x0000,
  473.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7FC0,0x0000,0x0000,
  474.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7FE0,0x0000,0x0000,
  475.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7FF0,0x0000,0x0000,
  476.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7FF8,0x0000,0x0000,
  477.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7FFC,0x0000,0x0000,
  478.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7FFE,0x0000,0x0000,
  479.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7DFF,0x0000,0x0000,
  480.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7CFF,0x8000,0x0000,
  481.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7C7F,0xC000,0x0000,
  482.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7C3F,0xE000,0x0000,
  483.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7C1F,0xF000,0x0000,
  484.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7C0F,0xF800,0x0000,
  485.         0x1FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC07,0xFC00,0x0000,
  486.         0x3FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC03,0xFE00,0x0000,
  487.         0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC01,0xFF00,0x0000,
  488.         0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,0xFF80,0x0000,
  489.         0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,0x7FC0,0x0000,
  490.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x3FE0,0x0000,
  491.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x1FF0,0x0000,
  492.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x0FF8,0x0000,
  493.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x07FC,0x0000,
  494.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x03FE,0x0000,
  495.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x01FF,0x0000,
  496.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x00FF,0x8000,
  497.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x007F,0xC000,
  498.         0x7C03,0xFA00,0x0000,0x4030,0x0000,0x0000,0x003F,0xE000,
  499.         0x7C06,0x0600,0x0000,0xC030,0x0000,0x0000,0x001F,0xF000,
  500.         0x7C0C,0x0200,0x0000,0xC000,0x0000,0x0000,0x000F,0xF800,
  501.         0x7C0C,0x003F,0x37C3,0xF071,0xBE38,0xE1F8,0x0007,0xFC00,
  502.         0x7C0C,0x0061,0x9860,0xC030,0xC318,0x630C,0x0003,0xFC00,
  503.         0x7C0C,0x0061,0x9860,0xC030,0xC318,0x63FC,0x0001,0xFC00,
  504.         0x7C0C,0x0261,0x9860,0xC030,0xC318,0x6300,0x0003,0xFC00,
  505.         0x7C06,0x0461,0x9860,0xCC30,0xC318,0x6304,0x0007,0xFC00,
  506.         0x7C03,0xF83F,0x3CF0,0x7879,0xE78F,0xB1F8,0x000F,0xF800,
  507.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x001F,0xF000,
  508.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x003F,0xE000,
  509.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x007F,0xC000,
  510.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x00FF,0x8000,
  511.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x01FF,0x0000,
  512.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x03FE,0x0000,
  513.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x07FC,0x0000,
  514.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x0FF8,0x0000,
  515.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x1FF0,0x0000,
  516.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x0000,0x3FE0,0x0000,
  517.         0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,0x7FC0,0x0000,
  518.         0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,0xFF80,0x0000,
  519.         0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC01,0xFF00,0x0000,
  520.         0x3FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC03,0xFE00,0x0000,
  521.         0x1FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC07,0xFC00,0x0000,
  522.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7C0F,0xF800,0x0000,
  523.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7C1F,0xF000,0x0000,
  524.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7C3F,0xE000,0x0000,
  525.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7C7F,0xC000,0x0000,
  526.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7CFF,0x8000,0x0000,
  527.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7DFF,0x0000,0x0000,
  528.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7FFE,0x0000,0x0000,
  529.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7FFC,0x0000,0x0000,
  530.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7FF8,0x0000,0x0000,
  531.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7FF0,0x0000,0x0000,
  532.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7FE0,0x0000,0x0000,
  533.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7FC0,0x0000,0x0000,
  534.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7F80,0x0000,0x0000,
  535.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7F00,0x0000,0x0000,
  536.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7E00,0x0000,0x0000,
  537.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
  538. };
  539.  
  540. struct Image Continue = {
  541.         -10,-10,    /* XY origin relative to container TopLeft */
  542.         119,70, /* Image width and height in pixels */
  543.         2,      /* number of bitplanes in Image */
  544.         ContinueData,     /* pointer to ImageData */
  545.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  546.         NULL    /* next Image structure */
  547. };
  548.  
  549. struct Gadget Gadget6 = {
  550.         &Gadget1,   /* next gadget */
  551.         331,190,        /* origin XY of hit box relative to window TopLeft */
  552.         99,43,  /* hit box width and height */
  553.         GADGHBOX+GADGHIMAGE+GADGIMAGE,  /* gadget flags */
  554.         GADGIMMEDIATE,  /* activation flags */
  555.         BOOLGADGET,     /* gadget type flags */
  556.         (APTR)&Continue,  /* gadget border or image to be rendered */
  557.         NULL,   /* alternate imagery for selection */
  558.         NULL,   /* first IntuiText structure */
  559.         NULL,   /* gadget mutual-exclude long word */
  560.         NULL,   /* SpecialInfo structure */
  561.         NULL,   /* user-definable data */
  562.         NULL    /* pointer to user-definable data */
  563. };
  564.  
  565.  
  566. struct IntuiText IText5 = {
  567.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  568.         21,32,  /* XY origin relative to container TopLeft */
  569.         NULL,   /* font pointer or NULL for default */
  570.         "File to Plot:",        /* pointer to text */
  571.         NULL    /* next IntuiText structure */
  572. };
  573.  
  574. struct IntuiText IText4 = {
  575.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  576.         20,150, /* XY origin relative to container TopLeft */
  577.         NULL,   /* font pointer or NULL for default */
  578.         "Error in Y is in Column",      /* pointer to text */
  579.         &IText5 /* next IntuiText structure */
  580. };
  581.  
  582. struct IntuiText IText3 = {
  583.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  584.         23,120, /* XY origin relative to container TopLeft */
  585.         NULL,   /* font pointer or NULL for default */
  586.         "Y Data is in Column",  /* pointer to text */
  587.         &IText4 /* next IntuiText structure */
  588. };
  589.  
  590. struct IntuiText IText2 = {
  591.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  592.         22,90, /* XY origin relative to container TopLeft */
  593.         NULL,   /* font pointer or NULL for default */
  594.         "X Data is in Column",  /* pointer to text */
  595.         &IText3 /* next IntuiText structure */
  596. };
  597.  
  598. struct NewWindow NewFrontWindow = {
  599.         70,59,  /* window XY origin relative to TopLeft of screen */
  600.         455,258,        /* window width and height */
  601.         2,1,    /* detail and block pens */
  602.         GADGETDOWN|RAWKEY,   /* IDCMP flags */
  603.         ACTIVATE|NOCAREREFRESH,   /*  flags */
  604.         &Gadget6,       /* first gadget in gadget list */
  605.         NULL,   /* custom CHECKMARK imagery */
  606.         "                Data Selection Window            ",    /* window title */
  607.         NULL,   /* custom screen pointer */
  608.         NULL,   /* custom bitmap */
  609.         5,5,    /* minimum width and height */
  610.         640,200,        /* maximum width and height */
  611.         CUSTOMSCREEN    /* destination screen type */
  612. };
  613.  
  614. struct Window *FrontWindow;
  615.