home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 508.lha / IR_RemoteCntrl_AREXX_゚eta / IRMaster.h < prev    next >
C/C++ Source or Header  |  1991-05-06  |  40KB  |  1,131 lines

  1.  
  2. struct NewScreen NewScreenStructure = {
  3.     0,0,    /* screen XY origin relative to View */
  4.     640,200,    /* screen width and height */
  5.     4,    /* screen depth (number of bitplanes) */
  6.     0,1,    /* detail and block pens */
  7.     HIRES,    /* display modes for this screen */
  8.     CUSTOMSCREEN,    /* screen type */
  9.     NULL,    /* pointer to default screen font */
  10.     "IRMaster V1.0",    /* screen title */
  11.     NULL,    /* first in list of custom screen gadgets */
  12.     NULL    /* pointer to custom BitMap structure */
  13. };
  14.  
  15. USHORT Palette[] = {
  16.     0x0888,    /* color #0 */
  17.     0x0FFF,    /* color #1 */
  18.     0x0F00,    /* color #2 */
  19.     0x000C,    /* color #3 */
  20.     0x0048,    /* color #4 */
  21.     0x007D,    /* color #5 */
  22.     0x00AD,    /* color #6 */
  23.     0x00CF,    /* color #7 */
  24.     0x0009,    /* color #8 */
  25.     0x0A0F,    /* color #9 */
  26.     0x0950,    /* color #10 */
  27.     0x0333,    /* color #11 */
  28.     0x0555,    /* color #12 */
  29.     0x0777,    /* color #13 */
  30.     0x0AAA,    /* color #14 */
  31.     0x0CCC    /* color #15 */
  32. #define PaletteColorCount 16
  33. };
  34.  
  35. UBYTE chip commandstr3SIBuff[100] = "\0";
  36. struct StringInfo commandstr3SInfo = {
  37.     commandstr3SIBuff,    /* buffer where text will be edited */
  38.     NULL,    /* optional undo buffer */
  39.     0,    /* character position in buffer */
  40.     100,    /* maximum number of characters to allow */
  41.     0,    /* first displayed character buffer position */
  42.     0,0,0,0,0,    /* Intuition initialized and maintained variables */
  43.     0,    /* Rastport of gadget */
  44.     0,    /* initial value for integer gadgets */
  45.     NULL    /* alternate keymap (fill in if you set the flag) */
  46. };
  47.  
  48. SHORT chip BorderVectors1[] = {
  49.     0,0,
  50.     201,0,
  51.     201,10,
  52.     0,10,
  53.     0,0
  54. };
  55. struct Border Border1 = {
  56.     -1,-1,    /* XY origin relative to container TopLeft */
  57.     3,0,JAM1,    /* front pen, back pen and drawmode */
  58.     5,    /* number of XY vectors */
  59.     BorderVectors1,    /* pointer to XY vectors */
  60.     NULL    /* next border in list */
  61. };
  62.  
  63. struct IntuiText IText1 = {
  64.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  65.     -67,1,    /* XY origin relative to container TopLeft */
  66.     NULL,    /* font pointer or NULL for default */
  67.     "ADDRESS:",    /* pointer to text */
  68.     NULL    /* next IntuiText structure */
  69. };
  70.  
  71. #define COMMANDSTR3 100
  72.  
  73. struct Gadget commandstr3 = {
  74.     NULL,    /* next gadget */
  75.     421,141,    /* origin XY of hit box relative to window TopLeft */
  76.     200,9,    /* hit box width and height */
  77.     GADGHCOMP,    /* gadget flags */
  78.     RELVERIFY,    /* activation flags */
  79.     STRGADGET,    /* gadget type flags */
  80.     (APTR)&Border1,    /* gadget border or image to be rendered */
  81.     NULL,    /* alternate imagery for selection */
  82.     &IText1,    /* first IntuiText structure */
  83.     NULL,    /* gadget mutual-exclude long word */
  84.     (APTR)&commandstr3SInfo,    /* SpecialInfo structure */
  85.     COMMANDSTR3,    /* user-definable data */
  86.     NULL    /* pointer to user-definable data */
  87. };
  88.  
  89. UBYTE chip commandstr1SIBuff[100] = "\0";
  90. struct StringInfo commandstr1SInfo = {
  91.     &commandstr1SIBuff[0],    /* buffer where text will be edited */
  92.     NULL,    /* optional undo buffer */
  93.     0,    /* character position in buffer */
  94.     100,    /* maximum number of characters to allow */
  95.     0,    /* first displayed character buffer position */
  96.     0,1,NULL,NULL,NULL,    /* Intuition initialized and maintained variables */
  97.     NULL,    /* Rastport of gadget */
  98.     NULL,    /* initial value for integer gadgets */
  99.     NULL    /* alternate keymap (fill in if you set the flag) */
  100. };
  101.  
  102. SHORT chip BorderVectors2[] = {
  103.     0,0,
  104.     483,0,
  105.     483,10,
  106.     0,10,
  107.     0,0
  108. };
  109. struct Border Border2 = {
  110.     -1,-1,    /* XY origin relative to container TopLeft */
  111.     3,0,JAM1,    /* front pen, back pen and drawmode */
  112.     5,    /* number of XY vectors */
  113.     BorderVectors2,    /* pointer to XY vectors */
  114.     NULL    /* next border in list */
  115. };
  116.  
  117. #define COMMANDSTR1 99
  118.  
  119. struct Gadget commandstr1 = {
  120.     /*&commandstr3,    */ /* next gadget */
  121.     NULL,    /* next gadget */
  122.     138,141,    /* origin XY of hit box relative to window TopLeft */
  123.     482,9,    /* hit box width and height */
  124.     GADGHCOMP,    /* gadget flags */
  125.     RELVERIFY,    /* activation flags */
  126.     STRGADGET,    /* gadget type flags */
  127.     (APTR)&Border2,    /* gadget border or image to be rendered */
  128.     NULL,    /* alternate imagery for selection */
  129.     NULL,    /* first IntuiText structure */
  130.     NULL,    /* gadget mutual-exclude long word */
  131.     (APTR)&commandstr1SInfo,    /* SpecialInfo structure */
  132.     COMMANDSTR1,    /* user-definable data */
  133.     NULL    /* pointer to user-definable data */
  134. };
  135.  
  136.  
  137. UBYTE chip commandstr2SIBuff[100] = "\0";
  138. struct StringInfo commandstr2SInfo = {
  139.     commandstr2SIBuff,    /* buffer where text will be edited */
  140.     NULL,    /* optional undo buffer */
  141.     0,    /* character position in buffer */
  142.     100,    /* 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 chip BorderVectors3[] = {
  151.     0,0,
  152.     201,0,
  153.     201,10,
  154.     0,10,
  155.     0,0
  156. };
  157. struct Border Border3 = {
  158.     -1,-1,    /* XY origin relative to container TopLeft */
  159.     3,0,JAM1,    /* front pen, back pen and drawmode */
  160.     5,    /* number of XY vectors */
  161.     BorderVectors3,    /* pointer to XY vectors */
  162.     NULL    /* next border in list */
  163. };
  164.  
  165. #define COMMANDSTR2 98
  166.  
  167. struct Gadget commandstr2 = {
  168.     &commandstr1,    /* next gadget */
  169.     141,141,    /* origin XY of hit box relative to window TopLeft */
  170.     200,9,    /* hit box width and height */
  171.     GADGHCOMP,    /* gadget flags */
  172.     RELVERIFY,    /* activation flags */
  173.     STRGADGET,    /* gadget type flags */
  174.     (APTR)&Border3,    /* gadget border or image to be rendered */
  175.     NULL,    /* alternate imagery for selection */
  176.     NULL,    /* first IntuiText structure */
  177.     NULL,    /* gadget mutual-exclude long word */
  178.     (APTR)&commandstr2SInfo,    /* SpecialInfo structure */
  179.     COMMANDSTR2,    /* user-definable data */
  180.     NULL    /* pointer to user-definable data */
  181. };
  182.  
  183. USHORT chip ImageData1[] = {
  184.     0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xF000,0x1FFF,0xFFFF,0xFFFF,
  185.     0xFFFF,0xF000,0x0FFF,0xFFFF,0xFFFF,0xFFFF,0xF000,0x0FFF,
  186.     0xFFFF,0xFFFF,0xFFFF,0xF000,0x0FFF,0xFFFF,0xFFFF,0xFFFF,
  187.     0xF000,0x0FFF,0xFFFF,0xFFFF,0xFFFF,0xF000,0x0FFF,0xFFFF,
  188.     0xFFFF,0xFFFF,0xF000,0x0FFF,0xFFFF,0xFFFF,0xFFFF,0xF000,
  189.     0x0FFF,0xFFFF,0xFFFF,0xFFFF,0xF000,0x0FFF,0xFFFF,0xFFFF,
  190.     0xFFFF,0xF000,0x0FFF,0xFFFF,0xFFFF,0xFFFF,0xF000,0x0FFF,
  191.     0xFFFF,0xFFFF,0xFFFF,0xF000,0x0000,0x0000,0x0000,0x0000,
  192.     0x3000,0x0000,0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFFF,
  193.     0xFFFF,0xFFFF,0xF000,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xF000,
  194.     0xF000,0x0000,0x0000,0x0000,0xF000,0xF000,0x0000,0x0000,
  195.     0x0000,0xF000,0xF000,0x0000,0x0000,0x0000,0xF000,0xF000,
  196.     0x0000,0x0000,0x0000,0xF000,0xF000,0x0000,0x0000,0x0000,
  197.     0xF000,0xF000,0x0000,0x0000,0x0000,0xF000,0xF000,0x0000,
  198.     0x0000,0x0000,0xF000,0xF000,0x0000,0x0000,0x0000,0xF000,
  199.     0xF000,0x0000,0x0000,0x0000,0xF000,0xF000,0x0000,0x0000,
  200.     0x0000,0xF000,0xE000,0x0000,0x0000,0x0000,0x3000,0x8000,
  201.     0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  202.     0xF000,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xC000,0xFFFF,0xFFFF,
  203.     0xFFFF,0xFFFF,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0x0000,
  204.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0x0000,0xFFFF,0xFFFF,0xFFFF,
  205.     0xFFFF,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0x0000,0xFFFF,
  206.     0xFFFF,0xFFFF,0xFFFF,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  207.     0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0x0000,0xFFFF,0xFFFF,
  208.     0xFFFF,0xFFFF,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0x0000,
  209.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xC000,0xFFFF,0xFFFF,0xFFFF,
  210.     0xFFFF,0xF000
  211. };
  212.  
  213. struct Image Image1 = {
  214.     0,0,    /* XY origin relative to container TopLeft */
  215.     68,14,    /* Image width and height in pixels */
  216.     4,    /* number of bitplanes in Image */
  217.     ImageData1,    /* pointer to ImageData */
  218.     0x0007,0x0000,    /* PlanePick and PlaneOnOff */
  219.     NULL    /* next Image structure */
  220. };
  221.  
  222. USHORT chip ImageData2[] = {
  223.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  224.     0x0000,0x0000,0x07FF,0xFFFF,0xFFFF,0xFFFF,0x0000,0x07FF,
  225.     0xFFFF,0xFFFF,0xFFFF,0x0000,0x07FF,0xFFFF,0xFFFF,0xFFFF,
  226.     0x0000,0x07FF,0xFFFF,0xFFFF,0xFFFF,0x0000,0x07FF,0xFFFF,
  227.     0xFFFF,0xFFFF,0x0000,0x07FF,0xFFFF,0xFFFF,0xFFFF,0x0000,
  228.     0x07FF,0xFFFF,0xFFFF,0xFFFF,0x0000,0x07FF,0xFFFF,0xFFFF,
  229.     0xFFFF,0x0000,0x07FF,0xFFFF,0xFFFF,0xFFFF,0x0000,0x07FF,
  230.     0xFFFF,0xFFFF,0xFFFF,0x0000,0x1FFF,0xFFFF,0xFFFF,0xFFFF,
  231.     0xC000,0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xF000,0x0000,0x0000,
  232.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x3000,
  233.     0x07FF,0xFFFF,0xFFFF,0xFFFF,0xF000,0x07FF,0xFFFF,0xFFFF,
  234.     0xFFFF,0xF000,0x07FF,0xFFFF,0xFFFF,0xFFFF,0xF000,0x07FF,
  235.     0xFFFF,0xFFFF,0xFFFF,0xF000,0x07FF,0xFFFF,0xFFFF,0xFFFF,
  236.     0xF000,0x07FF,0xFFFF,0xFFFF,0xFFFF,0xF000,0x07FF,0xFFFF,
  237.     0xFFFF,0xFFFF,0xF000,0x07FF,0xFFFF,0xFFFF,0xFFFF,0xF000,
  238.     0x07FF,0xFFFF,0xFFFF,0xFFFF,0xF000,0x07FF,0xFFFF,0xFFFF,
  239.     0xFFFF,0xF000,0x1FFF,0xFFFF,0xFFFF,0xFFFF,0xF000,0x7FFF,
  240.     0xFFFF,0xFFFF,0xFFFF,0xF000,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
  241.     0xF000,0x3FFF,0xFFFF,0xFFFF,0xFFFF,0xF000,0x0000,0x0000,
  242.     0x0000,0x0000,0xF000,0x0000,0x0000,0x0000,0x0000,0xF000,
  243.     0x0000,0x0000,0x0000,0x0000,0xF000,0x0000,0x0000,0x0000,
  244.     0x0000,0xF000,0x0000,0x0000,0x0000,0x0000,0xF000,0x0000,
  245.     0x0000,0x0000,0x0000,0xF000,0x0000,0x0000,0x0000,0x0000,
  246.     0xF000,0x0000,0x0000,0x0000,0x0000,0xF000,0x0000,0x0000,
  247.     0x0000,0x0000,0xF000,0x0000,0x0000,0x0000,0x0000,0xF000,
  248.     0x1FFF,0xFFFF,0xFFFF,0xFFFF,0xF000,0x7FFF,0xFFFF,0xFFFF,
  249.     0xFFFF,0xF000,0x8000,0x0000,0x0000,0x0000,0x0000,0xC000,
  250.     0x0000,0x0000,0x0000,0x0000,0xF800,0x0000,0x0000,0x0000,
  251.     0x0000,0xF800,0x0000,0x0000,0x0000,0x0000,0xF800,0x0000,
  252.     0x0000,0x0000,0x0000,0xF800,0x0000,0x0000,0x0000,0x0000,
  253.     0xF800,0x0000,0x0000,0x0000,0x0000,0xF800,0x0000,0x0000,
  254.     0x0000,0x0000,0xF800,0x0000,0x0000,0x0000,0x0000,0xF800,
  255.     0x0000,0x0000,0x0000,0x0000,0xF800,0x0000,0x0000,0x0000,
  256.     0x0000,0xF800,0x0000,0x0000,0x0000,0x0000,0xE000,0x0000,
  257.     0x0000,0x0000,0x0000,0x8000,0x0000,0x0000,0x0000,0x0000
  258. };
  259.  
  260. struct Image Image2 = {
  261.     0,0,    /* XY origin relative to container TopLeft */
  262.     68,14,    /* Image width and height in pixels */
  263.     4,    /* number of bitplanes in Image */
  264.     ImageData2,    /* pointer to ImageData */
  265.     0x000F,0x0000,    /* PlanePick and PlaneOnOff */
  266.     NULL    /* next Image structure */
  267. };
  268.  
  269. UBYTE chip irtxt1[8] = "unused ";
  270. struct IntuiText IText2 = {
  271.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  272.     6,3,    /* XY origin relative to container TopLeft */
  273.     NULL,    /* font pointer or NULL for default */
  274.     irtxt1,    /* pointer to text */
  275.     NULL    /* next IntuiText structure */
  276. };
  277.  
  278. #define IR20 97
  279.  
  280. struct Gadget ir20 = {
  281.         &commandstr1,   /* next gadget */
  282.     542,101,    /* origin XY of hit box relative to window TopLeft */
  283.     68,14,    /* hit box width and height */
  284.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  285.     GADGIMMEDIATE,    /* activation flags */
  286.     BOOLGADGET,    /* gadget type flags */
  287.     (APTR)&Image1,    /* gadget border or image to be rendered */
  288.     (APTR)&Image2,    /* alternate imagery for selection */
  289.     &IText2,    /* first IntuiText structure */
  290.     NULL,    /* gadget mutual-exclude long word */
  291.     NULL,    /* SpecialInfo structure */
  292.     IR20,    /* user-definable data */
  293.     NULL    /* pointer to user-definable data */
  294. };
  295.  
  296. UBYTE chip irtxt2[8] = "unused ";
  297. struct IntuiText IText3 = {
  298.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  299.     6,3,    /* XY origin relative to container TopLeft */
  300.     NULL,    /* font pointer or NULL for default */
  301.     irtxt2,    /* pointer to text */
  302.     NULL    /* next IntuiText structure */
  303. };
  304.  
  305. #define IR19 96
  306.  
  307. struct Gadget ir19 = {
  308.     &ir20,    /* next gadget */
  309.     542,82,    /* origin XY of hit box relative to window TopLeft */
  310.     68,14,    /* hit box width and height */
  311.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  312.     GADGIMMEDIATE,    /* activation flags */
  313.     BOOLGADGET,    /* gadget type flags */
  314.     (APTR)&Image1,    /* gadget border or image to be rendered */
  315.     (APTR)&Image2,    /* alternate imagery for selection */
  316.     &IText3,    /* first IntuiText structure */
  317.     NULL,    /* gadget mutual-exclude long word */
  318.     NULL,    /* SpecialInfo structure */
  319.     IR19,    /* user-definable data */
  320.     NULL    /* pointer to user-definable data */
  321. };
  322.  
  323. UBYTE chip irtxt3[8] = "unused ";
  324. struct IntuiText IText4 = {
  325.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  326.     6,3,    /* XY origin relative to container TopLeft */
  327.     NULL,    /* font pointer or NULL for default */
  328.     irtxt3,    /* pointer to text */
  329.     NULL    /* next IntuiText structure */
  330. };
  331.  
  332. #define IR18 95
  333.  
  334. struct Gadget ir18 = {
  335.     &ir19,    /* next gadget */
  336.     542,63,    /* origin XY of hit box relative to window TopLeft */
  337.     68,14,    /* hit box width and height */
  338.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  339.     GADGIMMEDIATE,    /* activation flags */
  340.     BOOLGADGET,    /* gadget type flags */
  341.     (APTR)&Image1,    /* gadget border or image to be rendered */
  342.     (APTR)&Image2,    /* alternate imagery for selection */
  343.     &IText4,    /* first IntuiText structure */
  344.     NULL,    /* gadget mutual-exclude long word */
  345.     NULL,    /* SpecialInfo structure */
  346.     IR18,    /* user-definable data */
  347.     NULL    /* pointer to user-definable data */
  348. };
  349.  
  350. UBYTE chip irtxt4[8] = "unused ";
  351. struct IntuiText IText5 = {
  352.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  353.     6,3,    /* XY origin relative to container TopLeft */
  354.     NULL,    /* font pointer or NULL for default */
  355.     irtxt4,    /* pointer to text */
  356.     NULL    /* next IntuiText structure */
  357. };
  358.  
  359. #define IR17 94
  360.  
  361. struct Gadget ir17 = {
  362.     &ir18,    /* next gadget */
  363.     542,44,    /* origin XY of hit box relative to window TopLeft */
  364.     68,14,    /* hit box width and height */
  365.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  366.     GADGIMMEDIATE,    /* activation flags */
  367.     BOOLGADGET,    /* gadget type flags */
  368.     (APTR)&Image1,    /* gadget border or image to be rendered */
  369.     (APTR)&Image2,    /* alternate imagery for selection */
  370.     &IText5,    /* first IntuiText structure */
  371.     NULL,    /* gadget mutual-exclude long word */
  372.     NULL,    /* SpecialInfo structure */
  373.     IR17,    /* user-definable data */
  374.     NULL    /* pointer to user-definable data */
  375. };
  376.  
  377. UBYTE chip irtxt5[8] = "unused ";
  378. struct IntuiText IText6 = {
  379.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  380.     6,3,    /* XY origin relative to container TopLeft */
  381.     NULL,    /* font pointer or NULL for default */
  382.     irtxt5,    /* pointer to text */
  383.     NULL    /* next IntuiText structure */
  384. };
  385.  
  386. #define IR16 93
  387.  
  388. struct Gadget ir16 = {
  389.     &ir17,    /* next gadget */
  390.     542,25,    /* origin XY of hit box relative to window TopLeft */
  391.     68,14,    /* hit box width and height */
  392.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  393.     GADGIMMEDIATE,    /* activation flags */
  394.     BOOLGADGET,    /* gadget type flags */
  395.     (APTR)&Image1,    /* gadget border or image to be rendered */
  396.     (APTR)&Image2,    /* alternate imagery for selection */
  397.     &IText6,    /* first IntuiText structure */
  398.     NULL,    /* gadget mutual-exclude long word */
  399.     NULL,    /* SpecialInfo structure */
  400.     IR16,    /* user-definable data */
  401.     NULL    /* pointer to user-definable data */
  402. };
  403.  
  404. UBYTE chip irtxt6[8] = "unused ";
  405. struct IntuiText IText7 = {
  406.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  407.     6,3,    /* XY origin relative to container TopLeft */
  408.     NULL,    /* font pointer or NULL for default */
  409.     irtxt6,    /* pointer to text */
  410.     NULL    /* next IntuiText structure */
  411. };
  412.  
  413. #define IR15 92
  414.  
  415. struct Gadget ir15 = {
  416.     &ir16,    /* next gadget */
  417.     460,101,    /* origin XY of hit box relative to window TopLeft */
  418.     68,14,    /* hit box width and height */
  419.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  420.     GADGIMMEDIATE,    /* activation flags */
  421.     BOOLGADGET,    /* gadget type flags */
  422.     (APTR)&Image1,    /* gadget border or image to be rendered */
  423.     (APTR)&Image2,    /* alternate imagery for selection */
  424.     &IText7,    /* first IntuiText structure */
  425.     NULL,    /* gadget mutual-exclude long word */
  426.     NULL,    /* SpecialInfo structure */
  427.     IR15,    /* user-definable data */
  428.     NULL    /* pointer to user-definable data */
  429. };
  430.  
  431. UBYTE chip irtxt7[8] = "unused ";
  432. struct IntuiText IText8 = {
  433.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  434.     6,3,    /* XY origin relative to container TopLeft */
  435.     NULL,    /* font pointer or NULL for default */
  436.     irtxt7,    /* pointer to text */
  437.     NULL    /* next IntuiText structure */
  438. };
  439.  
  440. #define IR14 91
  441.  
  442. struct Gadget ir14 = {
  443.     &ir15,    /* next gadget */
  444.     460,82,    /* origin XY of hit box relative to window TopLeft */
  445.     68,14,    /* hit box width and height */
  446.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  447.     GADGIMMEDIATE,    /* activation flags */
  448.     BOOLGADGET,    /* gadget type flags */
  449.     (APTR)&Image1,    /* gadget border or image to be rendered */
  450.     (APTR)&Image2,    /* alternate imagery for selection */
  451.     &IText8,    /* first IntuiText structure */
  452.     NULL,    /* gadget mutual-exclude long word */
  453.     NULL,    /* SpecialInfo structure */
  454.     IR14,    /* user-definable data */
  455.     NULL    /* pointer to user-definable data */
  456. };
  457.  
  458. UBYTE chip irtxt8[8] = "unused ";
  459. struct IntuiText IText9 = {
  460.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  461.     6,3,    /* XY origin relative to container TopLeft */
  462.     NULL,    /* font pointer or NULL for default */
  463.     irtxt8,    /* pointer to text */
  464.     NULL    /* next IntuiText structure */
  465. };
  466.  
  467. #define IR13 90
  468.  
  469. struct Gadget ir13 = {
  470.     &ir14,    /* next gadget */
  471.     460,63,    /* origin XY of hit box relative to window TopLeft */
  472.     68,14,    /* hit box width and height */
  473.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  474.     GADGIMMEDIATE,    /* activation flags */
  475.     BOOLGADGET,    /* gadget type flags */
  476.     (APTR)&Image1,    /* gadget border or image to be rendered */
  477.     (APTR)&Image2,    /* alternate imagery for selection */
  478.     &IText9,    /* first IntuiText structure */
  479.     NULL,    /* gadget mutual-exclude long word */
  480.     NULL,    /* SpecialInfo structure */
  481.     IR13,    /* user-definable data */
  482.     NULL    /* pointer to user-definable data */
  483. };
  484.  
  485. UBYTE chip irtxt9[8] = "unused ";
  486. struct IntuiText IText10 = {
  487.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  488.     6,3,    /* XY origin relative to container TopLeft */
  489.     NULL,    /* font pointer or NULL for default */
  490.     irtxt9,    /* pointer to text */
  491.     NULL    /* next IntuiText structure */
  492. };
  493.  
  494. #define IR12 89
  495.  
  496. struct Gadget ir12 = {
  497.     &ir13,    /* next gadget */
  498.     460,44,    /* origin XY of hit box relative to window TopLeft */
  499.     68,14,    /* hit box width and height */
  500.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  501.     GADGIMMEDIATE,    /* activation flags */
  502.     BOOLGADGET,    /* gadget type flags */
  503.     (APTR)&Image1,    /* gadget border or image to be rendered */
  504.     (APTR)&Image2,    /* alternate imagery for selection */
  505.     &IText10,    /* first IntuiText structure */
  506.     NULL,    /* gadget mutual-exclude long word */
  507.     NULL,    /* SpecialInfo structure */
  508.     IR12,    /* user-definable data */
  509.     NULL    /* pointer to user-definable data */
  510. };
  511.  
  512. UBYTE chip irtxt10[8] = "unused ";
  513. struct IntuiText IText11 = {
  514.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  515.     6,3,    /* XY origin relative to container TopLeft */
  516.     NULL,    /* font pointer or NULL for default */
  517.     irtxt10,    /* pointer to text */
  518.     NULL    /* next IntuiText structure */
  519. };
  520.  
  521. #define IR11 88
  522.  
  523. struct Gadget ir11 = {
  524.     &ir12,    /* next gadget */
  525.     460,25,    /* origin XY of hit box relative to window TopLeft */
  526.     68,14,    /* hit box width and height */
  527.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  528.     GADGIMMEDIATE,    /* activation flags */
  529.     BOOLGADGET,    /* gadget type flags */
  530.     (APTR)&Image1,    /* gadget border or image to be rendered */
  531.     (APTR)&Image2,    /* alternate imagery for selection */
  532.     &IText11,    /* first IntuiText structure */
  533.     NULL,    /* gadget mutual-exclude long word */
  534.     NULL,    /* SpecialInfo structure */
  535.     IR11,    /* user-definable data */
  536.     NULL    /* pointer to user-definable data */
  537. };
  538.  
  539. UBYTE chip irtxt11[8] = "unused ";
  540. struct IntuiText IText12 = {
  541.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  542.     6,3,    /* XY origin relative to container TopLeft */
  543.     NULL,    /* font pointer or NULL for default */
  544.     irtxt11,    /* pointer to text */
  545.     NULL    /* next IntuiText structure */
  546. };
  547.  
  548. #define IR10 87
  549.  
  550. struct Gadget ir10 = {
  551.     &ir11,    /* next gadget */
  552.     378,101,    /* origin XY of hit box relative to window TopLeft */
  553.     68,14,    /* hit box width and height */
  554.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  555.     GADGIMMEDIATE,    /* activation flags */
  556.     BOOLGADGET,    /* gadget type flags */
  557.     (APTR)&Image1,    /* gadget border or image to be rendered */
  558.     (APTR)&Image2,    /* alternate imagery for selection */
  559.     &IText12,    /* first IntuiText structure */
  560.     NULL,    /* gadget mutual-exclude long word */
  561.     NULL,    /* SpecialInfo structure */
  562.     IR10,    /* user-definable data */
  563.     NULL    /* pointer to user-definable data */
  564. };
  565.  
  566. UBYTE chip irtxt12[8] = "unused ";
  567. struct IntuiText IText13 = {
  568.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  569.     6,3,    /* XY origin relative to container TopLeft */
  570.     NULL,    /* font pointer or NULL for default */
  571.     irtxt12,    /* pointer to text */
  572.     NULL    /* next IntuiText structure */
  573. };
  574.  
  575. #define IR9 86
  576.  
  577. struct Gadget ir9 = {
  578.     &ir10,    /* next gadget */
  579.     378,82,    /* origin XY of hit box relative to window TopLeft */
  580.     68,14,    /* hit box width and height */
  581.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  582.     GADGIMMEDIATE,    /* activation flags */
  583.     BOOLGADGET,    /* gadget type flags */
  584.     (APTR)&Image1,    /* gadget border or image to be rendered */
  585.     (APTR)&Image2,    /* alternate imagery for selection */
  586.     &IText13,    /* first IntuiText structure */
  587.     NULL,    /* gadget mutual-exclude long word */
  588.     NULL,    /* SpecialInfo structure */
  589.     IR9,    /* user-definable data */
  590.     NULL    /* pointer to user-definable data */
  591. };
  592.  
  593. UBYTE chip irtxt13[8] = "unused ";
  594. struct IntuiText IText14 = {
  595.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  596.     6,3,    /* XY origin relative to container TopLeft */
  597.     NULL,    /* font pointer or NULL for default */
  598.     irtxt13,    /* pointer to text */
  599.     NULL    /* next IntuiText structure */
  600. };
  601.  
  602. #define IR8 85
  603.  
  604. struct Gadget ir8 = {
  605.     &ir9,    /* next gadget */
  606.     378,63,    /* origin XY of hit box relative to window TopLeft */
  607.     68,14,    /* hit box width and height */
  608.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  609.     GADGIMMEDIATE,    /* activation flags */
  610.     BOOLGADGET,    /* gadget type flags */
  611.     (APTR)&Image1,    /* gadget border or image to be rendered */
  612.     (APTR)&Image2,    /* alternate imagery for selection */
  613.     &IText14,    /* first IntuiText structure */
  614.     NULL,    /* gadget mutual-exclude long word */
  615.     NULL,    /* SpecialInfo structure */
  616.     IR8,    /* user-definable data */
  617.     NULL    /* pointer to user-definable data */
  618. };
  619.  
  620. UBYTE chip irtxt14[8] = "unused ";
  621. struct IntuiText IText15 = {
  622.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  623.     6,3,    /* XY origin relative to container TopLeft */
  624.     NULL,    /* font pointer or NULL for default */
  625.     irtxt14,    /* pointer to text */
  626.     NULL    /* next IntuiText structure */
  627. };
  628.  
  629. #define IR7 84
  630.  
  631. struct Gadget ir7 = {
  632.     &ir8,    /* next gadget */
  633.     378,44,    /* origin XY of hit box relative to window TopLeft */
  634.     68,14,    /* hit box width and height */
  635.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  636.     GADGIMMEDIATE,    /* activation flags */
  637.     BOOLGADGET,    /* gadget type flags */
  638.     (APTR)&Image1,    /* gadget border or image to be rendered */
  639.     (APTR)&Image2,    /* alternate imagery for selection */
  640.     &IText15,    /* first IntuiText structure */
  641.     NULL,    /* gadget mutual-exclude long word */
  642.     NULL,    /* SpecialInfo structure */
  643.     IR7,    /* user-definable data */
  644.     NULL    /* pointer to user-definable data */
  645. };
  646.  
  647. UBYTE chip irtxt15[8] = "unused ";
  648. struct IntuiText IText16 = {
  649.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  650.     6,3,    /* XY origin relative to container TopLeft */
  651.     NULL,    /* font pointer or NULL for default */
  652.     irtxt15,    /* pointer to text */
  653.     NULL    /* next IntuiText structure */
  654. };
  655.  
  656. #define IR6 83
  657.  
  658. struct Gadget ir6 = {
  659.     &ir7,    /* next gadget */
  660.     378,25,    /* origin XY of hit box relative to window TopLeft */
  661.     68,14,    /* hit box width and height */
  662.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  663.     GADGIMMEDIATE,    /* activation flags */
  664.     BOOLGADGET,    /* gadget type flags */
  665.     (APTR)&Image1,    /* gadget border or image to be rendered */
  666.     (APTR)&Image2,    /* alternate imagery for selection */
  667.     &IText16,    /* first IntuiText structure */
  668.     NULL,    /* gadget mutual-exclude long word */
  669.     NULL,    /* SpecialInfo structure */
  670.     IR6,    /* user-definable data */
  671.     NULL    /* pointer to user-definable data */
  672. };
  673.  
  674. UBYTE chip irtxt16[8] = "unused ";
  675. struct IntuiText IText17 = {
  676.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  677.     6,3,    /* XY origin relative to container TopLeft */
  678.     NULL,    /* font pointer or NULL for default */
  679.     irtxt16,    /* pointer to text */
  680.     NULL    /* next IntuiText structure */
  681. };
  682.  
  683. #define IR5 82
  684.  
  685. struct Gadget ir5 = {
  686.     &ir6,    /* next gadget */
  687.     296,101,    /* origin XY of hit box relative to window TopLeft */
  688.     68,14,    /* hit box width and height */
  689.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  690.     GADGIMMEDIATE,    /* activation flags */
  691.     BOOLGADGET,    /* gadget type flags */
  692.     (APTR)&Image1,    /* gadget border or image to be rendered */
  693.     (APTR)&Image2,    /* alternate imagery for selection */
  694.     &IText17,    /* first IntuiText structure */
  695.     NULL,    /* gadget mutual-exclude long word */
  696.     NULL,    /* SpecialInfo structure */
  697.     IR5,    /* user-definable data */
  698.     NULL    /* pointer to user-definable data */
  699. };
  700.  
  701. UBYTE chip irtxt17[8] = "unused ";
  702. struct IntuiText IText18 = {
  703.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  704.     6,3,    /* XY origin relative to container TopLeft */
  705.     NULL,    /* font pointer or NULL for default */
  706.     irtxt17,    /* pointer to text */
  707.     NULL    /* next IntuiText structure */
  708. };
  709.  
  710. #define IR4 81
  711.  
  712. struct Gadget ir4 = {
  713.     &ir5,    /* next gadget */
  714.     296,82,    /* origin XY of hit box relative to window TopLeft */
  715.     68,14,    /* hit box width and height */
  716.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  717.     GADGIMMEDIATE,    /* activation flags */
  718.     BOOLGADGET,    /* gadget type flags */
  719.     (APTR)&Image1,    /* gadget border or image to be rendered */
  720.     (APTR)&Image2,    /* alternate imagery for selection */
  721.     &IText18,    /* first IntuiText structure */
  722.     NULL,    /* gadget mutual-exclude long word */
  723.     NULL,    /* SpecialInfo structure */
  724.     IR4,    /* user-definable data */
  725.     NULL    /* pointer to user-definable data */
  726. };
  727.  
  728. UBYTE chip irtxt18[8] = "unused ";
  729. struct IntuiText IText19 = {
  730.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  731.     6,3,    /* XY origin relative to container TopLeft */
  732.     NULL,    /* font pointer or NULL for default */
  733.     irtxt18,    /* pointer to text */
  734.     NULL    /* next IntuiText structure */
  735. };
  736.  
  737. #define IR3 80
  738.  
  739. struct Gadget ir3 = {
  740.     &ir4,    /* next gadget */
  741.     296,63,    /* origin XY of hit box relative to window TopLeft */
  742.     68,14,    /* hit box width and height */
  743.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  744.     GADGIMMEDIATE,    /* activation flags */
  745.     BOOLGADGET,    /* gadget type flags */
  746.     (APTR)&Image1,    /* gadget border or image to be rendered */
  747.     (APTR)&Image2,    /* alternate imagery for selection */
  748.     &IText19,    /* first IntuiText structure */
  749.     NULL,    /* gadget mutual-exclude long word */
  750.     NULL,    /* SpecialInfo structure */
  751.     IR3,    /* user-definable data */
  752.     NULL    /* pointer to user-definable data */
  753. };
  754.  
  755. UBYTE chip irtxt19[8] = "unused ";
  756. struct IntuiText IText20 = {
  757.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  758.     6,3,    /* XY origin relative to container TopLeft */
  759.     NULL,    /* font pointer or NULL for default */
  760.     irtxt19,    /* pointer to text */
  761.     NULL    /* next IntuiText structure */
  762. };
  763.  
  764. #define IR2 79
  765.  
  766. struct Gadget ir2 = {
  767.     &ir3,    /* next gadget */
  768.     296,44,    /* origin XY of hit box relative to window TopLeft */
  769.     68,14,    /* hit box width and height */
  770.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  771.     GADGIMMEDIATE,    /* activation flags */
  772.     BOOLGADGET,    /* gadget type flags */
  773.     (APTR)&Image1,    /* gadget border or image to be rendered */
  774.     (APTR)&Image2,    /* alternate imagery for selection */
  775.     &IText20,    /* first IntuiText structure */
  776.     NULL,    /* gadget mutual-exclude long word */
  777.     NULL,    /* SpecialInfo structure */
  778.     IR2,    /* user-definable data */
  779.     NULL    /* pointer to user-definable data */
  780. };
  781.  
  782. UBYTE chip irtxt20[8] = "unused ";
  783. struct IntuiText IText21 = {
  784.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  785.     6,3,    /* XY origin relative to container TopLeft */
  786.     NULL,    /* font pointer or NULL for default */
  787.     irtxt20,    /* pointer to text */
  788.     NULL    /* next IntuiText structure */
  789. };
  790.  
  791. #define IR1 78
  792.  
  793.  
  794. struct Gadget ir1 = {
  795.     &ir2,    /* next gadget */
  796.     296,25,    /* origin XY of hit box relative to window TopLeft */
  797.     68,14,    /* hit box width and height */
  798.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  799.     GADGIMMEDIATE,    /* activation flags */
  800.     BOOLGADGET,    /* gadget type flags */
  801.     (APTR)&Image1,    /* gadget border or image to be rendered */
  802.     (APTR)&Image2,    /* alternate imagery for selection */
  803.     &IText21,    /* first IntuiText structure */
  804.     NULL,    /* gadget mutual-exclude long word */
  805.     NULL,    /* SpecialInfo structure */
  806.     IR1,    /* user-definable data */
  807.     NULL    /* pointer to user-definable data */
  808. };
  809.  
  810. /* Array of pointers to IR control button gadgets. */
  811.  
  812. struct Gadget *IR[20] =
  813. {
  814.    &ir1, &ir2, &ir3, &ir4, &ir5, &ir6, &ir7, &ir8, &ir9, &ir10, &ir11, &ir12,
  815.    &ir13, &ir14, &ir15, &ir16, &ir17, &ir18, &ir19, &ir20
  816. };
  817.  
  818.  
  819. USHORT chip ImageData41[] = {
  820.     0x3FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFE0,0x0FFF,
  821.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFE0,0x07FF,0xFFFF,
  822.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFE0,0x07FF,0xFFFF,0xFFFF,
  823.     0xFFFF,0xFFFF,0xFFFF,0xFFE0,0x07FF,0xFFFF,0xFFFF,0xFFFF,
  824.     0xFFFF,0xFFFF,0xFFE0,0x07FF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  825.     0xFFFF,0xFFE0,0x07FF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  826.     0xFFE0,0x07FF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFE0,
  827.     0x07FF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFE0,0x07FF,
  828.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFE0,0x07FF,0xFFFF,
  829.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFE0,0x07FF,0xFFFF,0xFFFF,
  830.     0xFFFF,0xFFFF,0xFFFF,0xFFE0,0x0000,0x0000,0x0000,0x0000,
  831.     0x0000,0x0000,0x0060,0x0000,0x0000,0x0000,0x0000,0x0000,
  832.     0x0000,0x0000,0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  833.     0xFFE0,0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFE0,
  834.     0x7800,0x0000,0x0000,0x0000,0x0000,0x0000,0x01E0,0x7800,
  835.     0x0000,0x0000,0x0000,0x0000,0x0000,0x01E0,0x7800,0x0000,
  836.     0x0000,0x0000,0x0000,0x0000,0x01E0,0x7800,0x0000,0x0000,
  837.     0x0000,0x0000,0x0000,0x01E0,0x7800,0x0000,0x0000,0x0000,
  838.     0x0000,0x0000,0x01E0,0x7800,0x0000,0x0000,0x0000,0x0000,
  839.     0x0000,0x01E0,0x7800,0x0000,0x0000,0x0000,0x0000,0x0000,
  840.     0x01E0,0x7800,0x0000,0x0000,0x0000,0x0000,0x0000,0x01E0,
  841.     0x7800,0x0000,0x0000,0x0000,0x0000,0x0000,0x01E0,0x7800,
  842.     0x0000,0x0000,0x0000,0x0000,0x0000,0x01E0,0x7000,0x0000,
  843.     0x0000,0x0000,0x0000,0x0000,0x0060,0x4000,0x0000,0x0000,
  844.     0x0000,0x0000,0x0000,0x0000,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
  845.     0xFFFF,0xFFFF,0xFFE0,0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  846.     0xFFFF,0xFF80,0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  847.     0xFE00,0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFE00,
  848.     0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFE00,0x7FFF,
  849.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFE00,0x7FFF,0xFFFF,
  850.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFE00,0x7FFF,0xFFFF,0xFFFF,
  851.     0xFFFF,0xFFFF,0xFFFF,0xFE00,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
  852.     0xFFFF,0xFFFF,0xFE00,0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  853.     0xFFFF,0xFE00,0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  854.     0xFE00,0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFE00,
  855.     0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFF80,0x7FFF,
  856.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFE0
  857. };
  858.  
  859. struct Image Image41 = {
  860.     0,0,    /* XY origin relative to container TopLeft */
  861.     107,14,    /* Image width and height in pixels */
  862.     4,    /* number of bitplanes in Image */
  863.     ImageData41,    /* pointer to ImageData */
  864.     0x0007,0x0000,    /* PlanePick and PlaneOnOff */
  865.     NULL    /* next Image structure */
  866. };
  867.  
  868. USHORT chip ImageData42[] = {
  869.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  870.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x07FF,0xFFFF,
  871.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,0x07FF,0xFFFF,0xFFFF,
  872.     0xFFFF,0xFFFF,0xFFFF,0xFC00,0x07FF,0xFFFF,0xFFFF,0xFFFF,
  873.     0xFFFF,0xFFFF,0xFC00,0x07FF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  874.     0xFFFF,0xFC00,0x07FF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  875.     0xFC00,0x07FF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,
  876.     0x07FF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,0x07FF,
  877.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,0x07FF,0xFFFF,
  878.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFC00,0x07FF,0xFFFF,0xFFFF,
  879.     0xFFFF,0xFFFF,0xFFFF,0xFC00,0x1FFF,0xFFFF,0xFFFF,0xFFFF,
  880.     0xFFFF,0xFFFF,0xFF00,0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  881.     0xFFFF,0xFFC0,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  882.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x00C0,
  883.     0x07FF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFC0,0x07FF,
  884.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFC0,0x07FF,0xFFFF,
  885.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFC0,0x07FF,0xFFFF,0xFFFF,
  886.     0xFFFF,0xFFFF,0xFFFF,0xFFC0,0x07FF,0xFFFF,0xFFFF,0xFFFF,
  887.     0xFFFF,0xFFFF,0xFFC0,0x07FF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  888.     0xFFFF,0xFFC0,0x07FF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  889.     0xFFC0,0x07FF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFC0,
  890.     0x07FF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFC0,0x07FF,
  891.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFC0,0x1FFF,0xFFFF,
  892.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFC0,0x7FFF,0xFFFF,0xFFFF,
  893.     0xFFFF,0xFFFF,0xFFFF,0xFFC0,0x7FFF,0xFFFF,0xFFFF,0xFFFF,
  894.     0xFFFF,0xFFFF,0xFFC0,0x3FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  895.     0xFFFF,0xFFC0,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  896.     0x03C0,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x03C0,
  897.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x03C0,0x0000,
  898.     0x0000,0x0000,0x0000,0x0000,0x0000,0x03C0,0x0000,0x0000,
  899.     0x0000,0x0000,0x0000,0x0000,0x03C0,0x0000,0x0000,0x0000,
  900.     0x0000,0x0000,0x0000,0x03C0,0x0000,0x0000,0x0000,0x0000,
  901.     0x0000,0x0000,0x03C0,0x0000,0x0000,0x0000,0x0000,0x0000,
  902.     0x0000,0x03C0,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  903.     0x03C0,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x03C0,
  904.     0x1FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFC0,0x7FFF,
  905.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFC0,0x8000,0x0000,
  906.     0x0000,0x0000,0x0000,0x0000,0x0000,0xC000,0x0000,0x0000,
  907.     0x0000,0x0000,0x0000,0x0000,0xF800,0x0000,0x0000,0x0000,
  908.     0x0000,0x0000,0x0000,0xF800,0x0000,0x0000,0x0000,0x0000,
  909.     0x0000,0x0000,0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,
  910.     0x0000,0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  911.     0xF800,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xF800,
  912.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xF800,0x0000,
  913.     0x0000,0x0000,0x0000,0x0000,0x0000,0xF800,0x0000,0x0000,
  914.     0x0000,0x0000,0x0000,0x0000,0xF800,0x0000,0x0000,0x0000,
  915.     0x0000,0x0000,0x0000,0xF800,0x0000,0x0000,0x0000,0x0000,
  916.     0x0000,0x0000,0xE000,0x0000,0x0000,0x0000,0x0000,0x0000,
  917.     0x0000,0x8000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
  918. };
  919.  
  920. struct Image Image42 = {
  921.     0,0,    /* XY origin relative to container TopLeft */
  922.     107,14,    /* Image width and height in pixels */
  923.     4,    /* number of bitplanes in Image */
  924.     ImageData42,    /* pointer to ImageData */
  925.     0x000F,0x0000,    /* PlanePick and PlaneOnOff */
  926.     NULL    /* next Image structure */
  927. };
  928.  
  929. struct IntuiText IText28 = {
  930.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  931.     38,3,    /* XY origin relative to container TopLeft */
  932.     NULL,    /* font pointer or NULL for default */
  933.     "EXIT",    /* pointer to text */
  934.     NULL    /* next IntuiText structure */
  935. };
  936.  
  937. #define EXIT 71
  938.  
  939. struct Gadget ExitIt = {
  940.     &ir1,    /* next gadget */
  941.     40,102,    /* origin XY of hit box relative to window TopLeft */
  942.     107,14,    /* hit box width and height */
  943.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  944.     GADGIMMEDIATE,    /* activation flags */
  945.     BOOLGADGET,    /* gadget type flags */
  946.     (APTR)&Image41,    /* gadget border or image to be rendered */
  947.     (APTR)&Image42,    /* alternate imagery for selection */
  948.     &IText28,    /* first IntuiText structure */
  949.     NULL,    /* gadget mutual-exclude long word */
  950.     NULL,    /* SpecialInfo structure */
  951.     EXIT,    /* user-definable data */
  952.     NULL    /* pointer to user-definable data */
  953. };
  954.  
  955. struct IntuiText IText22 = {
  956.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  957.     30,3,    /* XY origin relative to container TopLeft */
  958.     NULL,    /* font pointer or NULL for default */
  959.     "AUTHOR",    /* pointer to text */
  960.     NULL    /* next IntuiText structure */
  961. };
  962.  
  963. #define AUTHOR 77
  964.  
  965. struct Gadget Author = {
  966.     &ExitIt,    /* next gadget */
  967.     40,86,    /* origin XY of hit box relative to window TopLeft */
  968.     107,14,    /* hit box width and height */
  969.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  970.     GADGIMMEDIATE,    /* activation flags */
  971.     BOOLGADGET,    /* gadget type flags */
  972.     (APTR)&Image41,    /* gadget border or image to be rendered */
  973.     (APTR)&Image42,    /* alternate imagery for selection */
  974.     &IText22,    /* first IntuiText structure */
  975.     NULL,    /* gadget mutual-exclude long word */
  976.     NULL,    /* SpecialInfo structure */
  977.     AUTHOR,    /* user-definable data */
  978.     NULL    /* pointer to user-definable data */
  979. };
  980.  
  981. struct IntuiText IText23 = {
  982.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  983.     32,3,    /* XY origin relative to container TopLeft */
  984.     NULL,    /* font pointer or NULL for default */
  985.     "DO IT",    /* pointer to text */
  986.     NULL    /* next IntuiText structure */
  987. };
  988.  
  989. #define DOIT 76
  990.  
  991. struct Gadget DoIt = {
  992.     &Author,    /* next gadget */
  993.     40,70,    /* origin XY of hit box relative to window TopLeft */
  994.     107,14,    /* hit box width and height */
  995.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  996.     GADGIMMEDIATE,    /* activation flags */
  997.     BOOLGADGET,    /* gadget type flags */
  998.     (APTR)&Image41,    /* gadget border or image to be rendered */
  999.     (APTR)&Image42,    /* alternate imagery for selection */
  1000.     &IText23,    /* first IntuiText structure */
  1001.     NULL,    /* gadget mutual-exclude long word */
  1002.     NULL,    /* SpecialInfo structure */
  1003.     DOIT,    /* user-definable data */
  1004.     NULL    /* pointer to user-definable data */
  1005. };
  1006.  
  1007. struct IntuiText IText24 = {
  1008.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  1009.     26,3,    /* XY origin relative to container TopLeft */
  1010.     NULL,    /* font pointer or NULL for default */
  1011.     "GET SET",    /* pointer to text */
  1012.     NULL    /* next IntuiText structure */
  1013. };
  1014.  
  1015. #define GETSET 75
  1016.  
  1017. struct Gadget GetSet = {
  1018.     &DoIt,    /* next gadget */
  1019.     40,54,    /* origin XY of hit box relative to window TopLeft */
  1020.     107,14,    /* hit box width and height */
  1021.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  1022.     GADGIMMEDIATE,    /* activation flags */
  1023.     BOOLGADGET,    /* gadget type flags */
  1024.     (APTR)&Image41,    /* gadget border or image to be rendered */
  1025.     (APTR)&Image42,    /* alternate imagery for selection */
  1026.     &IText24,    /* first IntuiText structure */
  1027.     NULL,    /* gadget mutual-exclude long word */
  1028.     NULL,    /* SpecialInfo structure */
  1029.     GETSET,    /* user-definable data */
  1030.     NULL    /* pointer to user-definable data */
  1031. };
  1032.  
  1033. struct IntuiText IText25 = {
  1034.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  1035.     21,3,    /* XY origin relative to container TopLeft */
  1036.     NULL,    /* font pointer or NULL for default */
  1037.     "SAVE SET",    /* pointer to text */
  1038.     NULL    /* next IntuiText structure */
  1039. };
  1040.  
  1041. #define SAVESET 74
  1042.  
  1043. struct Gadget SaveSet = {
  1044.     &GetSet,    /* next gadget */
  1045.     40,38,    /* origin XY of hit box relative to window TopLeft */
  1046.     107,14,    /* hit box width and height */
  1047.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  1048.     GADGIMMEDIATE,    /* activation flags */
  1049.     BOOLGADGET,    /* gadget type flags */
  1050.     (APTR)&Image41,    /* gadget border or image to be rendered */
  1051.     (APTR)&Image42,    /* alternate imagery for selection */
  1052.     &IText25,    /* first IntuiText structure */
  1053.     NULL,    /* gadget mutual-exclude long word */
  1054.     NULL,    /* SpecialInfo structure */
  1055.     SAVESET,    /* user-definable data */
  1056.     NULL    /* pointer to user-definable data */
  1057. };
  1058.  
  1059. struct IntuiText IText26 = {
  1060.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  1061.     32,3,    /* XY origin relative to container TopLeft */
  1062.     NULL,    /* font pointer or NULL for default */
  1063.     "LEARN",    /* pointer to text */
  1064.     NULL    /* next IntuiText structure */
  1065. };
  1066.  
  1067. #define LEARN 73
  1068.  
  1069. struct Gadget Learn = {
  1070.     &SaveSet,    /* next gadget */
  1071.     40,22,    /* origin XY of hit box relative to window TopLeft */
  1072.     107,14,    /* hit box width and height */
  1073.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  1074.     GADGIMMEDIATE,    /* activation flags */
  1075.     BOOLGADGET,    /* gadget type flags */
  1076.     (APTR)&Image41,    /* gadget border or image to be rendered */
  1077.     (APTR)&Image42,    /* alternate imagery for selection */
  1078.     &IText26,    /* first IntuiText structure */
  1079.     NULL,    /* gadget mutual-exclude long word */
  1080.     NULL,    /* SpecialInfo structure */
  1081.     LEARN,    /* user-definable data */
  1082.     NULL    /* pointer to user-definable data */
  1083. };
  1084.  
  1085. struct IntuiText IText27 = {
  1086.     1,5,JAM2,    /* front and back text pens, drawmode and fill byte */
  1087.     33,3,    /* XY origin relative to container TopLeft */
  1088.     NULL,    /* font pointer or NULL for default */
  1089.     "AREXX",    /* pointer to text */
  1090.     NULL    /* next IntuiText structure */
  1091. };
  1092.  
  1093. #define AREXX 72
  1094.  
  1095. struct Gadget ARexx = {
  1096.     &Learn,    /* next gadget */
  1097.     22,138,    /* origin XY of hit box relative to window TopLeft */
  1098.     107,14,    /* hit box width and height */
  1099.     GADGHIMAGE+GADGIMAGE,    /* gadget flags */
  1100.     GADGIMMEDIATE,    /* activation flags */
  1101.     BOOLGADGET,    /* gadget type flags */
  1102.     (APTR)&Image41,    /* gadget border or image to be rendered */
  1103.     (APTR)&Image42,    /* alternate imagery for selection */
  1104.     &IText27,    /* first IntuiText structure */
  1105.     NULL,    /* gadget mutual-exclude long word */
  1106.     NULL,    /* SpecialInfo structure */
  1107.     AREXX,    /* user-definable data */
  1108.     NULL    /* pointer to user-definable data */
  1109. };
  1110.  
  1111. #define GadgetList1 ARexx
  1112.  
  1113. struct NewWindow NewWindowStructure1 = {
  1114.     0,10,    /* window XY origin relative to TopLeft of screen */
  1115.     640,190,    /* window width and height */
  1116.     0,1,    /* detail and block pens */
  1117.     GADGETUP|GADGETDOWN,    /* IDCMP flags */
  1118.     BORDERLESS|ACTIVATE|NOCAREREFRESH|SIMPLE_REFRESH, /* other window flags */
  1119.     &ARexx,    /* first gadget in gadget list */
  1120.     NULL,    /* custom CHECKMARK imagery */
  1121.     NULL,    /* window title */
  1122.     NULL,    /* custom screen pointer */
  1123.     NULL,    /* custom bitmap */
  1124.     5,5,    /* minimum width and height */
  1125.     -1,-1,    /* maximum width and height */
  1126.     CUSTOMSCREEN    /* destination screen type */
  1127. };
  1128.  
  1129.  
  1130. /* end of PowerWindows source generation */
  1131.