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

  1.  
  2. USHORT chip PointData1[] = {
  3.         0x0000,0x0000,0x7FFF,0xFF80,0x4000,0x0080,0x4004,0x0080,
  4.         0x400A,0x0080,0x400A,0x0080,0x4011,0x0080,0x4020,0x8080,
  5.         0x4040,0x4080,0x4040,0x4080,0x4080,0x2080,0x40FF,0xE080,
  6.         0x4000,0x0080,0x4000,0x0080,0x7FFF,0xFF80,0x0000,0x0000
  7. };
  8.  
  9. struct Image Point1 = {
  10.         0,0,    /* XY origin relative to container TopLeft */
  11.         26,16,  /* Image width and height in pixels */
  12.         1,      /* number of bitplanes in Image */
  13.         PointData1,     /* pointer to ImageData */
  14.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  15.         NULL    /* next Image structure */
  16. };
  17.  
  18. struct Gadget GadgPoint1 = {
  19.         NULL,   /* next gadget */
  20.         370,120,        /* origin XY of hit box relative to window TopLeft */
  21.         26,16,  /* hit box width and height */
  22.         GADGIMAGE,      /* gadget flags */
  23.         GADGIMMEDIATE, /* activation flags */
  24.         BOOLGADGET,     /* gadget type flags */
  25.         (APTR)&Point1,  /* gadget border or image to be rendered */
  26.         NULL,   /* alternate imagery for selection */
  27.         NULL,   /* first IntuiText structure */
  28.         NULL,   /* gadget mutual-exclude long word */
  29.         NULL,   /* SpecialInfo structure */
  30.         NULL,   /* user-definable data */
  31.         NULL    /* pointer to user-definable data */
  32. };
  33.  
  34. USHORT chip PointData2[] = {
  35.         0x0000,0x0000,0x7FFF,0xFF80,0x4000,0x0080,0x4000,0x0080,
  36.         0x400C,0x0080,0x4012,0x0080,0x4021,0x0080,0x4040,0x8080,
  37.         0x4040,0x8080,0x4021,0x0080,0x4012,0x0080,0x400C,0x0080,
  38.         0x4000,0x0080,0x4000,0x0080,0x7FFF,0xFF80,0x0000,0x0000
  39. };
  40.  
  41. struct Image Point2 = {
  42.         0,0,    /* XY origin relative to container TopLeft */
  43.         26,16,  /* Image width and height in pixels */
  44.         1,      /* number of bitplanes in Image */
  45.         PointData2,     /* pointer to ImageData */
  46.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  47.         NULL    /* next Image structure */
  48. };
  49.  
  50. struct Gadget GadgPoint2 = {
  51.         &GadgPoint1,      /* next gadget */
  52.         340,120,        /* origin XY of hit box relative to window TopLeft */
  53.         26,16,  /* hit box width and height */
  54.         GADGIMAGE,      /* gadget flags */
  55.         GADGIMMEDIATE, /* activation flags */
  56.         BOOLGADGET,     /* gadget type flags */
  57.         (APTR)&Point2,  /* gadget border or image to be rendered */
  58.         NULL,   /* alternate imagery for selection */
  59.         NULL,   /* first IntuiText structure */
  60.         NULL,   /* gadget mutual-exclude long word */
  61.         NULL,   /* SpecialInfo structure */
  62.         NULL,   /* user-definable data */
  63.         NULL    /* pointer to user-definable data */
  64. };
  65.  
  66. USHORT chip PointData3[] = {
  67.         0x0000,0x0000,0x7FFF,0xFF00,0x4000,0x0100,0x4000,0x0100,
  68.         0x4000,0x0100,0x4021,0x0100,0x4012,0x0100,0x400C,0x0100,
  69.         0x400C,0x0100,0x4012,0x0100,0x4021,0x0100,0x4000,0x0100,
  70.         0x4000,0x0100,0x4000,0x0100,0x7FFF,0xFF00,0x0000,0x0000
  71. };
  72.  
  73. struct Image Point3 = {
  74.         0,0,    /* XY origin relative to container TopLeft */
  75.         25,16,  /* Image width and height in pixels */
  76.         1,      /* number of bitplanes in Image */
  77.         PointData3,     /* pointer to ImageData */
  78.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  79.         NULL    /* next Image structure */
  80. };
  81.  
  82. struct Gadget GadgPoint3 = {
  83.         &GadgPoint2,      /* next gadget */
  84.         370,100, /* origin XY of hit box relative to window TopLeft */
  85.         25,16,  /* hit box width and height */
  86.         GADGIMAGE,      /* gadget flags */
  87.         GADGIMMEDIATE, /* activation flags */
  88.         BOOLGADGET,     /* gadget type flags */
  89.         (APTR)&Point3,  /* gadget border or image to be rendered */
  90.         NULL,   /* alternate imagery for selection */
  91.         NULL,   /* first IntuiText structure */
  92.         NULL,   /* gadget mutual-exclude long word */
  93.         NULL,   /* SpecialInfo structure */
  94.         NULL,   /* user-definable data */
  95.         NULL    /* pointer to user-definable data */
  96. };
  97.  
  98. USHORT chip PointData4[] = {
  99.         0x0000,0x0000,0x7FFF,0xFF00,0x4000,0x0100,0x4000,0x0100,
  100.         0x4000,0x0100,0x4008,0x0100,0x402A,0x0100,0x401C,0x0100,
  101.         0x407F,0x0100,0x401C,0x0100,0x402A,0x0100,0x4008,0x0100,
  102.         0x4000,0x0100,0x4000,0x0100,0x7FFF,0xFF00,0x0000,0x0000
  103. };
  104.  
  105. struct Image Point4 = {
  106.         0,0,    /* XY origin relative to container TopLeft */
  107.         25,16,  /* Image width and height in pixels */
  108.         1,      /* number of bitplanes in Image */
  109.         PointData4,     /* pointer to ImageData */
  110.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  111.         NULL    /* next Image structure */
  112. };
  113.  
  114. struct Gadget GadgPoint4 = {
  115.         &GadgPoint3,       /* next gadget */
  116.         340,100, /* origin XY of hit box relative to window TopLeft */
  117.         25,16,  /* hit box width and height */
  118.         GADGIMAGE,      /* gadget flags */
  119.         GADGIMMEDIATE, /* activation flags */
  120.         BOOLGADGET,     /* gadget type flags */
  121.         (APTR)&Point4,  /* gadget border or image to be rendered */
  122.         NULL,   /* alternate imagery for selection */
  123.         NULL,   /* first IntuiText structure */
  124.         NULL,   /* gadget mutual-exclude long word */
  125.         NULL,   /* SpecialInfo structure */
  126.         NULL,   /* user-definable data */
  127.         NULL    /* pointer to user-definable data */
  128. };
  129.  
  130. USHORT chip PointData5[] = {
  131.         0x0000,0x0000,0x7FFF,0xFF80,0x4000,0x0080,0x4000,0x0080,
  132.         0x4004,0x0080,0x4004,0x0080,0x4004,0x0080,0x407F,0xC080,
  133.         0x4004,0x0080,0x4004,0x0080,0x4004,0x0080,0x4000,0x0080,
  134.         0x4000,0x0080,0x4000,0x0080,0x7FFF,0xFF80,0x0000,0x0000
  135. };
  136.  
  137. struct Image Point5 = {
  138.         0,0,    /* XY origin relative to container TopLeft */
  139.         26,16,  /* Image width and height in pixels */
  140.         1,      /* number of bitplanes in Image */
  141.         PointData5,     /* pointer to ImageData */
  142.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  143.         NULL    /* next Image structure */
  144. };
  145.  
  146. struct Gadget GadgPoint5 = {
  147.         &GadgPoint4,       /* next gadget */
  148.         370,80, /* origin XY of hit box relative to window TopLeft */
  149.         26,16,  /* hit box width and height */
  150.         GADGIMAGE,      /* gadget flags */
  151.         GADGIMMEDIATE, /* activation flags */
  152.         BOOLGADGET,     /* gadget type flags */
  153.         (APTR)&Point5,  /* gadget border or image to be rendered */
  154.         NULL,   /* alternate imagery for selection */
  155.         NULL,   /* first IntuiText structure */
  156.         NULL,   /* gadget mutual-exclude long word */
  157.         NULL,   /* SpecialInfo structure */
  158.         NULL,   /* user-definable data */
  159.         NULL    /* pointer to user-definable data */
  160. };
  161.  
  162. USHORT chip PointData6[] = {
  163.         0x0000,0x0000,0x7FFF,0xFF80,0x4000,0x0080,0x4000,0x0080,
  164.         0x407F,0x0080,0x4041,0x0080,0x4041,0x0080,0x4041,0x0080,
  165.         0x4041,0x0080,0x4041,0x0080,0x4041,0x0080,0x407F,0x0080,
  166.         0x4000,0x0080,0x4000,0x0080,0x7FFF,0xFF80,0x0000,0x0000
  167. };
  168.  
  169. struct Image Point6 = {
  170.         0,0,    /* XY origin relative to container TopLeft */
  171.         26,16,  /* Image width and height in pixels */
  172.         1,      /* number of bitplanes in Image */
  173.         PointData6,     /* pointer to ImageData */
  174.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  175.         NULL    /* next Image structure */
  176. };
  177.  
  178. struct Gadget GadgPoint6 = {
  179.         &GadgPoint5,       /* next gadget */
  180.         340,80, /* origin XY of hit box relative to window TopLeft */
  181.         26,16,  /* hit box width and height */
  182.         GADGIMAGE,      /* gadget flags */
  183.         GADGIMMEDIATE, /* activation flags */
  184.         BOOLGADGET,     /* gadget type flags */
  185.         (APTR)&Point6, /* gadget border or image to be rendered */
  186.         NULL,   /* alternate imagery for selection */
  187.         NULL,   /* first IntuiText structure */
  188.         NULL,   /* gadget mutual-exclude long word */
  189.         NULL,   /* SpecialInfo structure */
  190.         NULL,   /* user-definable data */
  191.         NULL    /* pointer to user-definable data */
  192. };
  193.  
  194. /* Point Gadget Image */
  195.  
  196. USHORT chip ImageData6b[] = {
  197.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  198.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  199.         0x0000,0x000C,0x0004,0x0000,0x0000,0x0000,0x000C,0x0000,
  200.         0x006E,0x1E1C,0x3E1F,0x0000,0x0033,0x330C,0x330C,0x0000,
  201.         0x0033,0x330C,0x330C,0x0000,0x003E,0x330C,0x330D,0x0000,
  202.         0x0030,0x1E1E,0x3306,0x0000,0x0078,0x0000,0x0000,0x0000,
  203.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  204.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  205.         0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFC0,
  206.         0x8000,0x0000,0x0000,0x0040,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  207.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFF3,0xFFFB,0xFF40,
  208.         0xBFFF,0xFFFF,0xFFF3,0xFF40,0xBF91,0xE1E3,0xC1E0,0xFF40,
  209.         0xBFCC,0xCCF3,0xCCF3,0xFF40,0xBFCC,0xCCF3,0xCCF3,0xFF40,
  210.         0xBFC1,0xCCF3,0xCCF2,0xFF40,0xBFCF,0xE1E1,0xCCF9,0xFF40,
  211.         0xBF87,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  212.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  213.         0x8000,0x0000,0x0000,0x0040,0xFFFF,0xFFFF,0xFFFF,0xFFC0
  214. };
  215.  
  216.  
  217. struct Image Image6b = {
  218.         0,0,    /* XY origin relative to container TopLeft */
  219.         58,17,  /* Image width and height in pixels */
  220.         2,      /* number of bitplanes in Image */
  221.         ImageData6b,     /* pointer to ImageData */
  222.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  223.         NULL    /* next Image structure */
  224. };
  225.  
  226. /* Line Gadget Image */
  227.  
  228. USHORT chip ImageData6a[] = {
  229.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  230.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  231.         0x0038,0x1800,0x0000,0x0000,0x0018,0x0000,0x0000,0x0000,
  232.         0x0018,0x387C,0x3C00,0x0000,0x0018,0x1866,0x6600,0x0000,
  233.         0x0018,0x1866,0x7E00,0x0000,0x0018,0x1866,0x6000,0x0000,
  234.         0x003C,0x3C66,0x3C00,0x0000,0x0000,0x0000,0x0000,0x0000,
  235.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  236.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  237.         0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFC0,
  238.         0x8000,0x0000,0x0000,0x0040,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  239.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFC7,0xE7FF,0xFFFF,0xFF40,
  240.         0xBFE7,0xFFFF,0xFFFF,0xFF40,0xBFE7,0xC783,0xC3FF,0xFF40,
  241.         0xBFE7,0xE799,0x99FF,0xFF40,0xBFE7,0xE799,0x81FF,0xFF40,
  242.         0xBFE7,0xE799,0x9FFF,0xFF40,0xBFC3,0xC399,0xC3FF,0xFF40,
  243.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  244.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  245.         0x8000,0x0000,0x0000,0x0040,0xFFFF,0xFFFF,0xFFFF,0xFFC0
  246. };
  247.  
  248.  
  249. struct Image Image6a = {
  250.         0,0,    /* XY origin relative to container TopLeft */
  251.         58,17,  /* Image width and height in pixels */
  252.         2,      /* number of bitplanes in Image */
  253.         ImageData6a,     /* pointer to ImageData */
  254.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  255.         NULL    /* next Image structure */
  256. };
  257.  
  258. /* Both Gadget Image */
  259.  
  260. USHORT chip ImageData6c[] = {
  261.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  262.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  263.         0x0070,0x0004,0x7000,0x0000,0x0030,0x000C,0x3000,0x0000,
  264.         0x0036,0x1E1F,0x3600,0x0000,0x003B,0x330C,0x3B00,0x0000,
  265.         0x0033,0x330C,0x3300,0x0000,0x0033,0x330D,0x3300,0x0000,
  266.         0x001E,0x1E06,0x7300,0x0000,0x0000,0x0000,0x0000,0x0000,
  267.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  268.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  269.         0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFC0,
  270.         0x8000,0x0000,0x0000,0x0040,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  271.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBF8F,0xFFFB,0x8FFF,0xFF40,
  272.         0xBFCF,0xFFF3,0xCFFF,0xFF40,0xBFC9,0xE1E0,0xC9FF,0xFF40,
  273.         0xBFC4,0xCCF3,0xC4FF,0xFF40,0xBFCC,0xCCF3,0xCCFF,0xFF40,
  274.         0xBFCC,0xCCF2,0xCCFF,0xFF40,0xBFE1,0xE1F9,0x8CFF,0xFF40,
  275.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  276.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  277.         0x8000,0x0000,0x0000,0x0040,0xFFFF,0xFFFF,0xFFFF,0xFFC0
  278. };
  279.  
  280. struct Image Image6c = {
  281.         0,0,    /* XY origin relative to container TopLeft */
  282.         58,17,  /* Image width and height in pixels */
  283.         2,      /* number of bitplanes in Image */
  284.         ImageData6c,     /* pointer to ImageData */
  285.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  286.         NULL    /* next Image structure */
  287. };
  288.  
  289. /** Step image data **/
  290.  
  291. USHORT chip ImageData6d[] = {
  292.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  293.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  294.         0x0000,0x0400,0x0000,0x0000,0x0000,0x0C00,0x0000,0x0000,
  295.         0x003F,0x1F1E,0x2F00,0x0000,0x0070,0x0C33,0x1980,0x0000,
  296.         0x003F,0x0C3F,0x1980,0x0000,0x0003,0x8D30,0x1F00,0x0000,
  297.         0x003F,0x061E,0x1800,0x0000,0x0000,0x0000,0x3800,0x0000,
  298.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  299.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  300.         0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFC0,
  301.         0x8000,0x0000,0x0000,0x0040,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  302.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFBFF,0xFFFF,0xFF40,
  303.         0xBFFF,0xF3FF,0xFFFF,0xFF40,0xBFC0,0xE0E1,0xD0FF,0xFF40,
  304.         0xBF8F,0xF3CC,0xE67F,0xFF40,0xBFC0,0xF3C0,0xE67F,0xFF40,
  305.         0xBFFC,0x72CF,0xE0FF,0xFF40,0xBFC0,0xF9E1,0xE7FF,0xFF40,
  306.         0xBFFF,0xFFFF,0xC7FF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  307.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  308.         0x8000,0x0000,0x0000,0x0040,0xFFFF,0xFFFF,0xFFFF,0xFFC0
  309. };
  310.  
  311. struct Image Image6d = {
  312.         0,0,    /* XY origin relative to container TopLeft */
  313.         58,17,  /* Image width and height in pixels */
  314.         2,      /* number of bitplanes in Image */
  315.         ImageData6d,     /* pointer to ImageData */
  316.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  317.         NULL    /* next Image structure */
  318. };
  319.  
  320. struct Gadget Gadget47 = {
  321.         &GadgPoint6,      /* next gadget */
  322.         209,85,        /* origin XY of hit box relative to window TopLeft */
  323.         60,17,  /* hit box width and height */
  324.         GADGHIMAGE+GADGIMAGE,   /* gadget flags */
  325.         GADGIMMEDIATE, /* activation flags */
  326.         BOOLGADGET,     /* gadget type flags */
  327.         (APTR)&Image6a, /* 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. USHORT chip LineTyImDat6[] = {
  337.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  338.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  339.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  340.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  341.         0x007E,0x667E,0x667E,0x0000,0x0000,0x0000,0x0000,0x0000,
  342.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  343.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  344.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  345.         0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFC0,
  346.         0x8000,0x0000,0x0000,0x0040,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  347.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  348.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  349.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBF81,0x9981,0x9981,0xFF40,
  350.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  351.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  352.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  353.         0x8000,0x0000,0x0000,0x0040,0xFFFF,0xFFFF,0xFFFF,0xFFC0
  354. };
  355.  
  356. struct Image LineTyIm6 = {
  357.         0,0,    /* XY origin relative to container TopLeft */
  358.         58,17,  /* Image width and height in pixels */
  359.         2,      /* number of bitplanes in Image */
  360.         LineTyImDat6,     /* pointer to ImageData */
  361.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  362.         NULL    /* next Image structure */
  363. };
  364.  
  365. USHORT chip LineTyImDat5[] = {
  366.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  367.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  368.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  369.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  370.         0x00FF,0x3CFF,0x3CFF,0x0000,0x0000,0x0000,0x0000,0x0000,
  371.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  372.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  373.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  374.         0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFC0,
  375.         0x8000,0x0000,0x0000,0x0040,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  376.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  377.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  378.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBF00,0xC300,0xC300,0xFF40,
  379.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  380.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  381.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  382.         0x8000,0x0000,0x0000,0x0040,0xFFFF,0xFFFF,0xFFFF,0xFFC0
  383. };
  384.  
  385. struct Image LineTyIm5 = {
  386.         0,0,    /* XY origin relative to container TopLeft */
  387.         58,17,  /* Image width and height in pixels */
  388.         2,      /* number of bitplanes in Image */
  389.         LineTyImDat5,     /* pointer to ImageData */
  390.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  391.         NULL    /* next Image structure */
  392. };
  393.  
  394. USHORT chip LineTyImDat4[] = {
  395.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  396.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  397.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  398.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  399.         0x01FF,0x99FF,0x99FF,0x8000,0x0000,0x0000,0x0000,0x0000,
  400.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  401.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  402.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  403.         0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFC0,
  404.         0x8000,0x0000,0x0000,0x0040,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  405.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  406.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  407.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBE00,0x6600,0x6600,0x7F40,
  408.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  409.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  410.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  411.         0x8000,0x0000,0x0000,0x0040,0xFFFF,0xFFFF,0xFFFF,0xFFC0
  412. };
  413.  
  414. struct Image LineTyIm4 = {
  415.         0,0,    /* XY origin relative to container TopLeft */
  416.         58,17,  /* Image width and height in pixels */
  417.         2,      /* number of bitplanes in Image */
  418.         LineTyImDat4,     /* pointer to ImageData */
  419.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  420.         NULL    /* next Image structure */
  421. };
  422.  
  423. USHORT chip LineTyImDat3[] = {
  424.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  425.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  426.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  427.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  428.         0x03FF,0xC3FF,0xC3FF,0x8000,0x0000,0x0000,0x0000,0x0000,
  429.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  430.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  431.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  432.         0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFC0,
  433.         0x8000,0x0000,0x0000,0x0040,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  434.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  435.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  436.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBC00,0x3C00,0x3C00,0x7F40,
  437.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  438.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  439.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  440.         0x8000,0x0000,0x0000,0x0040,0xFFFF,0xFFFF,0xFFFF,0xFFC0
  441. };
  442.  
  443. struct Image LineTyIm3 = {
  444.         0,0,    /* XY origin relative to container TopLeft */
  445.         58,17,  /* Image width and height in pixels */
  446.         2,      /* number of bitplanes in Image */
  447.         LineTyImDat3,     /* pointer to ImageData */
  448.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  449.         NULL    /* next Image structure */
  450. };
  451.  
  452. USHORT chip LineTyImDat2[] = {
  453.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  454.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  455.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  456.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  457.         0x007F,0x807F,0x807F,0x8000,0x0000,0x0000,0x0000,0x0000,
  458.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  459.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  460.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  461.         0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFC0,
  462.         0x8000,0x0000,0x0000,0x0040,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  463.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  464.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  465.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBF80,0x7F80,0x7F80,0x7F40,
  466.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  467.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  468.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  469.         0x8000,0x0000,0x0000,0x0040,0xFFFF,0xFFFF,0xFFFF,0xFFC0
  470. };
  471.  
  472. struct Image LineTyIm2 = {
  473.         0,0,    /* XY origin relative to container TopLeft */
  474.         58,17,  /* Image width and height in pixels */
  475.         2,      /* number of bitplanes in Image */
  476.         LineTyImDat2,     /* pointer to ImageData */
  477.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  478.         NULL    /* next Image structure */
  479. };
  480.  
  481. USHORT chip LineTyImDat1[] = {
  482.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  483.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  484.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  485.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  486.         0x007F,0xFFFF,0xFFFF,0x8000,0x0000,0x0000,0x0000,0x0000,
  487.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  488.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  489.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  490.         0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFC0,
  491.         0x8000,0x0000,0x0000,0x0040,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  492.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  493.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  494.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBF80,0x0000,0x0000,0x7F40,
  495.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  496.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  497.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  498.         0x8000,0x0000,0x0000,0x0040,0xFFFF,0xFFFF,0xFFFF,0xFFC0
  499. };
  500.  
  501. struct Image LineTyIm1 = {
  502.         0,0,    /* XY origin relative to container TopLeft */
  503.         58,17,  /* Image width and height in pixels */
  504.         2,      /* number of bitplanes in Image */
  505.         LineTyImDat1,     /* pointer to ImageData */
  506.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  507.         NULL    /* next Image structure */
  508. };
  509.  
  510. struct Gadget LineTypeSel = {
  511.         &Gadget47,      /* next gadget */
  512.         209,113,        /* origin XY of hit box relative to window TopLeft */
  513.         60,17,  /* hit box width and height */
  514.         GADGHIMAGE+GADGIMAGE,   /* gadget flags */
  515.         GADGIMMEDIATE, /* activation flags */
  516.         BOOLGADGET,     /* gadget type flags */
  517.         (APTR)&LineTyIm1, /* gadget border or image to be rendered */
  518.         NULL, /* alternate imagery for selection */
  519.         NULL,   /* first IntuiText structure */
  520.         NULL,   /* gadget mutual-exclude long word */
  521.         NULL,   /* SpecialInfo structure */
  522.         NULL,   /* user-definable data */
  523.         NULL    /* pointer to user-definable data */
  524. };
  525.  
  526.  
  527. UBYTE Gadget46SIBuff[7] = "8";
  528. struct StringInfo Gadget46SInfo = {
  529.         Gadget46SIBuff, /* buffer where text will be edited */
  530.         NULL,   /* optional undo buffer */
  531.         0,      /* character position in buffer */
  532.         3,      /* maximum number of characters to allow */
  533.         0,      /* first displayed character buffer position */
  534.         0,0,0,0,0,      /* Intuition initialized and maintained variables */
  535.         0,      /* Rastport of gadget */
  536.         8,      /* initial value for integer gadgets */
  537.         NULL    /* alternate keymap (fill in if you set the flag) */
  538. };
  539.  
  540.  
  541. extern SHORT UpBorderVectors[];
  542. struct Border SizeUpBorder = {
  543.         0,0,  /* XY origin relative to container TopLeft */
  544.         1,0,JAM1, /* front pen, back pen and drawmode */
  545.         8,      /* number of XY vectors */
  546.         UpBorderVectors, /* pointer to XY vectors */
  547.         NULL    /* next border in list */
  548. };
  549.  
  550.  
  551. struct Gadget SizeUp = {
  552.         &LineTypeSel,      /* next gadget */
  553.         257,141,        /* origin XY of hit box relative to window TopLeft */
  554.         15,20,  /* hit box width and height */
  555.         GADGHBOX+GADGHIMAGE,  /* gadget flags */
  556.         GADGIMMEDIATE,  /* activation flags */
  557.         BOOLGADGET,     /* gadget type flags */
  558.         (APTR)&SizeUpBorder, /* gadget border or image to be rendered */
  559.         NULL,   /* alternate imagery for selection */
  560.         NULL,   /* first IntuiText structure */
  561.         NULL,   /* gadget mutual-exclude long word */
  562.         NULL,   /* SpecialInfo structure */
  563.         NULL,   /* user-definable data */
  564.         NULL    /* pointer to user-definable data */
  565. };
  566.  
  567. extern SHORT DownBorderVectors[];
  568. struct Border SizeDownBorder = {
  569.         0,0,  /* XY origin relative to container TopLeft */
  570.         1,0,JAM1, /* front pen, back pen and drawmode */
  571.         8,      /* number of XY vectors */
  572.         DownBorderVectors, /* pointer to XY vectors */
  573.         NULL    /* next border in list */
  574. };
  575.  
  576.  
  577. struct Gadget SizeDown = {
  578.         &SizeUp,      /* next gadget */
  579.         203,141,        /* origin XY of hit box relative to window TopLeft */
  580.         15,20,  /* hit box width and height */
  581.         GADGHBOX+GADGHIMAGE,  /* gadget flags */
  582.         GADGIMMEDIATE,  /* activation flags */
  583.         BOOLGADGET,     /* gadget type flags */
  584.         (APTR)&SizeDownBorder, /* gadget border or image to be rendered */
  585.         NULL,   /* alternate imagery for selection */
  586.         NULL,   /* first IntuiText structure */
  587.         NULL,   /* gadget mutual-exclude long word */
  588.         NULL,   /* SpecialInfo structure */
  589.         NULL,   /* user-definable data */
  590.         NULL    /* pointer to user-definable data */
  591. };
  592.  
  593.  
  594.  
  595. SHORT BorderVectors12[] = {
  596.         0,0,
  597.         31,0,
  598.         31,17,
  599.         0,17,
  600.         0,1
  601. };
  602. struct Border Border12 = {
  603.         -5,-5,  /* XY origin relative to container TopLeft */
  604.         1,0,JAM1, /* front pen, back pen and drawmode */
  605.         5,      /* number of XY vectors */
  606.         BorderVectors12,        /* pointer to XY vectors */
  607.         NULL    /* next border in list */
  608. };
  609.  
  610. struct Gadget Gadget46 = {
  611.         &SizeDown,      /* next gadget */
  612.         227,148,        /* origin XY of hit box relative to window TopLeft */
  613.         26,16,  /* hit box width and height */
  614.         NULL,   /* gadget flags */
  615.         STRINGCENTER+LONGINT,     /* activation flags */
  616.         STRGADGET,      /* gadget type flags */
  617.         (APTR)&Border12,        /* gadget border or image to be rendered */
  618.         NULL,   /* alternate imagery for selection */
  619.         NULL,   /* first IntuiText structure */
  620.         NULL,   /* gadget mutual-exclude long word */
  621.         (APTR)&Gadget46SInfo,   /* SpecialInfo structure */
  622.         NULL,   /* user-definable data */
  623.         NULL    /* pointer to user-definable data */
  624. };
  625.  
  626.  
  627. /* Example Colour Gadget */
  628.  
  629. USHORT chip ColourData2[] = {
  630.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  631.         0x3FFF,0xFFFF,0xFFFF,0xFF00,0x2000,0x0000,0x0000,0x0100,
  632.         0x2000,0x0000,0x0000,0x0100,0x2000,0x0000,0x0000,0x0100,
  633.         0x2000,0x0000,0x0000,0x0100,0x2000,0x0000,0x0000,0x0100,
  634.         0x2000,0x0000,0x0000,0x0100,0x2000,0x0000,0x0000,0x0100,
  635.         0x2000,0x0000,0x0000,0x0100,0x2000,0x0000,0x0000,0x0100,
  636.         0x2000,0x0000,0x0000,0x0100,0x2000,0x0000,0x0000,0x0100,
  637.         0x3FFF,0xFFFF,0xFFFF,0xFF00,0x0000,0x0000,0x0000,0x0000,
  638.         0x0000,0x0000,0x0000,0x0000
  639. };
  640.  
  641. struct Image Colour2 = {
  642.         0,0,    /* XY origin relative to container TopLeft */
  643.         58,17,  /* Image width and height in pixels */
  644.         1,      /* number of bitplanes in Image */
  645.         ColourData2,     /* pointer to ImageData */
  646.         0x0,0x4,  /* PlanePick and PlaneOnOff */
  647.         NULL    /* next Image structure */
  648. };
  649.  
  650.  
  651. /* Colour Selector Gadget */
  652.  
  653. struct Gadget Gadget45 = {
  654.         &Gadget46,      /* next gadget */
  655.         209,57,        /* origin XY of hit box relative to window TopLeft */
  656.         60,17,  /* hit box width and height */
  657.         GADGHIMAGE+GADGIMAGE,   /* gadget flags */
  658.         GADGIMMEDIATE,     /* activation flags */
  659.         BOOLGADGET,     /* gadget type flags */
  660.         (APTR)&Colour2, /* gadget border or image to be rendered */
  661.         NULL, /* alternate imagery for selection */
  662.         NULL,   /* first IntuiText structure */
  663.         NULL,   /* gadget mutual-exclude long word */
  664.         NULL,   /* SpecialInfo structure */
  665.         NULL,   /* user-definable data */
  666.         NULL    /* pointer to user-definable data */
  667. };
  668.  
  669. /* Stop Image Data */
  670.  
  671. USHORT chip StopData[] = {
  672.         0x0000,0x0000,0x0000,0x0000,0x0000,0x7FFF,0xFFFC,0x0000,
  673.         0x0000,0xFFFF,0xFFFE,0x0000,0x0001,0xFFFF,0xFFFF,0x0000,
  674.         0x0003,0xFFFF,0xFFFF,0x8000,0x0007,0xF800,0x003F,0xC000,
  675.         0x000F,0xF000,0x001F,0xE000,0x001F,0xE000,0x000F,0xF000,
  676.         0x003F,0xC000,0x0007,0xF800,0x007F,0x8000,0x0003,0xFC00,
  677.         0x00FF,0x0000,0x0001,0xFE00,0x01FE,0x0000,0x0000,0xFF00,
  678.         0x03FC,0x0000,0x0000,0x7F80,0x07F8,0x0000,0x0000,0x3FC0,
  679.         0x0FF0,0x0000,0x0000,0x1FE0,0x1FE0,0x0000,0x0000,0x0FF0,
  680.         0x3FC0,0x0000,0x0000,0x07F8,0x7F80,0x0000,0x0000,0x03F8,
  681.         0x7F00,0x0000,0x0000,0x01F8,0x7E00,0x0000,0x0000,0x00F8,
  682.         0x7E00,0x0000,0x0000,0x00F8,0x7E00,0x0000,0x0000,0x00F8,
  683.         0x7E00,0x0000,0x0000,0x00F8,0x7E00,0x0000,0x0000,0x00F8,
  684.         0x7E03,0xD7FF,0x1F8F,0xF0F8,0x7E0C,0x3663,0x30C6,0x18F8,
  685.         0x7E1C,0x1461,0x6066,0x18F8,0x7E06,0x0060,0x6066,0x18F8,
  686.         0x7E03,0x8060,0x6067,0xF0F8,0x7E00,0xE060,0x6066,0x00F8,
  687.         0x7E10,0x7060,0x6066,0x00F8,0x7E18,0xE060,0x30C6,0x00F8,
  688.         0x7E17,0x8070,0x1F8E,0x00F8,0x7E00,0x0000,0x0000,0x00F8,
  689.         0x7E00,0x0000,0x0000,0x00F8,0x7E00,0x0000,0x0000,0x00F8,
  690.         0x7E00,0x0000,0x0000,0x00F8,0x7E00,0x0000,0x0000,0x00F8,
  691.         0x7E00,0x0000,0x0000,0x00F8,0x7E00,0x0000,0x0000,0x01F8,
  692.         0x7F00,0x0000,0x0000,0x03F8,0x7F80,0x0000,0x0000,0x07F8,
  693.         0x3FC0,0x0000,0x0000,0x0FF0,0x1FE0,0x0000,0x0000,0x1FE0,
  694.         0x0FF0,0x0000,0x0000,0x3FC0,0x07F8,0x0000,0x0000,0x7F80,
  695.         0x03FC,0x0000,0x0000,0xFF00,0x01FE,0x0000,0x0001,0xFE00,
  696.         0x00FF,0x0000,0x0003,0xFC00,0x007F,0x8000,0x0007,0xF800,
  697.         0x003F,0xC000,0x000F,0xF000,0x001F,0xE000,0x001F,0xE000,
  698.         0x000F,0xF000,0x003F,0xC000,0x0007,0xF800,0x007F,0x8000,
  699.         0x0003,0xFFFF,0xFFFF,0x0000,0x0001,0xFFFF,0xFFFE,0x0000,
  700.         0x0000,0xFFFF,0xFFFC,0x0000,0x0000,0x7FFF,0xFFF8,0x0000,
  701.         0x0000,0x0000,0x0000,0x0000
  702. };
  703.  
  704.  
  705. struct Image Stop = {
  706.         0,0,    /* XY origin relative to container TopLeft */
  707.         62,58,  /* Image width and height in pixels */
  708.         1,      /* number of bitplanes in Image */
  709.         StopData,     /* pointer to ImageData */
  710.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  711.         NULL    /* next Image structure */
  712. };
  713.  
  714.  
  715. struct Gadget GadgetStop = {
  716.         &Gadget45,      /* next gadget */
  717.         232,175, /* origin XY of hit box relative to window TopLeft */
  718.         62,58,  /* hit box width and height */
  719.         GADGHIMAGE+GADGIMAGE,   /* gadget flags */
  720.         GADGIMMEDIATE,     /* activation flags */
  721.         BOOLGADGET,     /* gadget type flags */
  722.         (APTR)&Stop, /* gadget border or image to be rendered */
  723.         NULL, /* alternate imagery for selection */
  724.         NULL,   /* first IntuiText structure */
  725.         NULL,   /* gadget mutual-exclude long word */
  726.         NULL,   /* SpecialInfo structure */
  727.         NULL,   /* user-definable data */
  728.         NULL    /* pointer to user-definable data */
  729. };
  730.  
  731.  
  732. USHORT chip KillData[] = {
  733.         0x0000,0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFF80,0x0000,
  734.         0x0001,0xFFFF,0xFFC0,0x0000,0x0003,0xFFFF,0xFFE0,0x0000,
  735.         0x0007,0xFFFF,0xFFF0,0x0000,0x000F,0xFFFF,0xFFF8,0x0000,
  736.         0x001F,0xE000,0x01FC,0x0000,0x003F,0xC000,0x00FE,0x0000,
  737.         0x007F,0x8000,0x007F,0x0000,0x00FF,0x0000,0x003F,0x8000,
  738.         0x01FE,0x0000,0x001F,0xC000,0x03FC,0x0000,0x000F,0xE000,
  739.         0x07F8,0x0000,0x0007,0xF000,0x0FF0,0x0000,0x0003,0xF800,
  740.         0x1FE0,0x0000,0x0001,0xFC00,0x3FC0,0x0000,0x0000,0xFE00,
  741.         0x7F80,0x0000,0x0000,0x7F00,0x7F00,0x0000,0x0000,0x3F00,
  742.         0x7E00,0x0000,0x0000,0x1F00,0x7C00,0x0000,0x0000,0x1F00,
  743.         0x7C00,0x0000,0x0000,0x1F00,0x7C00,0x0000,0x0000,0x1F00,
  744.         0x7C00,0x0000,0x0000,0x1F00,0x7C00,0x0000,0x0000,0x1F00,
  745.         0x7C00,0x0000,0x0000,0x1F00,0x7C00,0x0000,0x0000,0x1F00,
  746.         0x7C00,0x0000,0x0000,0x1F00,0x7C00,0x0000,0x0000,0x1F00,
  747.         0x7C00,0x0000,0x0000,0x1F00,0x7C03,0xC718,0x70E0,0x1F00,
  748.         0x7C01,0x8418,0x3060,0x1F00,0x7C01,0x8800,0x3060,0x1F00,
  749.         0x7C01,0x9038,0x3060,0x1F00,0x7C01,0xE018,0x3060,0x1F00,
  750.         0x7C01,0xB018,0x3060,0x1F00,0x7C01,0x9818,0x3060,0x1F00,
  751.         0x7C01,0x8C18,0x3060,0x1F00,0x7C03,0xCF3C,0x78F0,0x1F00,
  752.         0x7C00,0x0000,0x0000,0x1F00,0x7C00,0x0000,0x0000,0x1F00,
  753.         0x7C00,0x0000,0x0000,0x1F00,0x7C00,0x0000,0x0000,0x1F00,
  754.         0x7C00,0x0000,0x0000,0x1F00,0x7C00,0x0000,0x0000,0x1F00,
  755.         0x7C00,0x0000,0x0000,0x1F00,0x7C00,0x0000,0x0000,0x1F00,
  756.         0x7C00,0x0000,0x0000,0x1F00,0x7C00,0x0000,0x0000,0x1F00,
  757.         0x7C00,0x0000,0x0000,0x1F00,0x7C00,0x0000,0x0000,0x1F00,
  758.         0x7C00,0x0000,0x0000,0x1F00,0x7C00,0x0000,0x0000,0x1F00,
  759.         0x7C00,0x0000,0x0000,0x1F00,0x7C00,0x0000,0x0000,0x1F00,
  760.         0x7C00,0x0000,0x0000,0x1F00,0x7C00,0x0000,0x0000,0x1F00,
  761.         0x7E00,0x0000,0x0000,0x3F00,0x7FFF,0xFFFF,0xFFFF,0xFF00,
  762.         0x7FFF,0xFFFF,0xFFFF,0xFF00,0x3FFF,0xFFFF,0xFFFF,0xFE00,
  763.         0x3FFF,0xFFFF,0xFFFF,0xFE00,0x1FFF,0xFFFF,0xFFFF,0xF800,
  764.         0x0000,0x0000,0x0000,0x0000
  765. };
  766.  
  767.  
  768. struct Image Kill = {
  769.         0,0,    /* XY origin relative to container TopLeft */
  770.         57,63,  /* Image width and height in pixels */
  771.         1,      /* number of bitplanes in Image */
  772.         KillData,     /* pointer to ImageData */
  773.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  774.         NULL    /* next Image structure */
  775. };
  776.  
  777. struct Gadget GadgetKill = {
  778.         &GadgetStop,      /* next gadget */
  779.         30,170, /* origin XY of hit box relative to window TopLeft */
  780.         57,63,  /* hit box width and height */
  781.         GADGHIMAGE+GADGIMAGE,   /* gadget flags */
  782.         GADGIMMEDIATE,     /* activation flags */
  783.         BOOLGADGET,     /* gadget type flags */
  784.         (APTR)&Kill, /* gadget border or image to be rendered */
  785.         NULL, /* alternate imagery for selection */
  786.         NULL,   /* first IntuiText structure */
  787.         NULL,   /* gadget mutual-exclude long word */
  788.         NULL,   /* SpecialInfo structure */
  789.         NULL,   /* user-definable data */
  790.         NULL    /* pointer to user-definable data */
  791. };
  792.  
  793. /* Skip Image Data */
  794.  
  795. USHORT chip SkipData[] = {
  796.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x1FFF,0xFFFF,
  797.         0xFFFF,0xFFFF,0xFFFF,0xF000,0x3FFF,0xFFFF,0xFFFF,0xFFFF,
  798.         0xFFFF,0xF800,0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,
  799.         0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,0x7FFF,0xFFFF,
  800.         0xFFFF,0xFFFF,0xFFFF,0xFC00,0x7C00,0x0000,0x0000,0x0000,
  801.         0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0000,0x0000,0x7C00,
  802.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x7C00,0x7C00,0x0000,
  803.         0x0000,0x0000,0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0000,
  804.         0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0000,0x0000,0x7C00,
  805.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x7C00,0x7C00,0x000F,
  806.         0xAE00,0xC000,0x0000,0x7C00,0x7C00,0x0038,0x6600,0xC000,
  807.         0x0000,0x7C00,0x7C00,0x0070,0x2638,0x0000,0x0000,0x7C00,
  808.         0x7C00,0x001C,0x0621,0xC778,0x0000,0x7C00,0x7C00,0x0007,
  809.         0x0640,0xC38C,0x0000,0x7C00,0x7C00,0x0001,0xC780,0xC30C,
  810.         0x0000,0x7C00,0x7C00,0x0040,0xE6C0,0xC30C,0x0000,0x7C00,
  811.         0x7C00,0x0061,0xC660,0xC30C,0x0000,0x7C00,0x7C00,0x005F,
  812.         0x0F79,0xE3F8,0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0300,
  813.         0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0300,0x0000,0x7C00,
  814.         0x7C00,0x0000,0x0000,0x0780,0x0000,0x7C00,0x7C00,0x0000,
  815.         0x0000,0x0000,0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0000,
  816.         0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0000,0x0000,0x7C00,
  817.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x7C00,0x7C00,0x0000,
  818.         0x0000,0x0000,0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0000,
  819.         0x0000,0x7C00,0x7C00,0x0000,0x0000,0x0000,0x0000,0x7C00,
  820.         0x7C00,0x0000,0x0000,0x0000,0x0000,0x7C00,0x7FFF,0xFFFF,
  821.         0xFFFF,0xFFFF,0xFFFF,0xFC00,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
  822.         0xFFFF,0xFC00,0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,
  823.         0x3FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xF800,0x1FFF,0xFFFF,
  824.         0xFFFF,0xFFFF,0xFFFF,0xF000,0x0000,0x0000,0x0000,0x0000,
  825.         0x0000,0x0000
  826. };
  827.  
  828. struct Image Skip = {
  829.         0,0,    /* XY origin relative to container TopLeft */
  830.         87,39,  /* Image width and height in pixels */
  831.         2,      /* number of bitplanes in Image */
  832.         SkipData,     /* pointer to ImageData */
  833.         0x0001,0x0000,  /* PlanePick and PlaneOnOff */
  834.         NULL    /* next Image structure */
  835. };
  836.  
  837.  
  838. struct Gadget GadgetSkip = {
  839.         &GadgetKill,      /* next gadget */
  840.         120,186, /* origin XY of hit box relative to window TopLeft */
  841.         87,39,  /* hit box width and height */
  842.         GADGHIMAGE+GADGIMAGE,   /* gadget flags */
  843.         GADGIMMEDIATE,     /* activation flags */
  844.         BOOLGADGET,     /* gadget type flags */
  845.         (APTR)&Skip, /* gadget border or image to be rendered */
  846.         NULL, /* alternate imagery for selection */
  847.         NULL,   /* first IntuiText structure */
  848.         NULL,   /* gadget mutual-exclude long word */
  849.         NULL,   /* SpecialInfo structure */
  850.         NULL,   /* user-definable data */
  851.         NULL    /* pointer to user-definable data */
  852. };
  853.  
  854. extern struct Image Continue;
  855.  
  856. struct Gadget Gadget43 = {
  857.         &GadgetSkip,      /* next gadget */
  858.         330,180,        /* origin XY of hit box relative to window TopLeft */
  859.         99,43,  /* hit box width and height */
  860.         GADGHBOX+GADGHIMAGE+GADGIMAGE,  /* gadget flags */
  861.         GADGIMMEDIATE,  /* activation flags */
  862.         BOOLGADGET,     /* gadget type flags */
  863.         (APTR)&Continue, /* gadget border or image to be rendered */
  864.         NULL,   /* alternate imagery for selection */
  865.         NULL,   /* first IntuiText structure */
  866.         NULL,   /* gadget mutual-exclude long word */
  867.         NULL,   /* SpecialInfo structure */
  868.         NULL,   /* user-definable data */
  869.         NULL    /* pointer to user-definable data */
  870. };
  871.  
  872. struct IntuiText IText20 = {
  873.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  874.         320,57, /* XY origin relative to container TopLeft */
  875.         NULL,   /* font pointer or NULL for default */
  876.         "Point Type:",    /* pointer to text */
  877.         NULL        /* next IntuiText structure */
  878. };
  879.  
  880. struct IntuiText IText19 = {
  881.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  882.         52,147, /* XY origin relative to container TopLeft */
  883.         NULL,   /* font pointer or NULL for default */
  884.         "Point Size (1-20)",    /* pointer to text */
  885.         &IText20        /* next IntuiText structure */
  886. };
  887.  
  888. struct IntuiText IText18 = {
  889.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  890.         94,90, /* XY origin relative to container TopLeft */
  891.         NULL,   /* font pointer or NULL for default */
  892.         "Plot Data as", /* pointer to text */
  893.         &IText19        /* next IntuiText structure */
  894. };
  895. struct IntuiText IText17a = {
  896.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  897.         94,118, /* XY origin relative to container TopLeft */
  898.         NULL,   /* font pointer or NULL for default */
  899.         "Line Type", /* pointer to text */
  900.         &IText18        /* next IntuiText structure */
  901. };
  902.  
  903.  
  904. struct IntuiText IText17 = {
  905.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  906.         39,62, /* XY origin relative to container TopLeft */
  907.         NULL,   /* font pointer or NULL for default */
  908.         "  Select Colour -->",  /* pointer to text */
  909.         &IText17a        /* next IntuiText structure */
  910. };
  911.  
  912. struct IntuiText IText16 = {
  913.         1,0,JAM1,       /* front and back text pens, drawmode and fill byte */
  914.         152,22, /* XY origin relative to container TopLeft */
  915.         NULL,   /* font pointer or NULL for default */
  916.         NULL,       /* pointer to text */
  917.         &IText17        /* next IntuiText structure */
  918. };
  919.  
  920. char title1[]="                Custom Plot Window              ";
  921.  
  922. char SetText[20][18]={"First Data Set",
  923.                     "Second Data Set",
  924.                     "Third Data Set",
  925.                     "Fourth Data Set",
  926.                     "Fifth Data Set",
  927.                     "Sixth Data Set",
  928.                     "Seventh Data Set",
  929.                     "Eighth Data Set",
  930.                     "Nineth Data Set",
  931.                     "Tenth Data Set",
  932.                     "Eleventh Data Set",
  933.                     "Twelfth Data Set",
  934.                     "Thirteenth Set",
  935.                     "Fourteenth Set",
  936.                     "Fifteenth Set",
  937.                     "Sixteenth Set",
  938.                     "Seventeenth Set",
  939.                     "Eighteenth Set",
  940.                     "Nineteenth Set",
  941.                     "Next Data Set"};
  942.  
  943.  
  944.