home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d03xx / d0304.lha / Gears / gearscreen.h < prev    next >
C/C++ Source or Header  |  1990-01-10  |  18KB  |  1,104 lines

  1.  
  2. /*
  3.  *   This code generated by Power Windows and hand edited to increase
  4.  *  the screen and window Y size. Screen increased from 200 to 225,
  5.  *  Window increased from 190 to 215. 
  6.  */
  7.  
  8.  
  9. struct TextAttr TOPAZ80 = {
  10.     (STRPTR)"topaz.font",
  11.     TOPAZ_EIGHTY,0,0
  12. };
  13. struct NewScreen NewScreenStructure = {
  14.     0,0,
  15.     640,225,
  16.     3,
  17.     0,1,
  18.     HIRES,
  19.     CUSTOMSCREEN,
  20.     &TOPAZ80,
  21.     (UBYTE *)"AMIGA Gears",
  22.     NULL,
  23.     NULL
  24. };
  25.  
  26. #define NEWSCREENSTRUCTURE NewScreenStructure
  27.  
  28. USHORT Palette[] = {
  29.     0x016C,
  30.     0x0AAA,
  31.     0x0222,
  32.     0x0FD0,
  33.     0x0FC8,
  34.     0x0F00,
  35.     0x0180,
  36.     0x0FFF
  37. #define PaletteColorCount 8
  38. };
  39.  
  40. #define PALETTE Palette
  41.  
  42. UBYTE UNDOBUFFER[4];
  43.  
  44. UBYTE Rear6_GadSIBuff[4];
  45. struct StringInfo Rear6_GadSInfo = {
  46.     Rear6_GadSIBuff,
  47.     UNDOBUFFER,
  48.     0,
  49.     4,
  50.     0,
  51.     0,0,0,0,0,
  52.     0,
  53.     0,
  54.     NULL
  55. };
  56.  
  57. SHORT BorderVectors1[] = {
  58.     0,0,
  59.     58,0,
  60.     58,10,
  61.     0,10,
  62.     0,0
  63. };
  64. struct Border Border1 = {
  65.     -2,-1,
  66.     3,0,JAM1,
  67.     5,
  68.     BorderVectors1,
  69.     NULL
  70. };
  71.  
  72. struct Gadget Rear6_Gad = {
  73.     NULL,
  74.     95,131,
  75.     55,9,
  76.     NULL,
  77.     STRINGCENTER+LONGINT,
  78.     STRGADGET,
  79.     (APTR)&Border1,
  80.     NULL,
  81.     NULL,
  82.     NULL,
  83.     (APTR)&Rear6_GadSInfo,
  84.     NULL,
  85.     NULL
  86. };
  87.  
  88. USHORT ImageData1[] = {
  89.     0xFFFF,0xFFFF,0xFF00,0xFFFF,0xFFFF,0xFF00,0xFFFF,0xFFFF,
  90.     0xFF00,0xFFF3,0xFFFF,0xFF00,0xFFFF,0xFFFF,0xFF00,0xFFF3,
  91.     0xC0FF,0xFF00,0xFFF3,0xCE7F,0xFF00,0xFFF3,0xCE7F,0xFF00,
  92.     0xFFF3,0xCE71,0xFF00,0xFFF3,0xCE71,0xFF00,0xFFFF,0xFFFF,
  93.     0xFF00,0xFFFF,0xFFFF,0xFF00,0xFFFF,0xFFFF,0xFF00,0xFFFF,
  94.     0xFFFF,0xFF00,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  95.     0x0000,0x0000,0x0000,0x000C,0x0000,0x0000,0x0000,0x0000,
  96.     0x0000,0x000C,0x3F00,0x0000,0x000C,0x3180,0x0000,0x000C,
  97.     0x3180,0x0000,0x000C,0x318E,0x0000,0x000C,0x318E,0x0000,
  98.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  99.     0x0000,0x0000,0x0000,0x0000
  100. };
  101.  
  102. struct Image Image1 = {
  103.     0,0,
  104.     40,14,
  105.     3,
  106.     ImageData1,
  107.     0x0006,0x0000,
  108.     NULL
  109. };
  110.  
  111. USHORT ImageData2[] = {
  112.     0xFFFF,0xFFFF,0xFF00,0xFFFF,0xFFFF,0xFF00,0xFFFF,0xFFFF,
  113.     0xFF00,0xFFFF,0xFFFF,0xFF00,0xFFFF,0xFFFF,0xFF00,0xFFCE,
  114.     0x4E7F,0xFF00,0xFFC0,0x407F,0xFF00,0xFFCA,0x4A7F,0xFF00,
  115.     0xFFCE,0x4E7F,0xFF00,0xFFCE,0x4E7F,0xFF00,0xFFFF,0xFFFF,
  116.     0xFF00,0xFFFF,0xFFFF,0xFF00,0xFFFF,0xFFFF,0xFF00,0xFFFF,
  117.     0xFFFF,0xFF00,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  118.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  119.     0x0000,0x0031,0xB180,0x0000,0x003F,0xBF80,0x0000,0x0035,
  120.     0xB580,0x0000,0x0031,0xB180,0x0000,0x0031,0xB180,0x0000,
  121.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  122.     0x0000,0x0000,0x0000,0x0000
  123. };
  124.  
  125. struct Image Image2 = {
  126.     0,0,
  127.     40,14,
  128.     3,
  129.     ImageData2,
  130.     0x0006,0x0000,
  131.     NULL
  132. };
  133.  
  134. struct Gadget inmm_Gad = {
  135.     &Rear6_Gad,
  136.     586,28,
  137.     40,14,
  138.     GADGHIMAGE+GADGIMAGE,
  139.     RELVERIFY+TOGGLESELECT,
  140.     BOOLGADGET,
  141.     (APTR)&Image1,
  142.     (APTR)&Image2,
  143.     NULL,
  144.     NULL,
  145.     NULL,
  146.     NULL,
  147.     NULL
  148. };
  149.  
  150. UBYTE Diameter_GadSIBuff[4] =
  151.     "27";
  152. struct StringInfo Diameter_GadSInfo = {
  153.     Diameter_GadSIBuff,
  154.     UNDOBUFFER,
  155.     0,
  156.     4,
  157.     0,
  158.     0,0,0,0,0,
  159.     0,
  160.     0,
  161.     NULL
  162. };
  163.  
  164. SHORT BorderVectors2[] = {
  165.     0,0,
  166.     59,0,
  167.     59,9,
  168.     0,9,
  169.     0,0
  170. };
  171. struct Border Border2 = {
  172.     -2,-1,
  173.     3,0,JAM1,
  174.     5,
  175.     BorderVectors2,
  176.     NULL
  177. };
  178.  
  179. struct Gadget Diameter_Gad = {
  180.     &inmm_Gad,
  181.     519,31,
  182.     56,8,
  183.     NULL,
  184.     STRINGCENTER+LONGINT,
  185.     STRGADGET,
  186.     (APTR)&Border2,
  187.     NULL,
  188.     NULL,
  189.     NULL,
  190.     (APTR)&Diameter_GadSInfo,
  191.     NULL,
  192.     NULL
  193. };
  194.  
  195. USHORT ImageData3[] = {
  196.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x000F,0x8000,
  197.     0x003F,0xC000,0x007F,0xE000,0x00F8,0xF000,0x00F8,0x7000,
  198.     0x00F8,0x0000,0x00F8,0x0000,0x00F8,0x0000,0x00F8,0x7000,
  199.     0x00F8,0x7000,0x00F8,0xF000,0x007F,0xE000,0x003F,0xE000,
  200.     0x000F,0x8000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  201.     0x0000,0x0000,0x000F,0x0000,0x001F,0x8000,0x003F,0xC000,
  202.     0x007F,0xE000,0x00F9,0xF000,0x00F0,0xF000,0x00F0,0xF000,
  203.     0x00FF,0xF000,0x00FF,0xF000,0x00FF,0xF000,0x00F0,0xF000,
  204.     0x00F8,0xF000,0x00F9,0xF000,0x00F0,0xE000,0x0000,0x0000,
  205.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0070,0x0000,
  206.     0x00F8,0x0000,0x00F8,0x0000,0x00F8,0x0000,0x00F8,0x0000,
  207.     0x00F8,0x0000,0x00F8,0x0000,0x00F8,0x0000,0x00F8,0x0000,
  208.     0x00F8,0x0000,0x00F8,0x0000,0x00FF,0xE000,0x00FF,0xF000,
  209.     0x007F,0xE000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  210.     0x0000,0x0000,0x000F,0x8000,0x003F,0xC000,0x007F,0xE000,
  211.     0x00F8,0xF000,0x00F8,0x7000,0x00F8,0x0000,0x00F8,0x0000,
  212.     0x00F8,0x0000,0x00F8,0x7000,0x00F8,0x7000,0x00F8,0xF000,
  213.     0x007F,0xE000,0x003F,0xE000,0x000F,0x8000,0x0000,0x0000,
  214.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFF0,
  215.     0xFFFF,0xFFF0,0xFFFF,0xFFF0,0xFFF0,0x7FF0,0xFFC0,0x3FF0,
  216.     0xFF80,0x1FF0,0xFF07,0x0FF0,0xFF07,0x8FF0,0xFF07,0xFFF0,
  217.     0xFF07,0xFFF0,0xFF07,0xFFF0,0xFF07,0x8FF0,0xFF07,0x8FF0,
  218.     0xFF07,0x0FF0,0xFF80,0x1FF0,0xFFC0,0x1FF0,0xFFF0,0x7FF0,
  219.     0xFFFF,0xFFF0,0xFFFF,0xFFF0,0xFFFF,0xFFF0,0xFFFF,0xFFF0,
  220.     0xFFF0,0xFFF0,0xFFE0,0x7FF0,0xFFC0,0x3FF0,0xFF80,0x1FF0,
  221.     0xFF06,0x0FF0,0xFF0F,0x0FF0,0xFF0F,0x0FF0,0xFF00,0x0FF0,
  222.     0xFF00,0x0FF0,0xFF00,0x0FF0,0xFF0F,0x0FF0,0xFF07,0x0FF0,
  223.     0xFF06,0x0FF0,0xFF0F,0x1FF0,0xFFFF,0xFFF0,0xFFFF,0xFFF0,
  224.     0xFFFF,0xFFF0,0xFFFF,0xFFF0,0xFF8F,0xFFF0,0xFF07,0xFFF0,
  225.     0xFF07,0xFFF0,0xFF07,0xFFF0,0xFF07,0xFFF0,0xFF07,0xFFF0,
  226.     0xFF07,0xFFF0,0xFF07,0xFFF0,0xFF07,0xFFF0,0xFF07,0xFFF0,
  227.     0xFF07,0xFFF0,0xFF00,0x1FF0,0xFF00,0x0FF0,0xFF80,0x1FF0,
  228.     0xFFFF,0xFFF0,0xFFFF,0xFFF0,0xFFFF,0xFFF0,0xFFFF,0xFFF0,
  229.     0xFFF0,0x7FF0,0xFFC0,0x3FF0,0xFF80,0x1FF0,0xFF07,0x0FF0,
  230.     0xFF07,0x8FF0,0xFF07,0xFFF0,0xFF07,0xFFF0,0xFF07,0xFFF0,
  231.     0xFF07,0x8FF0,0xFF07,0x8FF0,0xFF07,0x0FF0,0xFF80,0x1FF0,
  232.     0xFFC0,0x1FF0,0xFFF0,0x7FF0,0xFFFF,0xFFF0,0xFFFF,0xFFF0,
  233.     0xFFFF,0xFFF0,0xFFFF,0xFFF0,0x0000,0x0000,0x0000,0x0000,
  234.     0x0000,0x0000,0x000F,0x8000,0x003F,0xC000,0x007F,0xE000,
  235.     0x00F8,0xF000,0x00F8,0x7000,0x00F8,0x0000,0x00F8,0x0000,
  236.     0x00F8,0x0000,0x00F8,0x7000,0x00F8,0x7000,0x00F8,0xF000,
  237.     0x007F,0xE000,0x003F,0xE000,0x000F,0x8000,0x0000,0x0000,
  238.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x000F,0x0000,
  239.     0x001F,0x8000,0x003F,0xC000,0x007F,0xE000,0x00F9,0xF000,
  240.     0x00F0,0xF000,0x00F0,0xF000,0x00FF,0xF000,0x00FF,0xF000,
  241.     0x00FF,0xF000,0x00F0,0xF000,0x00F8,0xF000,0x00F9,0xF000,
  242.     0x00F0,0xE000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  243.     0x0000,0x0000,0x0070,0x0000,0x00F8,0x0000,0x00F8,0x0000,
  244.     0x00F8,0x0000,0x00F8,0x0000,0x00F8,0x0000,0x00F8,0x0000,
  245.     0x00F8,0x0000,0x00F8,0x0000,0x00F8,0x0000,0x00F8,0x0000,
  246.     0x00FF,0xE000,0x00FF,0xF000,0x007F,0xE000,0x0000,0x0000,
  247.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x000F,0x8000,
  248.     0x003F,0xC000,0x007F,0xE000,0x00F8,0xF000,0x00F8,0x7000,
  249.     0x00F8,0x0000,0x00F8,0x0000,0x00F8,0x0000,0x00F8,0x7000,
  250.     0x00F8,0x7000,0x00F8,0xF000,0x007F,0xE000,0x003F,0xE000,
  251.     0x000F,0x8000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  252.     0x0000,0x0000
  253. };
  254.  
  255. struct Image Image3 = {
  256.     0,0,
  257.     28,75,
  258.     3,
  259.     ImageData3,
  260.     0x0007,0x0000,
  261.     NULL
  262. };
  263.  
  264. struct Gadget Calc_Gad = {
  265.     &Diameter_Gad,
  266.     25,88,
  267.     28,75,
  268.     GADGIMAGE,
  269.     RELVERIFY,
  270.     BOOLGADGET,
  271.     (APTR)&Image3,
  272.     NULL,
  273.     NULL,
  274.     NULL,
  275.     NULL,
  276.     NULL,
  277.     NULL
  278. };
  279.  
  280. UBYTE Rear7_GadSIBuff[4];
  281. struct StringInfo Rear7_GadSInfo = {
  282.     Rear7_GadSIBuff,
  283.     UNDOBUFFER,
  284.     0,
  285.     4,
  286.     0,
  287.     0,0,0,0,0,
  288.     0,
  289.     0,
  290.     NULL
  291. };
  292.  
  293. SHORT BorderVectors3[] = {
  294.     0,0,
  295.     58,0,
  296.     58,10,
  297.     0,10,
  298.     0,0
  299. };
  300. struct Border Border3 = {
  301.     -2,-1,
  302.     3,0,JAM1,
  303.     5,
  304.     BorderVectors3,
  305.     NULL
  306. };
  307.  
  308. struct Gadget Rear7_Gad = {
  309.     &Calc_Gad,
  310.     95,150,
  311.     55,9,
  312.     GADGDISABLED,
  313.     STRINGCENTER+LONGINT,
  314.     STRGADGET,
  315.     (APTR)&Border3,
  316.     NULL,
  317.     NULL,
  318.     NULL,
  319.     (APTR)&Rear7_GadSInfo,
  320.     NULL,
  321.     NULL
  322. };
  323.  
  324. UBYTE Rear5_GadSIBuff[4];
  325. struct StringInfo Rear5_GadSInfo = {
  326.     Rear5_GadSIBuff,
  327.     UNDOBUFFER,
  328.     0,
  329.     4,
  330.     0,
  331.     0,0,0,0,0,
  332.     0,
  333.     0,
  334.     NULL
  335. };
  336.  
  337. SHORT BorderVectors4[] = {
  338.     0,0,
  339.     58,0,
  340.     58,10,
  341.     0,10,
  342.     0,0
  343. };
  344. struct Border Border4 = {
  345.     -2,-1,
  346.     3,0,JAM1,
  347.     5,
  348.     BorderVectors4,
  349.     NULL
  350. };
  351.  
  352. struct Gadget Rear5_Gad = {
  353.     &Rear7_Gad,
  354.     95,111,
  355.     55,9,
  356.     NULL,
  357.     STRINGCENTER+LONGINT,
  358.     STRGADGET,
  359.     (APTR)&Border4,
  360.     NULL,
  361.     NULL,
  362.     NULL,
  363.     (APTR)&Rear5_GadSInfo,
  364.     NULL,
  365.     NULL
  366. };
  367.  
  368. UBYTE Rear4_GadSIBuff[4];
  369. struct StringInfo Rear4_GadSInfo = {
  370.     Rear4_GadSIBuff,
  371.     UNDOBUFFER,
  372.     0,
  373.     4,
  374.     0,
  375.     0,0,0,0,0,
  376.     0,
  377.     0,
  378.     NULL
  379. };
  380.  
  381. SHORT BorderVectors5[] = {
  382.     0,0,
  383.     58,0,
  384.     58,10,
  385.     0,10,
  386.     0,0
  387. };
  388. struct Border Border5 = {
  389.     -2,-1,
  390.     3,0,JAM1,
  391.     5,
  392.     BorderVectors5,
  393.     NULL
  394. };
  395.  
  396. struct Gadget Rear4_Gad = {
  397.     &Rear5_Gad,
  398.     95,92,
  399.     55,9,
  400.     NULL,
  401.     STRINGCENTER+LONGINT,
  402.     STRGADGET,
  403.     (APTR)&Border5,
  404.     NULL,
  405.     NULL,
  406.     NULL,
  407.     (APTR)&Rear4_GadSInfo,
  408.     NULL,
  409.     NULL
  410. };
  411.  
  412. UBYTE Rear3_GadSIBuff[4];
  413. struct StringInfo Rear3_GadSInfo = {
  414.     Rear3_GadSIBuff,
  415.     UNDOBUFFER,
  416.     0,
  417.     4,
  418.     0,
  419.     0,0,0,0,0,
  420.     0,
  421.     0,
  422.     NULL
  423. };
  424.  
  425. SHORT BorderVectors6[] = {
  426.     0,0,
  427.     58,0,
  428.     58,10,
  429.     0,10,
  430.     0,0
  431. };
  432. struct Border Border6 = {
  433.     -2,-1,
  434.     3,0,JAM1,
  435.     5,
  436.     BorderVectors6,
  437.     NULL
  438. };
  439.  
  440. struct Gadget Rear3_Gad = {
  441.     &Rear4_Gad,
  442.     95,73,
  443.     55,9,
  444.     NULL,
  445.     STRINGCENTER+LONGINT,
  446.     STRGADGET,
  447.     (APTR)&Border6,
  448.     NULL,
  449.     NULL,
  450.     NULL,
  451.     (APTR)&Rear3_GadSInfo,
  452.     NULL,
  453.     NULL
  454. };
  455.  
  456. UBYTE Rear2_GadSIBuff[4];
  457. struct StringInfo Rear2_GadSInfo = {
  458.     Rear2_GadSIBuff,
  459.     UNDOBUFFER,
  460.     0,
  461.     4,
  462.     0,
  463.     0,0,0,0,0,
  464.     0,
  465.     0,
  466.     NULL
  467. };
  468.  
  469. SHORT BorderVectors7[] = {
  470.     0,0,
  471.     58,0,
  472.     58,10,
  473.     0,10,
  474.     0,0
  475. };
  476. struct Border Border7 = {
  477.     -2,-1,
  478.     3,0,JAM1,
  479.     5,
  480.     BorderVectors7,
  481.     NULL
  482. };
  483.  
  484. struct Gadget Rear2_Gad = {
  485.     &Rear3_Gad,
  486.     95,54,
  487.     55,9,
  488.     NULL,
  489.     STRINGCENTER+LONGINT,
  490.     STRGADGET,
  491.     (APTR)&Border7,
  492.     NULL,
  493.     NULL,
  494.     NULL,
  495.     (APTR)&Rear2_GadSInfo,
  496.     NULL,
  497.     NULL
  498. };
  499.  
  500. UBYTE Rear1_GadSIBuff[4];
  501. struct StringInfo Rear1_GadSInfo = {
  502.     Rear1_GadSIBuff,
  503.     UNDOBUFFER,
  504.     0,
  505.     4,
  506.     0,
  507.     0,0,0,0,0,
  508.     0,
  509.     0,
  510.     NULL
  511. };
  512.  
  513. SHORT BorderVectors8[] = {
  514.     0,0,
  515.     58,0,
  516.     58,10,
  517.     0,10,
  518.     0,0
  519. };
  520. struct Border Border8 = {
  521.     -2,-1,
  522.     3,0,JAM1,
  523.     5,
  524.     BorderVectors8,
  525.     NULL
  526. };
  527.  
  528. struct Gadget Rear1_Gad = {
  529.     &Rear2_Gad,
  530.     95,35,
  531.     55,9,
  532.     NULL,
  533.     STRINGCENTER+LONGINT,
  534.     STRGADGET,
  535.     (APTR)&Border8,
  536.     NULL,
  537.     NULL,
  538.     NULL,
  539.     (APTR)&Rear1_GadSInfo,
  540.     NULL,
  541.     NULL
  542. };
  543.  
  544. UBYTE Front3_GadSIBuff[4];
  545. struct StringInfo Front3_GadSInfo = {
  546.     Front3_GadSIBuff,
  547.     UNDOBUFFER,
  548.     0,
  549.     4,
  550.     0,
  551.     0,0,0,0,0,
  552.     0,
  553.     0,
  554.     NULL
  555. };
  556.  
  557. SHORT BorderVectors9[] = {
  558.     0,0,
  559.     58,0,
  560.     58,10,
  561.     0,10,
  562.     0,0
  563. };
  564. struct Border Border9 = {
  565.     -2,-1,
  566.     4,0,JAM1,
  567.     5,
  568.     BorderVectors9,
  569.     NULL
  570. };
  571.  
  572. struct Gadget Front3_Gad = {
  573.     &Rear1_Gad,
  574.     14,73,
  575.     55,9,
  576.     GADGDISABLED,
  577.     STRINGCENTER+LONGINT,
  578.     STRGADGET,
  579.     (APTR)&Border9,
  580.     NULL,
  581.     NULL,
  582.     NULL,
  583.     (APTR)&Front3_GadSInfo,
  584.     NULL,
  585.     NULL
  586. };
  587.  
  588. UBYTE Front2_GadSIBuff[4];
  589. struct StringInfo Front2_GadSInfo = {
  590.     Front2_GadSIBuff,
  591.     UNDOBUFFER,
  592.     0,
  593.     4,
  594.     0,
  595.     0,0,0,0,0,
  596.     0,
  597.     0,
  598.     NULL
  599. };
  600.  
  601. SHORT BorderVectors10[] = {
  602.     0,0,
  603.     58,0,
  604.     58,10,
  605.     0,10,
  606.     0,0
  607. };
  608. struct Border Border10 = {
  609.     -2,-1,
  610.     4,0,JAM1,
  611.     5,
  612.     BorderVectors10,
  613.     NULL
  614. };
  615.  
  616. struct Gadget Front2_Gad = {
  617.     &Front3_Gad,
  618.     14,54,
  619.     55,9,
  620.     NULL,
  621.     STRINGCENTER+LONGINT,
  622.     STRGADGET,
  623.     (APTR)&Border10,
  624.     NULL,
  625.     NULL,
  626.     NULL,
  627.     (APTR)&Front2_GadSInfo,
  628.     NULL,
  629.     NULL
  630. };
  631.  
  632. UBYTE Front1_GadSIBuff[4];
  633. struct StringInfo Front1_GadSInfo = {
  634.     Front1_GadSIBuff,
  635.     UNDOBUFFER,
  636.     0,
  637.     4,
  638.     0,
  639.     0,0,0,0,0,
  640.     0,
  641.     0,
  642.     NULL
  643. };
  644.  
  645. SHORT BorderVectors11[] = {
  646.     0,0,
  647.     58,0,
  648.     58,10,
  649.     0,10,
  650.     0,0
  651. };
  652. struct Border Border11 = {
  653.     -2,-1,
  654.     4,0,JAM1,
  655.     5,
  656.     BorderVectors11,
  657.     NULL
  658. };
  659.  
  660. struct Gadget Front1_Gad = {
  661.     &Front2_Gad,
  662.     14,35,
  663.     55,9,
  664.     NULL,
  665.     STRINGCENTER+LONGINT,
  666.     STRGADGET,
  667.     (APTR)&Border11,
  668.     NULL,
  669.     NULL,
  670.     NULL,
  671.     (APTR)&Front1_GadSInfo,
  672.     NULL,
  673.     NULL
  674. };
  675.  
  676. #define GadgetList1 Front1_Gad
  677.  
  678. struct IntuiText IText1 = {
  679.     3,1,COMPLEMENT,
  680.     19,0,
  681.     NULL,
  682.     (UBYTE *)"7",
  683.     NULL
  684. };
  685.  
  686. struct MenuItem SubItem5 = {
  687.     NULL,
  688.     57,24,
  689.     27,8,
  690.     CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,
  691.     15,
  692.     (APTR)&IText1,
  693.     NULL,
  694.     NULL,
  695.     NULL,
  696.     MENUNULL
  697. };
  698.  
  699. struct IntuiText IText2 = {
  700.     3,1,COMPLEMENT,
  701.     19,0,
  702.     NULL,
  703.     (UBYTE *)"6",
  704.     NULL
  705. };
  706.  
  707. struct MenuItem SubItem4 = {
  708.     &SubItem5,
  709.     57,16,
  710.     27,8,
  711.     CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP+CHECKED,
  712.     23,
  713.     (APTR)&IText2,
  714.     NULL,
  715.     NULL,
  716.     NULL,
  717.     MENUNULL
  718. };
  719.  
  720. struct IntuiText IText3 = {
  721.     3,1,COMPLEMENT,
  722.     19,0,
  723.     NULL,
  724.     (UBYTE *)"5",
  725.     NULL
  726. };
  727.  
  728. struct MenuItem SubItem3 = {
  729.     &SubItem4,
  730.     57,8,
  731.     27,8,
  732.     CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,
  733.     27,
  734.     (APTR)&IText3,
  735.     NULL,
  736.     NULL,
  737.     NULL,
  738.     MENUNULL
  739. };
  740.  
  741. struct IntuiText IText4 = {
  742.     3,1,COMPLEMENT,
  743.     19,0,
  744.     NULL,
  745.     (UBYTE *)"4",
  746.     NULL
  747. };
  748.  
  749. struct MenuItem SubItem2 = {
  750.     &SubItem3,
  751.     57,0,
  752.     27,8,
  753.     CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,
  754.     29,
  755.     (APTR)&IText4,
  756.     NULL,
  757.     NULL,
  758.     NULL,
  759.     MENUNULL
  760. };
  761.  
  762. struct IntuiText IText5 = {
  763.     3,1,COMPLEMENT,
  764.     19,0,
  765.     NULL,
  766.     (UBYTE *)"3",
  767.     NULL
  768. };
  769.  
  770. struct MenuItem SubItem1 = {
  771.     &SubItem2,
  772.     57,-8,
  773.     27,8,
  774.     ITEMTEXT+ITEMENABLED+HIGHCOMP,
  775.     30,
  776.     (APTR)&IText5,
  777.     NULL,
  778.     NULL,
  779.     NULL,
  780.     MENUNULL
  781. };
  782.  
  783. struct IntuiText IText6 = {
  784.     3,1,COMPLEMENT,
  785.     0,0,
  786.     NULL,
  787.     (UBYTE *)"Rear",
  788.     NULL
  789. };
  790.  
  791. struct MenuItem MenuItem2 = {
  792.     NULL,
  793.     0,9,
  794.     72,8,
  795.     ITEMTEXT+ITEMENABLED+HIGHCOMP,
  796.     0,
  797.     (APTR)&IText6,
  798.     NULL,
  799.     NULL,
  800.     &SubItem1,
  801.     MENUNULL
  802. };
  803.  
  804. struct IntuiText IText7 = {
  805.     3,1,COMPLEMENT,
  806.     19,0,
  807.     NULL,
  808.     (UBYTE *)"3",
  809.     NULL
  810. };
  811.  
  812. struct MenuItem SubItem8 = {
  813.     NULL,
  814.     57,8,
  815.     27,8,
  816.     CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,
  817.     3,
  818.     (APTR)&IText7,
  819.     NULL,
  820.     NULL,
  821.     NULL,
  822.     MENUNULL
  823. };
  824.  
  825. struct IntuiText IText8 = {
  826.     3,1,COMPLEMENT,
  827.     19,0,
  828.     NULL,
  829.     (UBYTE *)"2",
  830.     NULL
  831. };
  832.  
  833. struct MenuItem SubItem7 = {
  834.     &SubItem8,
  835.     57,0,
  836.     27,8,
  837.     CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP+CHECKED,
  838.     5,
  839.     (APTR)&IText8,
  840.     NULL,
  841.     NULL,
  842.     NULL,
  843.     MENUNULL
  844. };
  845.  
  846. struct IntuiText IText9 = {
  847.     3,1,COMPLEMENT,
  848.     19,0,
  849.     NULL,
  850.     (UBYTE *)"1",
  851.     NULL
  852. };
  853.  
  854. struct MenuItem SubItem6 = {
  855.     &SubItem7,
  856.     57,-8,
  857.     27,8,
  858.     CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,
  859.     6,
  860.     (APTR)&IText9,
  861.     NULL,
  862.     NULL,
  863.     NULL,
  864.     MENUNULL
  865. };
  866.  
  867. struct IntuiText IText10 = {
  868.     3,1,COMPLEMENT,
  869.     0,0,
  870.     NULL,
  871.     (UBYTE *)"Front    ",
  872.     NULL
  873. };
  874.  
  875. struct MenuItem MenuItem1 = {
  876.     &MenuItem2,
  877.     0,0,
  878.     72,8,
  879.     ITEMTEXT+ITEMENABLED+HIGHCOMP,
  880.     0,
  881.     (APTR)&IText10,
  882.     NULL,
  883.     NULL,
  884.     &SubItem6,
  885.     MENUNULL
  886. };
  887.  
  888. struct Menu Menu2 = {
  889.     NULL,
  890.     82,0,
  891.     57,0,
  892.     MENUENABLED,
  893.     "Gears",
  894.     &MenuItem1
  895. };
  896.  
  897. struct IntuiText IText11 = {
  898.     3,1,COMPLEMENT,
  899.     0,0,
  900.     NULL,
  901.     (UBYTE *)"Quit",
  902.     NULL
  903. };
  904.  
  905. struct MenuItem MenuItem9 = {
  906.     NULL,
  907.     0,54,
  908.     88,8,
  909.     ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,
  910.     0,
  911.     (APTR)&IText11,
  912.     NULL,
  913.     'q',
  914.     NULL,
  915.     MENUNULL
  916. };
  917.  
  918. struct IntuiText IText12 = {
  919.     3,1,COMPLEMENT,
  920.     0,0,
  921.     NULL,
  922.     (UBYTE *)"ABOUT",
  923.     NULL
  924. };
  925.  
  926. struct MenuItem MenuItem8 = {
  927.     &MenuItem9,
  928.     0,45,
  929.     88,8,
  930.     ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,
  931.     0,
  932.     (APTR)&IText12,
  933.     NULL,
  934.     'a',
  935.     NULL,
  936.     MENUNULL
  937. };
  938.  
  939. struct IntuiText IText13 = {
  940.     3,1,COMPLEMENT,
  941.     0,0,
  942.     NULL,
  943.     (UBYTE *)"HELP",
  944.     NULL
  945. };
  946.  
  947. struct MenuItem MenuItem7 = {
  948.     &MenuItem8,
  949.     0,36,
  950.     88,8,
  951.     ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,
  952.     0,
  953.     (APTR)&IText13,
  954.     NULL,
  955.     'h',
  956.     NULL,
  957.     MENUNULL
  958. };
  959.  
  960. struct IntuiText IText14 = {
  961.     3,1,COMPLEMENT,
  962.     0,0,
  963.     NULL,
  964.     (UBYTE *)"COLORS",
  965.     NULL
  966. };
  967.  
  968. struct MenuItem MenuItem6 = {
  969.     &MenuItem7,
  970.     0,27,
  971.     88,8,
  972.     ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,
  973.     0,
  974.     (APTR)&IText14,
  975.     NULL,
  976.     'c',
  977.     NULL,
  978.     MENUNULL
  979. };
  980.  
  981. struct IntuiText IText15 = {
  982.     3,1,COMPLEMENT,
  983.     0,0,
  984.     NULL,
  985.     (UBYTE *)"PRINT",
  986.     NULL
  987. };
  988.  
  989. struct MenuItem MenuItem5 = {
  990.     &MenuItem6,
  991.     0,18,
  992.     88,8,
  993.     ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,
  994.     0,
  995.     (APTR)&IText15,
  996.     NULL,
  997.     'p',
  998.     NULL,
  999.     MENUNULL
  1000. };
  1001.  
  1002. struct IntuiText IText16 = {
  1003.     3,1,COMPLEMENT,
  1004.     0,0,
  1005.     NULL,
  1006.     (UBYTE *)"SAVE",
  1007.     NULL
  1008. };
  1009.  
  1010. struct MenuItem MenuItem4 = {
  1011.     &MenuItem5,
  1012.     0,9,
  1013.     88,8,
  1014.     ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,
  1015.     0,
  1016.     (APTR)&IText16,
  1017.     NULL,
  1018.     's',
  1019.     NULL,
  1020.     MENUNULL
  1021. };
  1022.  
  1023. struct IntuiText IText17 = {
  1024.     3,1,COMPLEMENT,
  1025.     0,0,
  1026.     NULL,
  1027.     (UBYTE *)"LOAD",
  1028.     NULL
  1029. };
  1030.  
  1031. struct MenuItem MenuItem3 = {
  1032.     &MenuItem4,
  1033.     0,0,
  1034.     88,8,
  1035.     ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,
  1036.     0,
  1037.     (APTR)&IText17,
  1038.     NULL,
  1039.     'l',
  1040.     NULL,
  1041.     MENUNULL
  1042. };
  1043.  
  1044. struct Menu Menu1 = {
  1045.     &Menu2,
  1046.     0,0,
  1047.     75,0,
  1048.     MENUENABLED,
  1049.     "Project",
  1050.     &MenuItem3
  1051. };
  1052.  
  1053. #define MenuList1 Menu1
  1054.  
  1055. struct IntuiText IText21 = {
  1056.     3,0,JAM2,
  1057.     511,14,
  1058.     NULL,
  1059.     (UBYTE *)"Wheel Diameter",
  1060.     NULL
  1061. };
  1062.  
  1063. struct IntuiText IText20 = {
  1064.     3,0,JAM2,
  1065.     107,24,
  1066.     NULL,
  1067.     (UBYTE *)"Rear",
  1068.     &IText21
  1069. };
  1070.  
  1071. struct IntuiText IText19 = {
  1072.     4,0,JAM2,
  1073.     23,24,
  1074.     NULL,
  1075.     (UBYTE *)"Front",
  1076.     &IText20
  1077. };
  1078.  
  1079. struct IntuiText IText18 = {
  1080.     5,0,JAM2,
  1081.     37,13,
  1082.     NULL,
  1083.     (UBYTE *)"Enter Gears",
  1084.     &IText19
  1085. };
  1086.  
  1087. #define IntuiTextList1 IText18
  1088.  
  1089. struct NewWindow NewWindowStructure1 = {
  1090.     0,10,
  1091.     636,215,
  1092.     3,2,
  1093.     GADGETUP+MENUPICK+CLOSEWINDOW,
  1094.     WINDOWCLOSE,
  1095.     &Front1_Gad,
  1096.     NULL,
  1097.     (UBYTE *)"The Bicycle Gearing Calculator",
  1098.     NULL,
  1099.     NULL,
  1100.     5,5,
  1101.     640,200,
  1102.     CUSTOMSCREEN
  1103. };
  1104.