home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / dirs / projmot_453.lzh / ProjMot / src / ggads.c < prev    next >
C/C++ Source or Header  |  1991-02-18  |  19KB  |  417 lines

  1. /*
  2.  * ggads.c (ProjMot)
  3.  * ~~~~~~~~~~~~~~~~~
  4.  * This is the image and gadget structures for Gwin
  5.  * © Copyright 1991 Christian E. Hopps
  6. */ 
  7.  
  8.  
  9. #include "lc:/compiler_headers/proto/all.h"
  10. USHORT chip ImageData1[] = {
  11.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0400,0x5555,
  12.     0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
  13.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
  14.     0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xAAAA,0xAAAA,
  15.     0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5FDD,0x5555,0x5555,
  16.     0x5555,0x5400,0x2AAA,0xAAAA,0xBBEE,0xAAAA,0xAAAA,0xAAAA,
  17.     0xAC00,0x5555,0x5555,0x75DD,0x5555,0x5555,0x5555,0x5400,
  18.     0x2AAA,0xAAAA,0xEAEE,0xFBEF,0xEAAA,0xAAAA,0xAC00,0x5555,
  19.     0x5555,0x755D,0xDFF7,0xD555,0x5555,0x5400,0x2AAA,0xAAAA,
  20.     0xEAAF,0xFAFB,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x755D,
  21.     0xD5F7,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xFAEF,0xABBB,
  22.     0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x7DDD,0xDFF7,0x5555,
  23.     0x5555,0x5400,0x2AAA,0xAAAA,0xBFBE,0xFBFF,0xAAAA,0xAAAA,
  24.     0xAC00,0x5555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,
  25.     0x2AAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,
  26.     0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
  27.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
  28.     0x5555,0x5555,0x5555,0x5400,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
  29.     0xFFFF,0xFFFF,0xFC00,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  30.     0xFFFF,0xF800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
  31.     0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
  32.     0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0xAAAA,
  33.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,
  34.     0x4001,0x5555,0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0x8222,
  35.     0xAAAA,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,0x4511,0x5555,
  36.     0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0x8A22,0x0A08,0x0AAA,
  37.     0xAAAA,0xA800,0xD555,0x5555,0x1550,0x4444,0x5555,0x5555,
  38.     0x5000,0xAAAA,0xAAAA,0x8AA2,0x0288,0xAAAA,0xAAAA,0xA800,
  39.     0xD555,0x5555,0x1550,0x5404,0x5555,0x5555,0x5000,0xAAAA,
  40.     0xAAAA,0x8A22,0x2888,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,
  41.     0x4450,0x1044,0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xA0A0,
  42.     0x0200,0x2AAA,0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,
  43.     0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,
  44.     0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
  45.     0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
  46.     0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0x8000,
  47.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
  48. };
  49.  
  50. struct Image Image1 = {
  51.     0,0,    /* XY origin relative to container TopLeft */
  52.     102,21,    /* Image width and height in pixels */
  53.     2,    /* number of bitplanes in Image */
  54.     ImageData1,    /* pointer to ImageData */
  55.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  56.     NULL    /* next Image structure */
  57. };
  58.  
  59. struct Gadget Gadget6 = {            /*Clear*/
  60.     NULL,    /* next gadget */
  61.     115,18,    /* origin XY of hit box relative to window TopLeft */
  62.     102,21,    /* hit box width and height */
  63.     GADGHCOMP|GADGIMAGE,    /* gadget flags */
  64.     RELVERIFY,    /* activation flags */
  65.     BOOLGADGET,    /* gadget type flags */
  66.     (APTR)&Image1,    /* gadget border or image to be rendered */
  67.     NULL,    /* alternate imagery for selection */
  68.     NULL,    /* first IntuiText structure */
  69.     NULL,    /* gadget mutual-exclude long word */
  70.     NULL,    /* SpecialInfo structure */
  71.     5,    /* user-definable data */
  72.     NULL    /* pointer to user-definable data */
  73. };
  74.  
  75. USHORT chip ImageData2[] = {
  76.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0400,0x5555,
  77.     0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
  78.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
  79.     0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xAAAA,0xAAAA,
  80.     0xAAAA,0xAAAA,0xAC00,0x5555,0x557D,0xF55F,0x5555,0xD555,
  81.     0x5555,0x5400,0x2AAA,0xAABA,0xEAAE,0xAAAA,0xEAAA,0xAAAA,
  82.     0xAC00,0x5555,0x555D,0xF557,0x5555,0x5D55,0x5555,0x5400,
  83.     0x2AAA,0xAAAE,0xEBEE,0xBEFB,0xFFFE,0xAAAA,0xAC00,0x5555,
  84.     0x555D,0xD777,0x7FFD,0xDDDD,0x5555,0x5400,0x2AAA,0xAAAF,
  85.     0xEFEE,0xEEEA,0xEEEE,0xAAAA,0xAC00,0x5555,0x5557,0xD757,
  86.     0x77D5,0xDD7D,0x5555,0x5400,0x2AAA,0xAAAF,0xAEAE,0xEEEA,
  87.     0xEEFA,0xAAAA,0xAC00,0x5555,0x5557,0x5777,0x7FF7,0xDD75,
  88.     0x5555,0x5400,0x2AAA,0xAAAB,0xABEF,0xBEFF,0xEFFA,0xAAAA,
  89.     0xAC00,0x5555,0x5555,0x5555,0x5555,0x5575,0x5555,0x5400,
  90.     0x2AAA,0xAAAA,0xAAAA,0xAAAA,0xABEA,0xAAAA,0xAC00,0x5555,
  91.     0x5555,0x5555,0x5555,0x55D5,0x5555,0x5400,0x2AAA,0xAAAA,
  92.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
  93.     0x5555,0x5555,0x5555,0x5400,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
  94.     0xFFFF,0xFFFF,0xFC00,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  95.     0xFFFF,0xF800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
  96.     0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
  97.     0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0xAAAA,
  98.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,0xD555,0x5541,
  99.     0x0551,0x5555,0x1555,0x5555,0x5000,0xAAAA,0xAAA2,0x8AA8,
  100.     0xAAAA,0x2AAA,0xAAAA,0xA800,0xD555,0x5541,0x1551,0x5555,
  101.     0x5155,0x5555,0x5000,0xAAAA,0xAAA2,0x2828,0x8282,0x2000,
  102.     0xAAAA,0xA800,0xD555,0x5551,0x1111,0x0111,0x1111,0x5555,
  103.     0x5000,0xAAAA,0xAAA0,0x2808,0x882A,0x2222,0xAAAA,0xA800,
  104.     0xD555,0x5550,0x5151,0x1115,0x1105,0x5555,0x5000,0xAAAA,
  105.     0xAAA8,0x28A8,0x882A,0x2282,0xAAAA,0xA800,0xD555,0x5554,
  106.     0x5041,0x0111,0x1145,0x5555,0x5000,0xAAAA,0xAAA8,0xA800,
  107.     0x8282,0x088A,0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,
  108.     0x5515,0x5555,0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAA0A,
  109.     0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,0x5415,0x5555,
  110.     0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
  111.     0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0x8000,
  112.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
  113. };
  114.  
  115. struct Image Image2 = {
  116.     0,0,    /* XY origin relative to container TopLeft */
  117.     102,21,    /* Image width and height in pixels */
  118.     2,    /* number of bitplanes in Image */
  119.     ImageData2,    /* pointer to ImageData */
  120.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  121.     NULL    /* next Image structure */
  122. };
  123.  
  124. struct Gadget Gadget5 = {        /*Velocity*/
  125.     &Gadget6,    /* next gadget */
  126.     9,41,    /* origin XY of hit box relative to window TopLeft */
  127.     102,21,    /* hit box width and height */
  128.     GADGHCOMP|GADGIMAGE,    /* gadget flags */
  129.     RELVERIFY,    /* activation flags */
  130.     BOOLGADGET,    /* gadget type flags */
  131.     (APTR)&Image2,    /* gadget border or image to be rendered */
  132.     NULL,    /* alternate imagery for selection */
  133.     NULL,    /* first IntuiText structure */
  134.     NULL,    /* gadget mutual-exclude long word */
  135.     NULL,    /* SpecialInfo structure */
  136.     4,    /* user-definable data */
  137.     NULL    /* pointer to user-definable data */
  138. };
  139.  
  140. USHORT chip ImageData3[] = {
  141.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0400,0x5555,
  142.     0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
  143.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
  144.     0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xAAAA,0xAAAA,
  145.     0xAAAA,0xAAAA,0xAC00,0x5555,0x5755,0x5555,0x57FD,0xD555,
  146.     0x5555,0x5400,0x2AAA,0xABAA,0xAAAA,0xAEFB,0xAAAA,0xAAAA,
  147.     0xAC00,0x5555,0x57D5,0x5555,0x57DD,0x5555,0x5555,0x5400,
  148.     0x2AAA,0xAFAB,0xEFAA,0xAAEB,0xBFFB,0xEAAA,0xAC00,0x5555,
  149.     0x5DD7,0x7FD5,0x55D5,0xDFFF,0x7555,0x5400,0x2AAA,0xAEEE,
  150.     0xAEAA,0xAAEB,0xBBBF,0xEAAA,0xAC00,0x5555,0x5FD7,0x5D55,
  151.     0x55D5,0xDDDF,0x5555,0x5400,0x2AAA,0xBAEE,0xAEAA,0xAAEB,
  152.     0xBBBE,0xAAAA,0xAC00,0x5555,0x5D77,0x7F7D,0x55D5,0xDDDF,
  153.     0x7555,0x5400,0x2AAA,0xBEFB,0xEFEE,0xABEB,0xFFFF,0xEAAA,
  154.     0xAC00,0x5555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,
  155.     0x2AAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,
  156.     0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
  157.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
  158.     0x5555,0x5555,0x5555,0x5400,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
  159.     0xFFFF,0xFFFF,0xFC00,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  160.     0xFFFF,0xF800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
  161.     0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
  162.     0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0xAAAA,
  163.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,0xD555,0x5455,
  164.     0x5555,0x5004,0x5555,0x5555,0x5000,0xAAAA,0xA8AA,0xAAAA,
  165.     0xA822,0x2AAA,0xAAAA,0xA800,0xD555,0x5055,0x5555,0x5105,
  166.     0x5555,0x5555,0x5000,0xAAAA,0xA828,0x282A,0xAA28,0x0008,
  167.     0x2AAA,0xA800,0xD555,0x5110,0x1115,0x5514,0x4001,0x1555,
  168.     0x5000,0xAAAA,0xA228,0xA2AA,0xAA2A,0x2220,0x0AAA,0xA800,
  169.     0xD555,0x5011,0x5155,0x5514,0x4441,0x5555,0x5000,0xAAAA,
  170.     0xA288,0xA2AA,0xAA2A,0x2220,0xAAAA,0xA800,0xD555,0x4510,
  171.     0x4111,0x5514,0x4440,0x4555,0x5000,0xAAAA,0x8208,0x0822,
  172.     0xAA08,0x0000,0x0AAA,0xA800,0xD555,0x5555,0x5555,0x5555,
  173.     0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,
  174.     0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
  175.     0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
  176.     0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0x8000,
  177.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
  178. };
  179.  
  180. struct Image Image3 = {
  181.     0,0,    /* XY origin relative to container TopLeft */
  182.     102,21,    /* Image width and height in pixels */
  183.     2,    /* number of bitplanes in Image */
  184.     ImageData3,    /* pointer to ImageData */
  185.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  186.     NULL    /* next Image structure */
  187. };
  188.  
  189. struct Gadget Gadget4 = {                /*Acctime*/
  190.     &Gadget5,    /* next gadget */
  191.     115,41,    /* origin XY of hit box relative to window TopLeft */
  192.     102,21,    /* hit box width and height */
  193.     GADGHCOMP|GADGIMAGE,    /* gadget flags */
  194.     RELVERIFY,    /* activation flags */
  195.     BOOLGADGET,    /* gadget type flags */
  196.     (APTR)&Image3,    /* gadget border or image to be rendered */
  197.     NULL,    /* alternate imagery for selection */
  198.     NULL,    /* first IntuiText structure */
  199.     NULL,    /* gadget mutual-exclude long word */
  200.     NULL,    /* SpecialInfo structure */
  201.     3,    /* user-definable data */
  202.     NULL    /* pointer to user-definable data */
  203. };
  204.  
  205. USHORT chip ImageData4[] = {
  206.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0400,0x5555,
  207.     0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
  208.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
  209.     0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xAAAA,0xAAAA,
  210.     0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x57FF,0x5555,0xD555,
  211.     0x5555,0x5400,0x2AAA,0xAAAA,0xABBB,0xAAAB,0xAAAA,0xAAAA,
  212.     0xAC00,0x5555,0x5555,0x5755,0x5555,0xD555,0x5555,0x5400,
  213.     0x2AAA,0xAAAA,0xABBF,0xFFEB,0xAAAA,0xAAAA,0xAC00,0x5555,
  214.     0x5555,0x57F7,0x7F75,0xD555,0x5555,0x5400,0x2AAA,0xAAAA,
  215.     0xABBB,0xBBFB,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5757,
  216.     0x7755,0xD555,0x5555,0x5400,0x2AAA,0xAAAA,0xABAB,0xBBAA,
  217.     0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5757,0x77DD,0xD555,
  218.     0x5555,0x5400,0x2AAA,0xAAAA,0xAFAF,0xFBFB,0xAAAA,0xAAAA,
  219.     0xAC00,0x5555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,
  220.     0x2AAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,
  221.     0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
  222.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
  223.     0x5555,0x5555,0x5555,0x5400,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
  224.     0xFFFF,0xFFFF,0xFC00,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  225.     0xFFFF,0xF800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
  226.     0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
  227.     0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0xAAAA,
  228.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,
  229.     0x5004,0x5554,0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xA8A0,
  230.     0xAAAA,0x2AAA,0xAAAA,0xA800,0xD555,0x5555,0x5455,0x5554,
  231.     0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xA888,0x800A,0x2AAA,
  232.     0xAAAA,0xA800,0xD555,0x5555,0x5404,0x4444,0x5555,0x5555,
  233.     0x5000,0xAAAA,0xAAAA,0xA888,0x880A,0x2AAA,0xAAAA,0xA800,
  234.     0xD555,0x5555,0x5454,0x4454,0x5555,0x5555,0x5000,0xAAAA,
  235.     0xAAAA,0xA8A8,0x88AA,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,
  236.     0x5454,0x4444,0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xA828,
  237.     0x020A,0x2AAA,0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,
  238.     0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,
  239.     0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
  240.     0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
  241.     0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0x8000,
  242.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
  243. };
  244.  
  245. struct Image Image4 = {
  246.     0,0,    /* XY origin relative to container TopLeft */
  247.     102,21,    /* Image width and height in pixels */
  248.     2,    /* number of bitplanes in Image */
  249.     ImageData4,    /* pointer to ImageData */
  250.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  251.     NULL    /* next Image structure */
  252. };
  253.  
  254. struct Gadget Gadget3 = {            /*Fire*/
  255.     &Gadget4,    /* next gadget */
  256.     115,64,    /* origin XY of hit box relative to window TopLeft */
  257.     102,21,    /* hit box width and height */
  258.     GADGHCOMP|GADGIMAGE,    /* gadget flags */
  259.     RELVERIFY,    /* activation flags */
  260.     BOOLGADGET,    /* gadget type flags */
  261.     (APTR)&Image4,    /* gadget border or image to be rendered */
  262.     NULL,    /* alternate imagery for selection */
  263.     NULL,    /* first IntuiText structure */
  264.     NULL,    /* gadget mutual-exclude long word */
  265.     NULL,    /* SpecialInfo structure */
  266.     2,    /* user-definable data */
  267.     NULL    /* pointer to user-definable data */
  268. };
  269.  
  270. USHORT chip ImageData5[] = {
  271.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0400,0x5555,
  272.     0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
  273.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
  274.     0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xAAAA,0xAAAA,
  275.     0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5FD5,0x5575,0x5555,
  276.     0x5555,0x5400,0x2AAA,0xAAAA,0xBFEA,0xAABA,0xAAAA,0xAAAA,
  277.     0xAC00,0x5555,0x5555,0x5DD5,0x5575,0x5555,0x5555,0x5400,
  278.     0x2AAA,0xAAAA,0xBEAF,0xBEBB,0xEAAA,0xAAAA,0xAC00,0x5555,
  279.     0x5555,0x5F5D,0xFF77,0x7555,0x5555,0x5400,0x2AAA,0xAAAA,
  280.     0xABBA,0xAFBF,0xEAAA,0xAAAA,0xAC00,0x5555,0x5555,0x55DD,
  281.     0x5F77,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xBAFA,0xBBBE,
  282.     0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5DDD,0xFF77,0x7555,
  283.     0x5555,0x5400,0x2AAA,0xAAAA,0xBFAF,0xBFFB,0xEAAA,0xAAAA,
  284.     0xAC00,0x5555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,
  285.     0x2AAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,
  286.     0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
  287.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
  288.     0x5555,0x5555,0x5555,0x5400,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
  289.     0xFFFF,0xFFFF,0xFC00,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  290.     0xFFFF,0xF800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
  291.     0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
  292.     0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0xAAAA,
  293.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,
  294.     0x5015,0x5505,0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xA22A,
  295.     0xAA8A,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,0x4515,0x5545,
  296.     0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xA2A0,0xA088,0x2AAA,
  297.     0xAAAA,0xA800,0xD555,0x5555,0x5040,0x4441,0x1555,0x5555,
  298.     0x5000,0xAAAA,0xAAAA,0xA822,0xA888,0x0AAA,0xAAAA,0xA800,
  299.     0xD555,0x5555,0x5505,0x4041,0x5555,0x5555,0x5000,0xAAAA,
  300.     0xAAAA,0xA222,0x8888,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,
  301.     0x4001,0x0440,0x4555,0x5555,0x5000,0xAAAA,0xAAAA,0xA020,
  302.     0x2000,0x0AAA,0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,
  303.     0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,
  304.     0xAAAA,0xA800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
  305.     0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
  306.     0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0x8000,
  307.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
  308. };
  309.  
  310. struct Image Image5 = {
  311.     0,0,    /* XY origin relative to container TopLeft */
  312.     102,21,    /* Image width and height in pixels */
  313.     2,    /* number of bitplanes in Image */
  314.     ImageData5,    /* pointer to ImageData */
  315.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  316.     NULL    /* next Image structure */
  317. };
  318.  
  319. struct Gadget Gadget2 = {                /*Scale*/
  320.     &Gadget3,    /* next gadget */
  321.     9,18,    /* origin XY of hit box relative to window TopLeft */
  322.     102,21,    /* hit box width and height */
  323.     GADGHCOMP|GADGIMAGE,    /* gadget flags */
  324.     RELVERIFY,    /* activation flags */
  325.     BOOLGADGET,    /* gadget type flags */
  326.     (APTR)&Image5,    /* gadget border or image to be rendered */
  327.     NULL,    /* alternate imagery for selection */
  328.     NULL,    /* first IntuiText structure */
  329.     NULL,    /* gadget mutual-exclude long word */
  330.     NULL,    /* SpecialInfo structure */
  331.     1,    /* user-definable data */
  332.     NULL    /* pointer to user-definable data */
  333. };
  334.  
  335. USHORT chip ImageData6[] = {
  336.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0400,0x5555,
  337.     0x5555,0x5555,0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
  338.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
  339.     0x5555,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xAAAA,0xAAAA,
  340.     0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5D55,0x55F5,0x5555,
  341.     0x5555,0x5400,0x2AAA,0xAAAA,0xBAAA,0xAAEA,0xAAAA,0xAAAA,
  342.     0xAC00,0x5555,0x5555,0x7D55,0x5575,0x5555,0x5555,0x5400,
  343.     0x2AAA,0xAAAA,0xBEBF,0xBEEF,0xAAAA,0xAAAA,0xAC00,0x5555,
  344.     0x5555,0x775F,0xFD7D,0xD555,0x5555,0x5400,0x2AAA,0xAAAA,
  345.     0xEEBB,0xEEEF,0xEAAA,0xAAAA,0xAC00,0x5555,0x5555,0x7F5D,
  346.     0xF77D,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,0xEBBB,0xBEEE,
  347.     0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0xD75D,0xF57F,0x7555,
  348.     0x5555,0x5400,0x2AAA,0xAAAB,0xEFBF,0xFEFF,0xEAAA,0xAAAA,
  349.     0xAC00,0x5555,0x5555,0x5555,0x7755,0x5555,0x5555,0x5400,
  350.     0x2AAA,0xAAAA,0xAAAA,0xFFAA,0xAAAA,0xAAAA,0xAC00,0x5555,
  351.     0x5555,0x5555,0x7F55,0x5555,0x5555,0x5400,0x2AAA,0xAAAA,
  352.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAC00,0x5555,0x5555,0x5555,
  353.     0x5555,0x5555,0x5555,0x5400,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
  354.     0xFFFF,0xFFFF,0xFC00,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  355.     0xFFFF,0xF800,0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,
  356.     0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
  357.     0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0xAAAA,
  358.     0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,
  359.     0x4555,0x5515,0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xA2AA,
  360.     0xAA8A,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,0x4155,0x5515,
  361.     0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0x8280,0x8088,0x2AAA,
  362.     0xAAAA,0xA800,0xD555,0x5555,0x1140,0x0111,0x1555,0x5555,
  363.     0x5000,0xAAAA,0xAAAA,0x88A2,0x0880,0x2AAA,0xAAAA,0xA800,
  364.     0xD555,0x5555,0x0144,0x0111,0x5555,0x5555,0x5000,0xAAAA,
  365.     0xAAAA,0x28A2,0x0282,0xAAAA,0xAAAA,0xA800,0xD555,0x5555,
  366.     0x1444,0x4511,0x1555,0x5555,0x5000,0xAAAA,0xAAAA,0x0800,
  367.     0x0008,0x2AAA,0xAAAA,0xA800,0xD555,0x5555,0x5555,0x1455,
  368.     0x5555,0x5555,0x5000,0xAAAA,0xAAAA,0xAAAA,0x88AA,0xAAAA,
  369.     0xAAAA,0xA800,0xD555,0x5555,0x5555,0x4155,0x5555,0x5555,
  370.     0x5000,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xAAAA,0xA800,
  371.     0xD555,0x5555,0x5555,0x5555,0x5555,0x5555,0x5000,0x8000,
  372.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
  373. };
  374.  
  375. struct Image Image6 = {
  376.     0,0,    /* XY origin relative to container TopLeft */
  377.     102,21,    /* Image width and height in pixels */
  378.     2,    /* number of bitplanes in Image */
  379.     ImageData6,    /* pointer to ImageData */
  380.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  381.     NULL    /* next Image structure */
  382. };
  383.  
  384. struct Gadget Gadget1 = {            /*Angle*/
  385.     &Gadget2,    /* next gadget */
  386.     9,64,    /* origin XY of hit box relative to window TopLeft */
  387.     102,21,    /* hit box width and height */
  388.     GADGHCOMP|GADGIMAGE,    /* gadget flags */
  389.     RELVERIFY,    /* activation flags */
  390.     BOOLGADGET,    /* gadget type flags */
  391.     (APTR)&Image6,    /* gadget border or image to be rendered */
  392.     NULL,    /* alternate imagery for selection */
  393.     NULL,    /* first IntuiText structure */
  394.     NULL,    /* gadget mutual-exclude long word */
  395.     NULL,    /* SpecialInfo structure */
  396.     0,    /* user-definable data */
  397.     NULL    /* pointer to user-definable data */
  398. };
  399.  
  400. #define GadgetList1 Gadget1
  401.  
  402.  
  403. struct NewWindow NewWindowStructure2 = {
  404.     250,15,    /* window XY origin relative to TopLeft of screen */
  405.     227,90,    /* window width and height */
  406.     0,1,    /* detail and block pens */
  407.     GADGETUP,    /* IDCMP flags */
  408.     WINDOWDRAG+ACTIVATE+NOCAREREFRESH,    /* other window flags */
  409.     NULL,    /* first gadget in gadget list */
  410.     NULL,    /* custom CHECKMARK imagery */
  411.     "Select Window",    /* window title */
  412.     NULL,    /* custom screen pointer */
  413.     NULL,    /* custom bitmap */
  414.     5,5,    /* minimum width and height */
  415.     -1,-1,    /* maximum width and height */
  416.     WBENCHSCREEN    /* destination screen type */
  417. };