home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 100-199 / ff193.lzh / KeyMapEd / Source / KME_Gadgets.h < prev    next >
C/C++ Source or Header  |  1989-03-13  |  56KB  |  1,832 lines

  1. /*
  2.  * Key Map Editor Gadget Definitions
  3.  *
  4.  * by: Tim Friest
  5.  * on: December 31, 1988
  6.  * using: Power Windows v2.5
  7.  */
  8.  
  9. /*
  10.  * Define images needed for key gadgets
  11.  */
  12.  
  13. USHORT chip CapsOffImageData[] = {
  14.     0x7FFF,0xF800,0x4000,0x0800,0x4E00,0x0800,0x5100,0x0800,
  15.     0x5067,0x0800,0x5034,0x8800,0x5154,0x8800,0x4E77,0x0800,
  16.     0x4004,0x0800,0x7FFF,0xF800,0x0000,0x0000,0x8000,0x0600,
  17.     0x8000,0xE600,0x8E00,0xE600,0x9100,0x0600,0x9067,0x0600,
  18.     0x9034,0x8600,0x9154,0x8600,0x8E77,0x0600,0x8004,0x0600,
  19.     0x8000,0x0600,0xFFFF,0xFE00
  20. };
  21.  
  22. struct Image CapsOffImage = {
  23.     -2,-1,    /* origin */
  24.     23,11,    /* width and height */
  25.     2,    /* number of bitplanes */
  26.     CapsOffImageData,    /* pointer to ImageData */
  27.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  28.     NULL    /* next Image */
  29. };
  30.  
  31. SHORT chip CapsOnImageData[] = {
  32.     0x7FFF,0xF800,0x4003,0xE800,0x4E03,0xE800,0x5103,0xE800,
  33.     0x5067,0x0800,0x5034,0x8800,0x5154,0x8800,0x4E77,0x0800,
  34.     0x4004,0x0800,0x7FFF,0xF800,0x0000,0x0000,0x8000,0x0600,
  35.     0x8003,0xE600,0x8E03,0xE600,0x9103,0xE600,0x9067,0x0600,
  36.     0x9034,0x8600,0x9154,0x8600,0x8E77,0x0600,0x8004,0x0600,
  37.     0x8000,0x0600,0xFFFF,0xFE00
  38. };
  39.  
  40. struct Image CapsOnImage = {
  41.     -2,-1,    /* origin */
  42.     23,11,    /* width and height */
  43.     2,    /* number of bitplanes */
  44.     CapsOnImageData,    /* pointer to ImageData */
  45.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  46.     NULL    /* next Image */
  47. };
  48.  
  49. USHORT chip SpaceImageData[] = {
  50.     0x7FFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  51.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0x0000,0x4000,
  52.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  53.     0x0000,0x0000,0x0000,0x0000,0x0001,0x0000,0x4000,0x0000,
  54.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  55.     0x0000,0x0000,0x0000,0x0001,0x0000,0x4000,0x0000,0x0000,
  56.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  57.     0x0000,0x0000,0x0001,0x0000,0x4000,0x0000,0x0000,0x0000,
  58.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  59.     0x0000,0x0001,0x0000,0x4000,0x0000,0x0000,0x0000,0x0000,
  60.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  61.     0x0001,0x0000,0x4000,0x0000,0x0000,0x0000,0x0000,0x0000,
  62.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0001,
  63.     0x0000,0x4000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  64.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0001,0x0000,
  65.     0x4000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  66.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0001,0x0000,0x7FFF,
  67.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  68.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0x0000,0x0000,0x0000,
  69.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  70.     0x0000,0x0000,0x0000,0x0000,0x0000,0x8000,0x0000,0x0000,
  71.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  72.     0x0000,0x0000,0x0000,0xE000,0x8000,0x0000,0x0000,0x0000,
  73.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  74.     0x0000,0x0000,0xE000,0x8000,0x0000,0x0000,0x0000,0x0000,
  75.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  76.     0x0000,0xE000,0x8000,0x0000,0x0000,0x0000,0x0000,0x0000,
  77.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  78.     0xE000,0x8000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  79.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xE000,
  80.     0x8000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  81.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0xE000,0x8000,
  82.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  83.     0x0000,0x0000,0x0000,0x0000,0x0000,0xE000,0x8000,0x0000,
  84.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  85.     0x0000,0x0000,0x0000,0x0000,0xE000,0x8000,0x0000,0x0000,
  86.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  87.     0x0000,0x0000,0x0000,0xE000,0x8000,0x0000,0x0000,0x0000,
  88.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  89.     0x0000,0x0000,0xE000,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  90.     0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
  91.     0xFFFF,0xE000
  92. };
  93.  
  94. struct Image SpaceImage = {
  95.     -2,-1,    /* origin */
  96.     227,11,    /* width and height */
  97.     2,    /* number of bitplanes */
  98.     SpaceImageData,    /* pointer to ImageData */
  99.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  100.     NULL    /* next Image */
  101. };
  102.  
  103. USHORT chip ReturnImageData[] = {
  104.     0x0000,0x01FF,0xFFFF,0x0000,0x0000,0x0100,0x0001,0x0000,
  105.     0x0000,0x0100,0x0001,0x0000,0x0000,0x0100,0x0001,0x0000,
  106.     0x0000,0x0100,0x0001,0x0000,0x0000,0x0100,0x0001,0x0000,
  107.     0x0000,0x0100,0x0001,0x0000,0x0000,0x0100,0x0001,0x0000,
  108.     0x0000,0x0100,0x0001,0x0000,0x0000,0x0100,0x0001,0x0000,
  109.     0x0000,0x0100,0x0001,0x0000,0x0000,0x0100,0x0001,0x0000,
  110.     0x0000,0x0100,0x0001,0x0000,0x7FFF,0xFF00,0x0001,0x0000,
  111.     0x4000,0x0000,0x0001,0x0000,0x4000,0x0000,0x0001,0x0000,
  112.     0x4000,0x0000,0x0001,0x0000,0x4000,0x0000,0x0001,0x0000,
  113.     0x4000,0x0000,0x0001,0x0000,0x4000,0x0000,0x0001,0x0000,
  114.     0x4000,0x0000,0x0001,0x0000,0x4000,0x0000,0x0001,0x0000,
  115.     0x7FFF,0xFFFF,0xFFFF,0x0000,0x0000,0x0000,0x0000,0x0000,
  116.     0x0000,0x0200,0x0000,0xC000,0x0000,0x0200,0x0000,0xC000,
  117.     0x0000,0x0200,0x0000,0xC000,0x0000,0x0200,0x0000,0xC000,
  118.     0x0000,0x0200,0x0000,0xC000,0x0000,0x0200,0x0000,0xC000,
  119.     0x0000,0x0200,0x0000,0xC000,0x0000,0x0200,0x0000,0xC000,
  120.     0x0000,0x0200,0x0000,0xC000,0x0000,0x0200,0x0000,0xC000,
  121.     0x0000,0x0200,0x0000,0xC000,0x0000,0x0200,0x0000,0xC000,
  122.     0x0000,0x0200,0x0000,0xC000,0x8000,0x0000,0x0000,0xC000,
  123.     0x8000,0x0000,0x0000,0xC000,0x8000,0x0000,0x0000,0xC000,
  124.     0x8000,0x0000,0x0000,0xC000,0x8000,0x0000,0x0000,0xC000,
  125.     0x8000,0x0000,0x0000,0xC000,0x8000,0x0000,0x0000,0xC000,
  126.     0x8000,0x0000,0x0000,0xC000,0x8000,0x0000,0x0000,0xC000,
  127.     0x8000,0x0000,0x0000,0xC000,0xFFFF,0xFFFF,0xFFFF,0xC000
  128. };
  129.  
  130. struct Image ReturnImage = {
  131.     -2,-1,    /* origin */
  132.     50,24,    /* width and height */
  133.     2,    /* number of bitplanes */
  134.     ReturnImageData,    /* ImageData */
  135.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  136.     NULL    /* next Image */
  137. };
  138.  
  139. USHORT chip ReturnMaskData[] = {
  140.     0x0000,0x03FF,0xFFF8,0x0000,0x03FF,0xFFF8,0x0000,0x03FF,
  141.     0xFFF8,0x0000,0x03FF,0xFFF8,0x0000,0x03FF,0xFFF8,0x0000,
  142.     0x03FF,0xFFF8,0x0000,0x03FF,0xFFF8,0x0000,0x03FF,0xFFF8,
  143.     0x0000,0x03FF,0xFFF8,0x0000,0x03FF,0xFFF8,0x0000,0x03FF,
  144.     0xFFF8,0x0000,0x03FF,0xFFF8,0x0000,0x03FF,0xFFF8,0xFFFF,
  145.     0xFFFF,0xFFF8,0xFFFF,0xFFFF,0xFFF8,0xFFFF,0xFFFF,0xFFF8,
  146.     0xFFFF,0xFFFF,0xFFF8,0xFFFF,0xFFFF,0xFFF8,0xFFFF,0xFFFF,
  147.     0xFFF8,0xFFFF,0xFFFF,0xFFF8,0xFFFF,0xFFFF,0xFFF8
  148. };
  149.  
  150. struct BoolInfo ReturnMaskBoolInfo = {
  151.     BOOLMASK,    /* type */
  152.     ReturnMaskData,    /* Mask Image */
  153.     NULL    /* reserved */
  154. };
  155.  
  156. USHORT chip CtrlImageData[] = {
  157.     0x7FFF,0xFFC0,0x4000,0x0040,0x4E10,0x0840,0x5110,0x0840,
  158.     0x5039,0xC840,0x5011,0x0840,0x5111,0x0840,0x4E11,0x0840,
  159.     0x4000,0x0040,0x7FFF,0xFFC0,0x0000,0x0000,0x8000,0x0030,
  160.     0x8000,0x0030,0x8E10,0x0830,0x9110,0x0830,0x9039,0xC830,
  161.     0x9011,0x0830,0x9111,0x0830,0x8E11,0x0830,0x8000,0x0030,
  162.     0x8000,0x0030,0xFFFF,0xFFF0
  163. };
  164.  
  165. struct Image CtrlImage = {
  166.     -2,-1,    /* origin */
  167.     28,11,    /* width and height */
  168.     2,    /* number of bitplanes */
  169.     CtrlImageData,    /* pointer to ImageData */
  170.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  171.     NULL    /* next Image */
  172. };
  173.  
  174. USHORT chip DoubleHighImageData[] = {
  175.     0x7FFF,0xF000,0x4000,0x1000,0x4000,0x1000,0x4000,0x1000,
  176.     0x4000,0x1000,0x4000,0x1000,0x4000,0x1000,0x4000,0x1000,
  177.     0x4000,0x1000,0x4000,0x1000,0x4000,0x1000,0x4000,0x1000,
  178.     0x4000,0x1000,0x4000,0x1000,0x4000,0x1000,0x4000,0x1000,
  179.     0x4000,0x1000,0x4000,0x1000,0x4000,0x1000,0x4000,0x1000,
  180.     0x4000,0x1000,0x4000,0x1000,0x7FFF,0xF000,0x0000,0x0000,
  181.     0x8000,0x0C00,0x8000,0x0C00,0x8000,0x0C00,0x8000,0x0C00,
  182.     0x8000,0x0C00,0x8000,0x0C00,0x8000,0x0C00,0x8000,0x0C00,
  183.     0x8000,0x0C00,0x8000,0x0C00,0x8000,0x0C00,0x8000,0x0C00,
  184.     0x8000,0x0C00,0x8000,0x0C00,0x8000,0x0C00,0x8000,0x0C00,
  185.     0x8000,0x0C00,0x8000,0x0C00,0x8000,0x0C00,0x8000,0x0C00,
  186.     0x8000,0x0C00,0x8000,0x0C00,0x8000,0x0C00,0xFFFF,0xFC00
  187. };
  188.  
  189. struct Image DoubleHighImage = {
  190.     -2,-1,    /* origin */
  191.     22,24,    /* width and height */
  192.     2,    /* number of bitplanes */
  193.     DoubleHighImageData,    /* pointer to ImageData */
  194.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  195.     NULL    /* next Image */
  196. };
  197.  
  198. USHORT chip DoubleWideImageData[] = {
  199.     0x7FFF,0xFFFF,0xFFFE,0x0000,0x4000,0x0000,0x0002,0x0000,
  200.     0x4000,0x0000,0x0002,0x0000,0x4000,0x0000,0x0002,0x0000,
  201.     0x4000,0x0000,0x0002,0x0000,0x4000,0x0000,0x0002,0x0000,
  202.     0x4000,0x0000,0x0002,0x0000,0x4000,0x0000,0x0002,0x0000,
  203.     0x4000,0x0000,0x0002,0x0000,0x7FFF,0xFFFF,0xFFFE,0x0000,
  204.     0x0000,0x0000,0x0000,0x0000,0x8000,0x0000,0x0001,0x8000,
  205.     0x8000,0x0000,0x0001,0x8000,0x8000,0x0000,0x0001,0x8000,
  206.     0x8000,0x0000,0x0001,0x8000,0x8000,0x0000,0x0001,0x8000,
  207.     0x8000,0x0000,0x0001,0x8000,0x8000,0x0000,0x0001,0x8000,
  208.     0x8000,0x0000,0x0001,0x8000,0x8000,0x0000,0x0001,0x8000,
  209.     0x8000,0x0000,0x0001,0x8000,0xFFFF,0xFFFF,0xFFFF,0x8000
  210. };
  211.  
  212. struct Image DoubleWideImage = {
  213.     -2,-1,    /* origin */
  214.     49,11,    /* width and height */
  215.     2,    /* number of bitplanes */
  216.     DoubleWideImageData,    /* pointer to ImageData */
  217.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  218.     NULL    /* next Image */
  219. };
  220.  
  221. USHORT chip AltImageData[] = {
  222.     0x7FFF,0xFFE0,0x4000,0x0020,0x4208,0x8020,0x4508,0x8020,
  223.     0x4889,0xC020,0x5FC8,0x8020,0x5048,0x8020,0x5048,0x8020,
  224.     0x4000,0x0020,0x7FFF,0xFFE0,0x0000,0x0000,0x8000,0x0018,
  225.     0x8000,0x0018,0x8208,0x8018,0x8508,0x8018,0x8889,0xC018,
  226.     0x9FC8,0x8018,0x9048,0x8018,0x9048,0x8018,0x8000,0x0018,
  227.     0x8000,0x0018,0xFFFF,0xFFF8
  228. };
  229.  
  230. struct Image AltImage = {
  231.     -2,-1,    /* origin */
  232.     29,11,    /* width and height */
  233.     2,    /* number of bitplanes */
  234.     AltImageData,    /* pointer to ImageData */
  235.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  236.     NULL    /* next Image */
  237. };
  238.  
  239. USHORT chip ShiftImageData[] = {
  240.     0x7FFF,0xFFFF,0xFFFF,0xFFFE,0x0000,0x4000,0x0000,0x0000,
  241.     0x0002,0x0000,0x4100,0x0000,0x0000,0x0002,0x0000,0x4280,
  242.     0x0000,0x0000,0x0002,0x0000,0x4440,0x0000,0x0000,0x0002,
  243.     0x0000,0x4EE0,0x0000,0x0000,0x0002,0x0000,0x4280,0x0000,
  244.     0x0000,0x0002,0x0000,0x4380,0x0000,0x0000,0x0002,0x0000,
  245.     0x4000,0x0000,0x0000,0x0002,0x0000,0x7FFF,0xFFFF,0xFFFF,
  246.     0xFFFE,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x8000,
  247.     0x0000,0x0000,0x0001,0x8000,0x8000,0x0000,0x0000,0x0001,
  248.     0x8000,0x8100,0x0000,0x0000,0x0001,0x8000,0x8280,0x0000,
  249.     0x0000,0x0001,0x8000,0x8440,0x0000,0x0000,0x0001,0x8000,
  250.     0x8EE0,0x0000,0x0000,0x0001,0x8000,0x8280,0x0000,0x0000,
  251.     0x0001,0x8000,0x8380,0x0000,0x0000,0x0001,0x8000,0x8000,
  252.     0x0000,0x0000,0x0001,0x8000,0x8000,0x0000,0x0000,0x0001,
  253.     0x8000,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0x8000
  254. };
  255.  
  256. struct Image ShiftImage = {
  257.     -2,-1,    /* origin */
  258.     65,11,    /* width and height */
  259.     2,    /* number of bitplanes */
  260.     ShiftImageData,    /* pointer to ImageData */
  261.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  262.     NULL    /* next Image */
  263. };
  264.  
  265. USHORT chip ApplImageData[] = {
  266.     0x7FFF,0xFFFF,0xE000,0x4000,0x0000,0x2000,0x4000,0x0000,
  267.     0x2000,0x4000,0x0000,0x2000,0x4000,0x0000,0x2000,0x4000,
  268.     0x0000,0x2000,0x4000,0x0000,0x2000,0x4000,0x0000,0x2000,
  269.     0x4000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0x0000,0x0000,
  270.     0x0000,0x8000,0x0000,0x1800,0x8000,0x0000,0x1800,0x8000,
  271.     0x0000,0x1800,0x8000,0x0000,0x1800,0x8000,0x0000,0x1800,
  272.     0x8000,0x0000,0x1800,0x8000,0x0000,0x1800,0x8000,0x0000,
  273.     0x1800,0x8000,0x0000,0x1800,0x8000,0x0000,0x1800,0xFFFF,
  274.     0xFFFF,0xF800
  275. };
  276.  
  277. struct Image ApplImage = {
  278.     -2,-1,    /* origin */
  279.     37,11,    /* width and height */
  280.     2,    /* number of bitplanes */
  281.     ApplImageData,    /* pointer to ImageData */
  282.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  283.     NULL    /* next Image */
  284. };
  285.  
  286. USHORT chip FuncImageData[] = {
  287.     0x7FFF,0xFFE0,0x4000,0x0020,0x4000,0x0020,0x4000,0x0020,
  288.     0x4000,0x0020,0x4000,0x0020,0x4000,0x0020,0x4000,0x0020,
  289.     0x4000,0x0020,0x7FFF,0xFFE0,0x0000,0x0000,0x8000,0x0018,
  290.     0x8000,0x0018,0x8000,0x0018,0x8000,0x0018,0x8000,0x0018,
  291.     0x8000,0x0018,0x8000,0x0018,0x8000,0x0018,0x8000,0x0018,
  292.     0x8000,0x0018,0xFFFF,0xFFF8
  293. };
  294.  
  295. struct Image FuncImage = {
  296.     -2,-1,    /* origin */
  297.     29,11,    /* width and height */
  298.     2,    /* number of bitplanes */
  299.     FuncImageData,    /* pointer to ImageData */
  300.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  301.     NULL    /* next Image */
  302. };
  303.  
  304. USHORT chip KeyImageData[] = {
  305.     0x7FFF,0xF800,0x4000,0x0800,0x4000,0x0800,0x4000,0x0800,
  306.     0x4000,0x0800,0x4000,0x0800,0x4000,0x0800,0x4000,0x0800,
  307.     0x4000,0x0800,0x7FFF,0xF800,0x0000,0x0000,0x8000,0x0600,
  308.     0x8000,0x0600,0x8000,0x0600,0x8000,0x0600,0x8000,0x0600,
  309.     0x8000,0x0600,0x8000,0x0600,0x8000,0x0600,0x8000,0x0600,
  310.     0x8000,0x0600,0xFFFF,0xFE00
  311. };
  312.  
  313. struct Image KeyImage = {
  314.     -2,-1,    /* origin */
  315.     23,11,    /* width and height */
  316.     2,    /* number of bitplanes */
  317.     KeyImageData,    /* pointer to ImageData */
  318.     0x0003,0x0000,    /* PlanePick and PlaneOnOff */
  319.     NULL    /* next Image */
  320. };
  321.  
  322. /*
  323.  * Define Key Map Editor gadget structures
  324.  */
  325.  
  326. struct Gadget RightAmigaGadget = {
  327.     NULL,    /* next gadget */
  328.     337,86,    /* origin of hit box */
  329.     24,8,    /* hit box width and height */
  330.     GADGHNONE|GADGIMAGE|GADGDISABLED,    /* flags */
  331.     NULL,    /* activation flags */
  332.     BOOLGADGET,    /* type flags */
  333.     (APTR)&FuncImage,    /* render Image */
  334.     NULL,    /* select image */
  335.     NULL,    /* IntuiText list */
  336.     NULL,    /* mutual-exclude (unused) */
  337.     NULL,    /* SpecialInfo structure */
  338.     0x67,    /* GadgetID = Raw Key Code */
  339.     NULL    /* user data */
  340. };
  341.  
  342. struct Gadget LeftAmigaGadget = {
  343.     &RightAmigaGadget,    /* next gadget */
  344.     75,86,    /* origin of hit box */
  345.     24,8,    /* hit box width and height */
  346.     GADGHNONE|GADGIMAGE|GADGDISABLED,    /* flags */
  347.     NULL,    /* activation flags */
  348.     BOOLGADGET,    /* type flags */
  349.     (APTR)&FuncImage,    /* render Image */
  350.     NULL,    /* select image */
  351.     NULL,    /* IntuiText list */
  352.     NULL,    /* mutual-exclude (unused) */
  353.     NULL,    /* SpecialInfo structure */
  354.     0x66,    /* GadgetID = Raw Key Code */
  355.     NULL    /* user data */
  356. };
  357.  
  358. struct Gadget RightAltGadget = {
  359.     &LeftAmigaGadget,    /* next gadget */
  360.     370,86,    /* origin of hit box */
  361.     24,8,    /* hit box width and height */
  362.     GADGHCOMP|GADGIMAGE,    /* flags */
  363.     RELVERIFY|TOGGLESELECT,    /* activation flags */
  364.     BOOLGADGET,    /* type flags */
  365.     (APTR)&AltImage,    /* render Image */
  366.     NULL,    /* select image */
  367.     NULL,    /* IntuiText list */
  368.     NULL,    /* mutual-exclude (unused) */
  369.     NULL,    /* SpecialInfo structure */
  370.     0x65,    /* GadgetID = Raw Key Code */
  371.     NULL    /* user data */
  372. };
  373.  
  374. struct Gadget LeftAltGadget = {
  375.     &RightAltGadget,    /* next gadget */
  376.     43,86,    /* origin of hit box */
  377.     24,8,    /* hit box width and height */
  378.     GADGHCOMP|GADGIMAGE,    /* flags */
  379.     RELVERIFY|TOGGLESELECT,    /* activation flags */
  380.     BOOLGADGET,    /* type flags */
  381.     (APTR)&AltImage,    /* render Image */
  382.     NULL,    /* select image */
  383.     NULL,    /* IntuiText list */
  384.     NULL,    /* mutual-exclude (unused) */
  385.     NULL,    /* SpecialInfo structure */
  386.     0x64,    /* GadgetID = Raw Key Code */
  387.     NULL    /* user data */
  388. };
  389.  
  390. struct Gadget CtrlGadget = {
  391.     &LeftAltGadget,    /* next gadget */
  392.     24,60,    /* origin of hit box */
  393.     23,8,    /* hit box width and height */
  394.     GADGHCOMP|GADGIMAGE,    /* flags */
  395.     RELVERIFY|TOGGLESELECT,    /* activation flags */
  396.     BOOLGADGET,    /* type flags */
  397.     (APTR)&CtrlImage,    /* render Image */
  398.     NULL,    /* select image */
  399.     NULL,    /* IntuiText list */
  400.     NULL,    /* mutual-exclude (unused) */
  401.     NULL,    /* SpecialInfo structure */
  402.     0x63,    /* GadgetID = Raw Key Code */
  403.     NULL    /* user data */
  404. };
  405.  
  406. struct Gadget CapsLockGadget = {
  407.     &CtrlGadget,    /* next gadget */
  408.     55,60,    /* origin of hit box */
  409.     18,8,    /* hit box width and height */
  410.     GADGHIMAGE|GADGIMAGE,    /* flags */
  411.     RELVERIFY|TOGGLESELECT,    /* activation flags */
  412.     BOOLGADGET,    /* type flags */
  413.     (APTR)&CapsOffImage,    /* render Image */
  414.     (APTR)&CapsOnImage,    /* select image */
  415.     NULL,    /* IntuiText list */
  416.     NULL,    /* mutual-exclude (unused) */
  417.     NULL,    /* SpecialInfo structure */
  418.     0x62,    /* GadgetID = Raw Key Code */
  419.     NULL    /* user data */
  420. };
  421.  
  422. struct Gadget RightShiftGadget = {
  423.     &CapsLockGadget,    /* next gadget */
  424.     352,73,    /* origin of hit box */
  425.     60,8,    /* hit box width and height */
  426.     GADGHCOMP|GADGIMAGE,    /* flags */
  427.     RELVERIFY|TOGGLESELECT,    /* activation flags */
  428.     BOOLGADGET,    /* type flags */
  429.     (APTR)&ShiftImage,    /* render Image */
  430.     NULL,    /* select image */
  431.     NULL,    /* IntuiText list */
  432.     NULL,    /* mutual-exclude (unused) */
  433.     NULL,    /* SpecialInfo structure */
  434.     0x61,    /* GadgetID = Raw Key Code */
  435.     NULL    /* user data */
  436. };
  437.  
  438. struct Gadget LeftShiftGadget = {
  439.     &RightShiftGadget,    /* next gadget */
  440.     24,73,    /* origin of hit box */
  441.     60,8,    /* hit box width and height */
  442.     GADGHCOMP|GADGIMAGE,    /* flags */
  443.     RELVERIFY|TOGGLESELECT,    /* activation flags */
  444.     BOOLGADGET,    /* type flags */
  445.     (APTR)&ShiftImage,    /* render Image */
  446.     NULL,    /* select image */
  447.     NULL,    /* IntuiText list */
  448.     NULL,    /* mutual-exclude (unused) */
  449.     NULL,    /* SpecialInfo structure */
  450.     0x60,    /* GadgetID = Raw Key Code */
  451.     NULL    /* user data */
  452. };
  453.  
  454. struct Gadget HelpGadget = {
  455.     &LeftShiftGadget,    /* next gadget */
  456.     470,34,    /* origin of hit box */
  457.     32,8,    /* hit box width and height */
  458.     GADGHCOMP|GADGIMAGE,    /* flags */
  459.     RELVERIFY,    /* activation flags */
  460.     BOOLGADGET,    /* type flags */
  461.     (APTR)&ApplImage,    /* render Image */
  462.     NULL,    /* select image */
  463.     NULL,    /* IntuiText list */
  464.     NULL,    /* mutual-exclude (unused) */
  465.     NULL,    /* SpecialInfo structure */
  466.     0x5F,    /* GadgetID = Raw Key Code */
  467.     NULL    /* user data */
  468. };
  469.  
  470. struct Gadget KPPlusGadget = {
  471.     &HelpGadget,    /* next gadget */
  472.     601,60,    /* origin of hit box */
  473.     18,8,    /* hit box width and height */
  474.     GADGHCOMP|GADGIMAGE,    /* flags */
  475.     RELVERIFY,    /* activation flags */
  476.     BOOLGADGET,    /* type flags */
  477.     (APTR)&KeyImage,    /* render Image */
  478.     NULL,    /* select image */
  479.     NULL,    /* IntuiText list */
  480.     NULL,    /* mutual-exclude (unused) */
  481.     NULL,    /* SpecialInfo structure */
  482.     0x5E,    /* GadgetID = Raw Key Code */
  483.     NULL    /* user data */
  484. };
  485.  
  486. struct Gadget KPMultiplyGadget = {
  487.     &KPPlusGadget,    /* next gadget */
  488.     601,34,    /* origin of hit box */
  489.     18,8,    /* hit box width and height */
  490.     GADGHCOMP|GADGIMAGE,    /* flags */
  491.     RELVERIFY,    /* activation flags */
  492.     BOOLGADGET,    /* type flags */
  493.     (APTR)&KeyImage,    /* render Image */
  494.     NULL,    /* select image */
  495.     NULL,    /* IntuiText list */
  496.     NULL,    /* mutual-exclude (unused) */
  497.     NULL,    /* SpecialInfo structure */
  498.     0x5D,    /* GadgetID = Raw Key Code */
  499.     NULL    /* user data */
  500. };
  501.  
  502. struct Gadget KPDivideGadget = {
  503.     &KPMultiplyGadget,    /* next gadget */
  504.     574,34,    /* origin of hit box */
  505.     18,8,    /* hit box width and height */
  506.     GADGHCOMP|GADGIMAGE,    /* flags */
  507.     RELVERIFY,    /* activation flags */
  508.     BOOLGADGET,    /* type flags */
  509.     (APTR)&KeyImage,    /* render Image */
  510.     NULL,    /* select image */
  511.     NULL,    /* IntuiText list */
  512.     NULL,    /* mutual-exclude (unused) */
  513.     NULL,    /* SpecialInfo structure */
  514.     0x5C,    /* GadgetID = Raw Key Code */
  515.     NULL    /* user data */
  516. };
  517.  
  518. struct Gadget KPCloseParenGadget = {
  519.     &KPDivideGadget,    /* next gadget */
  520.     547,34,    /* origin of hit box */
  521.     18,8,    /* hit box width and height */
  522.     GADGHCOMP|GADGIMAGE,    /* flags */
  523.     RELVERIFY,    /* activation flags */
  524.     BOOLGADGET,    /* type flags */
  525.     (APTR)&KeyImage,    /* render Image */
  526.     NULL,    /* select image */
  527.     NULL,    /* IntuiText list */
  528.     NULL,    /* mutual-exclude (unused) */
  529.     NULL,    /* SpecialInfo structure */
  530.     0x5B,    /* GadgetID = Raw Key Code */
  531.     NULL    /* user data */
  532. };
  533.  
  534. struct Gadget KPOpenParenGadget = {
  535.     &KPCloseParenGadget,    /* next gadget */
  536.     520,34,    /* origin of hit box */
  537.     18,8,    /* hit box width and height */
  538.     GADGHCOMP|GADGIMAGE,    /* flags */
  539.     RELVERIFY,    /* activation flags */
  540.     BOOLGADGET,    /* type flags */
  541.     (APTR)&KeyImage,    /* render Image */
  542.     NULL,    /* select image */
  543.     NULL,    /* IntuiText list */
  544.     NULL,    /* mutual-exclude (unused) */
  545.     NULL,    /* SpecialInfo structure */
  546.     0x5A,    /* GadgetID = Raw Key Code */
  547.     NULL    /* user data */
  548. };
  549.  
  550. struct Gadget F10Gadget = {
  551.     &KPOpenParenGadget,    /* next gadget */
  552.     362,18,    /* origin of hit box */
  553.     24,8,    /* hit box width and height */
  554.     GADGHCOMP|GADGIMAGE,    /* flags */
  555.     RELVERIFY,    /* activation flags */
  556.     BOOLGADGET,    /* type flags */
  557.     (APTR)&FuncImage,    /* render Image */
  558.     NULL,    /* select image */
  559.     NULL,    /* IntuiText list */
  560.     NULL,    /* mutual-exclude (unused) */
  561.     NULL,    /* SpecialInfo structure */
  562.     0x59,    /* GadgetID = Raw Key Code */
  563.     NULL    /* user data */
  564. };
  565.  
  566. struct Gadget F9Gadget = {
  567.     &F10Gadget,    /* next gadget */
  568.     330,18,    /* origin of hit box */
  569.     24,8,    /* hit box width and height */
  570.     GADGHCOMP|GADGIMAGE,    /* flags */
  571.     RELVERIFY,    /* activation flags */
  572.     BOOLGADGET,    /* type flags */
  573.     (APTR)&FuncImage,    /* render Image */
  574.     NULL,    /* select image */
  575.     NULL,    /* IntuiText list */
  576.     NULL,    /* mutual-exclude (unused) */
  577.     NULL,    /* SpecialInfo structure */
  578.     0x58,    /* GadgetID = Raw Key Code */
  579.     NULL    /* user data */
  580. };
  581.  
  582. struct Gadget F8Gadget = {
  583.     &F9Gadget,    /* next gadget */
  584.     298,18,    /* origin of hit box */
  585.     24,8,    /* hit box width and height */
  586.     GADGHCOMP|GADGIMAGE,    /* flags */
  587.     RELVERIFY,    /* activation flags */
  588.     BOOLGADGET,    /* type flags */
  589.     (APTR)&FuncImage,    /* render Image */
  590.     NULL,    /* select image */
  591.     NULL,    /* IntuiText list */
  592.     NULL,    /* mutual-exclude (unused) */
  593.     NULL,    /* SpecialInfo structure */
  594.     0x57,    /* GadgetID = Raw Key Code */
  595.     NULL    /* user data */
  596. };
  597.  
  598. struct Gadget F7Gadget = {
  599.     &F8Gadget,    /* next gadget */
  600.     266,18,    /* origin of hit box */
  601.     24,8,    /* hit box width and height */
  602.     GADGHCOMP|GADGIMAGE,    /* flags */
  603.     RELVERIFY,    /* activation flags */
  604.     BOOLGADGET,    /* type flags */
  605.     (APTR)&FuncImage,    /* render Image */
  606.     NULL,    /* select image */
  607.     NULL,    /* IntuiText list */
  608.     NULL,    /* mutual-exclude (unused) */
  609.     NULL,    /* SpecialInfo structure */
  610.     0x56,    /* GadgetID = Raw Key Code */
  611.     NULL    /* user data */
  612. };
  613.  
  614. struct Gadget F6Gadget = {
  615.     &F7Gadget,    /* next gadget */
  616.     234,18,    /* origin of hit box */
  617.     24,8,    /* hit box width and height */
  618.     GADGHCOMP|GADGIMAGE,    /* flags */
  619.     RELVERIFY,    /* activation flags */
  620.     BOOLGADGET,    /* type flags */
  621.     (APTR)&FuncImage,    /* render Image */
  622.     NULL,    /* select image */
  623.     NULL,    /* IntuiText list */
  624.     NULL,    /* mutual-exclude (unused) */
  625.     NULL,    /* SpecialInfo structure */
  626.     0x55,    /* GadgetID = Raw Key Code */
  627.     NULL    /* user data */
  628. };
  629.  
  630. struct Gadget F5Gadget = {
  631.     &F6Gadget,    /* next gadget */
  632.     185,18,    /* origin of hit box */
  633.     24,8,    /* hit box width and height */
  634.     GADGHCOMP|GADGIMAGE,    /* flags */
  635.     RELVERIFY,    /* activation flags */
  636.     BOOLGADGET,    /* type flags */
  637.     (APTR)&FuncImage,    /* render Image */
  638.     NULL,    /* select image */
  639.     NULL,    /* IntuiText list */
  640.     NULL,    /* mutual-exclude (unused) */
  641.     NULL,    /* SpecialInfo structure */
  642.     0x54,    /* GadgetID = Raw Key Code */
  643.     NULL    /* user data */
  644. };
  645.  
  646. struct Gadget F4Gadget = {
  647.     &F5Gadget,    /* next gadget */
  648.     153,18,    /* origin of hit box */
  649.     24,8,    /* hit box width and height */
  650.     GADGHCOMP|GADGIMAGE,    /* flags */
  651.     RELVERIFY,    /* activation flags */
  652.     BOOLGADGET,    /* type flags */
  653.     (APTR)&FuncImage,    /* render Image */
  654.     NULL,    /* select image */
  655.     NULL,    /* IntuiText list */
  656.     NULL,    /* mutual-exclude (unused) */
  657.     NULL,    /* SpecialInfo structure */
  658.     0x53,    /* GadgetID = Raw Key Code */
  659.     NULL    /* user data */
  660. };
  661.  
  662. struct Gadget F3Gadget = {
  663.     &F4Gadget,    /* next gadget */
  664.     121,18,    /* origin of hit box */
  665.     24,8,    /* hit box width and height */
  666.     GADGHCOMP|GADGIMAGE,    /* flags */
  667.     RELVERIFY,    /* activation flags */
  668.     BOOLGADGET,    /* type flags */
  669.     (APTR)&FuncImage,    /* render Image */
  670.     NULL,    /* select image */
  671.     NULL,    /* IntuiText list */
  672.     NULL,    /* mutual-exclude (unused) */
  673.     NULL,    /* SpecialInfo structure */
  674.     0x52,    /* GadgetID = Raw Key Code */
  675.     NULL    /* user data */
  676. };
  677.  
  678. struct Gadget F2Gadget = {
  679.     &F3Gadget,    /* next gadget */
  680.     89,18,    /* origin of hit box */
  681.     24,8,    /* hit box width and height */
  682.     GADGHCOMP|GADGIMAGE,    /* flags */
  683.     RELVERIFY,    /* activation flags */
  684.     BOOLGADGET,    /* type flags */
  685.     (APTR)&FuncImage,    /* render Image */
  686.     NULL,    /* select image */
  687.     NULL,    /* IntuiText list */
  688.     NULL,    /* mutual-exclude (unused) */
  689.     NULL,    /* SpecialInfo structure */
  690.     0x51,    /* GadgetID = Raw Key Code */
  691.     NULL    /* user data */
  692. };
  693.  
  694. struct Gadget F1Gadget = {
  695.     &F2Gadget,    /* next gadget */
  696.     57,18,    /* origin of hit box */
  697.     24,8,    /* hit box width and height */
  698.     GADGHCOMP|GADGIMAGE,    /* flags */
  699.     RELVERIFY,    /* activation flags */
  700.     BOOLGADGET,    /* type flags */
  701.     (APTR)&FuncImage,    /* render Image */
  702.     NULL,    /* select image */
  703.     NULL,    /* IntuiText list */
  704.     NULL,    /* mutual-exclude (unused) */
  705.     NULL,    /* SpecialInfo structure */
  706.     0x50,    /* GadgetID = Raw Key Code */
  707.     NULL    /* user data */
  708. };
  709.  
  710. struct Gadget LeftArrowGadget = {
  711.     &F1Gadget,    /* next gadget */
  712.     432,73,    /* origin of hit box */
  713.     18,8,    /* hit box width and height */
  714.     GADGHCOMP|GADGIMAGE,    /* flags */
  715.     RELVERIFY,    /* activation flags */
  716.     BOOLGADGET,    /* type flags */
  717.     (APTR)&KeyImage,    /* render Image */
  718.     NULL,    /* select image */
  719.     NULL,    /* IntuiText list */
  720.     NULL,    /* mutual-exclude (unused) */
  721.     NULL,    /* SpecialInfo structure */
  722.     0x4F,    /* GadgetID = Raw Key Code */
  723.     NULL    /* user data */
  724. };
  725.  
  726. struct Gadget RightArrowGadget = {
  727.     &LeftArrowGadget,    /* next gadget */
  728.     484,73,    /* origin of hit box */
  729.     18,8,    /* hit box width and height */
  730.     GADGHCOMP|GADGIMAGE,    /* flags */
  731.     RELVERIFY,    /* activation flags */
  732.     BOOLGADGET,    /* type flags */
  733.     (APTR)&KeyImage,    /* render Image */
  734.     NULL,    /* select image */
  735.     NULL,    /* IntuiText list */
  736.     NULL,    /* mutual-exclude (unused) */
  737.     NULL,    /* SpecialInfo structure */
  738.     0x4E,    /* GadgetID = Raw Key Code */
  739.     NULL    /* user data */
  740. };
  741.  
  742. struct Gadget DownArrowGadget = {
  743.     &RightArrowGadget,    /* next gadget */
  744.     458,73,    /* origin of hit box */
  745.     18,8,    /* hit box width and height */
  746.     GADGHCOMP|GADGIMAGE,    /* flags */
  747.     RELVERIFY,    /* activation flags */
  748.     BOOLGADGET,    /* type flags */
  749.     (APTR)&KeyImage,    /* render Image */
  750.     NULL,    /* select image */
  751.     NULL,    /* IntuiText list */
  752.     NULL,    /* mutual-exclude (unused) */
  753.     NULL,    /* SpecialInfo structure */
  754.     0x4D,    /* GadgetID = Raw Key Code */
  755.     NULL    /* user data */
  756. };
  757.  
  758. struct Gadget UpArrowGadget = {
  759.     &DownArrowGadget,    /* next gadget */
  760.     458,60,    /* origin of hit box */
  761.     18,8,    /* hit box width and height */
  762.     GADGHCOMP|GADGIMAGE,    /* flags */
  763.     RELVERIFY,    /* activation flags */
  764.     BOOLGADGET,    /* type flags */
  765.     (APTR)&KeyImage,    /* render Image */
  766.     NULL,    /* select image */
  767.     NULL,    /* IntuiText list */
  768.     NULL,    /* mutual-exclude (unused) */
  769.     NULL,    /* SpecialInfo structure */
  770.     0x4C,    /* GadgetID = Raw Key Code */
  771.     NULL    /* user data */
  772. };
  773.  
  774. struct Gadget KPMinusGadget = {
  775.     &UpArrowGadget,    /* next gadget */
  776.     601,47,    /* origin of hit box */
  777.     18,8,    /* hit box width and height */
  778.     GADGHCOMP|GADGIMAGE,    /* flags */
  779.     RELVERIFY,    /* activation flags */
  780.     BOOLGADGET,    /* type flags */
  781.     (APTR)&KeyImage,    /* render Image */
  782.     NULL,    /* select image */
  783.     NULL,    /* IntuiText list */
  784.     NULL,    /* mutual-exclude (unused) */
  785.     NULL,    /* SpecialInfo structure */
  786.     0x4A,    /* GadgetID = Raw Key Code */
  787.     NULL    /* user data */
  788. };
  789.  
  790. struct Gadget DelGadget = {
  791.     &KPMinusGadget,    /* next gadget */
  792.     430,34,    /* origin of hit box */
  793.     32,8,    /* hit box width and height */
  794.     GADGHCOMP|GADGIMAGE,    /* flags */
  795.     RELVERIFY,    /* activation flags */
  796.     BOOLGADGET,    /* type flags */
  797.     (APTR)&ApplImage,    /* render Image */
  798.     NULL,    /* select image */
  799.     NULL,    /* IntuiText list */
  800.     NULL,    /* mutual-exclude (unused) */
  801.     NULL,    /* SpecialInfo structure */
  802.     0x46,    /* GadgetID = Raw Key Code */
  803.     NULL    /* user data */
  804. };
  805.  
  806. struct Gadget EscGadget = {
  807.     &DelGadget,    /* next gadget */
  808.     24,18,    /* origin of hit box */
  809.     18,8,    /* hit box width and height */
  810.     GADGHCOMP|GADGIMAGE,    /* flags */
  811.     RELVERIFY,    /* activation flags */
  812.     BOOLGADGET,    /* type flags */
  813.     (APTR)&KeyImage,    /* render Image */
  814.     NULL,    /* select image */
  815.     NULL,    /* IntuiText list */
  816.     NULL,    /* mutual-exclude (unused) */
  817.     NULL,    /* SpecialInfo structure */
  818.     0x45,    /* GadgetID = Raw Key Code */
  819.     NULL    /* user data */
  820. };
  821.  
  822. struct Gadget ReturnGadget = {
  823.     &EscGadget,    /* next gadget */
  824.     367,47,    /* origin of hit box */
  825.     45,21,    /* hit box width and height */
  826.     GADGHCOMP|GADGIMAGE,    /* flags */
  827.     RELVERIFY|BOOLEXTEND,    /* activation flags */
  828.     BOOLGADGET,    /* type flags */
  829.     (APTR)&ReturnImage,    /* render Image */
  830.     NULL,    /* select image */
  831.     NULL,    /* IntuiText list */
  832.     NULL,    /* mutual-exclude (unused) */
  833.     (APTR)&ReturnMaskBoolInfo,    /* SpecialInfo structure */
  834.     0x44,    /* GadgetID = Raw Key Code */
  835.     NULL    /* user data */
  836. };
  837.  
  838. struct Gadget KPEnterGadget = {
  839.     &ReturnGadget,    /* next gadget */
  840.     601,73,    /* origin of hit box */
  841.     17,21,    /* hit box width and height */
  842.     GADGHCOMP|GADGIMAGE,    /* flags */
  843.     RELVERIFY,    /* activation flags */
  844.     BOOLGADGET,    /* type flags */
  845.     (APTR)&DoubleHighImage,    /* render Image */
  846.     NULL,    /* select image */
  847.     NULL,    /* IntuiText list */
  848.     NULL,    /* mutual-exclude (unused) */
  849.     NULL,    /* SpecialInfo structure */
  850.     0x43,    /* GadgetID = Raw Key Code */
  851.     NULL    /* user data */
  852. };
  853.  
  854. struct Gadget TabGadget = {
  855.     &KPEnterGadget,    /* next gadget */
  856.     24,47,    /* origin of hit box */
  857.     44,8,    /* hit box width and height */
  858.     GADGHCOMP|GADGIMAGE,    /* flags */
  859.     RELVERIFY,    /* activation flags */
  860.     BOOLGADGET,    /* type flags */
  861.     (APTR)&DoubleWideImage,    /* render Image */
  862.     NULL,    /* select image */
  863.     NULL,    /* IntuiText list */
  864.     NULL,    /* mutual-exclude (unused) */
  865.     NULL,    /* SpecialInfo structure */
  866.     0x42,    /* GadgetID = Raw Key Code */
  867.     NULL    /* user data */
  868. };
  869.  
  870. struct Gadget BSGadget = {
  871.     &TabGadget,    /* next gadget */
  872.     394,34,    /* origin of hit box */
  873.     18,8,    /* hit box width and height */
  874.     GADGHCOMP|GADGIMAGE,    /* flags */
  875.     RELVERIFY,    /* activation flags */
  876.     BOOLGADGET,    /* type flags */
  877.     (APTR)&KeyImage,    /* render Image */
  878.     NULL,    /* select image */
  879.     NULL,    /* IntuiText list */
  880.     NULL,    /* mutual-exclude (unused) */
  881.     NULL,    /* SpecialInfo structure */
  882.     0x41,    /* GadgetID = Raw Key Code */
  883.     NULL    /* user data */
  884. };
  885.  
  886. struct Gadget SpaceGadget = {
  887.     &BSGadget,    /* next gadget */
  888.     107,86,    /* origin of hit box */
  889.     221,8,    /* hit box width and height */
  890.     GADGHCOMP|GADGIMAGE,    /* flags */
  891.     RELVERIFY,    /* activation flags */
  892.     BOOLGADGET,    /* type flags */
  893.     (APTR)&SpaceImage,    /* render Image */
  894.     NULL,    /* select image */
  895.     NULL,    /* IntuiText list */
  896.     NULL,    /* mutual-exclude (unused) */
  897.     NULL,    /* SpecialInfo structure */
  898.     0x40,    /* GadgetID = Raw Key Code */
  899.     NULL    /* user data */
  900. };
  901.  
  902. struct Gadget KP9Gadget = {
  903.     &SpaceGadget,    /* next gadget */
  904.     574,47,    /* origin of hit box */
  905.     18,8,    /* hit box width and height */
  906.     GADGHCOMP|GADGIMAGE,    /* flags */
  907.     RELVERIFY,    /* activation flags */
  908.     BOOLGADGET,    /* type flags */
  909.     (APTR)&KeyImage,    /* render Image */
  910.     NULL,    /* select image */
  911.     NULL,    /* IntuiText list */
  912.     NULL,    /* mutual-exclude (unused) */
  913.     NULL,    /* SpecialInfo structure */
  914.     0x3F,    /* GadgetID = Raw Key Code */
  915.     NULL    /* user data */
  916. };
  917.  
  918. struct Gadget KP8Gadget = {
  919.     &KP9Gadget,    /* next gadget */
  920.     547,47,    /* origin of hit box */
  921.     18,8,    /* hit box width and height */
  922.     GADGHCOMP|GADGIMAGE,    /* flags */
  923.     RELVERIFY,    /* activation flags */
  924.     BOOLGADGET,    /* type flags */
  925.     (APTR)&KeyImage,    /* render Image */
  926.     NULL,    /* select image */
  927.     NULL,    /* IntuiText list */
  928.     NULL,    /* mutual-exclude (unused) */
  929.     NULL,    /* SpecialInfo structure */
  930.     0x3E,    /* GadgetID = Raw Key Code */
  931.     NULL    /* user data */
  932. };
  933.  
  934. struct Gadget KP7Gadget = {
  935.     &KP8Gadget,    /* next gadget */
  936.     520,47,    /* origin of hit box */
  937.     18,8,    /* hit box width and height */
  938.     GADGHCOMP|GADGIMAGE,    /* flags */
  939.     RELVERIFY,    /* activation flags */
  940.     BOOLGADGET,    /* type flags */
  941.     (APTR)&KeyImage,    /* render Image */
  942.     NULL,    /* select image */
  943.     NULL,    /* IntuiText list */
  944.     NULL,    /* mutual-exclude (unused) */
  945.     NULL,    /* SpecialInfo structure */
  946.     0x3D,    /* GadgetID = Raw Key Code */
  947.     NULL    /* user data */
  948. };
  949.  
  950. struct Gadget KPPointGadget = {
  951.     &KP7Gadget,    /* next gadget */
  952.     574,86,    /* origin of hit box */
  953.     18,8,    /* hit box width and height */
  954.     GADGHCOMP|GADGIMAGE,    /* flags */
  955.     RELVERIFY,    /* activation flags */
  956.     BOOLGADGET,    /* type flags */
  957.     (APTR)&KeyImage,    /* render Image */
  958.     NULL,    /* select image */
  959.     NULL,    /* IntuiText list */
  960.     NULL,    /* mutual-exclude (unused) */
  961.     NULL,    /* SpecialInfo structure */
  962.     0x3C,    /* GadgetID = Raw Key Code */
  963.     NULL    /* user data */
  964. };
  965.  
  966. struct Gadget SlashGadget = {
  967.     &KPPointGadget,    /* next gadget */
  968.     326,73,    /* origin of hit box */
  969.     18,8,    /* hit box width and height */
  970.     GADGHCOMP|GADGIMAGE,    /* flags */
  971.     RELVERIFY,    /* activation flags */
  972.     BOOLGADGET,    /* type flags */
  973.     (APTR)&KeyImage,    /* render Image */
  974.     NULL,    /* select image */
  975.     NULL,    /* IntuiText list */
  976.     NULL,    /* mutual-exclude (unused) */
  977.     NULL,    /* SpecialInfo structure */
  978.     0x3A,    /* GadgetID = Raw Key Code */
  979.     NULL    /* user data */
  980. };
  981.  
  982. struct Gadget PeriodGadget = {
  983.     &SlashGadget,    /* next gadget */
  984.     300,73,    /* origin of hit box */
  985.     18,8,    /* hit box width and height */
  986.     GADGHCOMP|GADGIMAGE,    /* flags */
  987.     RELVERIFY,    /* activation flags */
  988.     BOOLGADGET,    /* type flags */
  989.     (APTR)&KeyImage,    /* render Image */
  990.     NULL,    /* select image */
  991.     NULL,    /* IntuiText list */
  992.     NULL,    /* mutual-exclude (unused) */
  993.     NULL,    /* SpecialInfo structure */
  994.     0x39,    /* GadgetID = Raw Key Code */
  995.     NULL    /* user data */
  996. };
  997.  
  998. struct Gadget CommaGadget = {
  999.     &PeriodGadget,    /* next gadget */
  1000.     274,73,    /* origin of hit box */
  1001.     18,8,    /* hit box width and height */
  1002.     GADGHCOMP|GADGIMAGE,    /* flags */
  1003.     RELVERIFY,    /* activation flags */
  1004.     BOOLGADGET,    /* type flags */
  1005.     (APTR)&KeyImage,    /* render Image */
  1006.     NULL,    /* select image */
  1007.     NULL,    /* IntuiText list */
  1008.     NULL,    /* mutual-exclude (unused) */
  1009.     NULL,    /* SpecialInfo structure */
  1010.     0x38,    /* GadgetID = Raw Key Code */
  1011.     NULL    /* user data */
  1012. };
  1013.  
  1014. struct Gadget MGadget = {
  1015.     &CommaGadget,    /* next gadget */
  1016.     248,73,    /* origin of hit box */
  1017.     18,8,    /* hit box width and height */
  1018.     GADGHCOMP|GADGIMAGE,    /* flags */
  1019.     RELVERIFY,    /* activation flags */
  1020.     BOOLGADGET,    /* type flags */
  1021.     (APTR)&KeyImage,    /* render Image */
  1022.     NULL,    /* select image */
  1023.     NULL,    /* IntuiText list */
  1024.     NULL,    /* mutual-exclude (unused) */
  1025.     NULL,    /* SpecialInfo structure */
  1026.     0x37,    /* GadgetID = Raw Key Code */
  1027.     NULL    /* user data */
  1028. };
  1029.  
  1030. struct Gadget NGadget = {
  1031.     &MGadget,    /* next gadget */
  1032.     222,73,    /* origin of hit box */
  1033.     18,8,    /* hit box width and height */
  1034.     GADGHCOMP|GADGIMAGE,    /* flags */
  1035.     RELVERIFY,    /* activation flags */
  1036.     BOOLGADGET,    /* type flags */
  1037.     (APTR)&KeyImage,    /* render Image */
  1038.     NULL,    /* select image */
  1039.     NULL,    /* IntuiText list */
  1040.     NULL,    /* mutual-exclude (unused) */
  1041.     NULL,    /* SpecialInfo structure */
  1042.     0x36,    /* GadgetID = Raw Key Code */
  1043.     NULL    /* user data */
  1044. };
  1045.  
  1046. struct Gadget BGadget = {
  1047.     &NGadget,    /* next gadget */
  1048.     196,73,    /* origin of hit box */
  1049.     18,8,    /* hit box width and height */
  1050.     GADGHCOMP|GADGIMAGE,    /* flags */
  1051.     RELVERIFY,    /* activation flags */
  1052.     BOOLGADGET,    /* type flags */
  1053.     (APTR)&KeyImage,    /* render Image */
  1054.     NULL,    /* select image */
  1055.     NULL,    /* IntuiText list */
  1056.     NULL,    /* mutual-exclude (unused) */
  1057.     NULL,    /* SpecialInfo structure */
  1058.     0x35,    /* GadgetID = Raw Key Code */
  1059.     NULL    /* user data */
  1060. };
  1061.  
  1062. struct Gadget VGadget = {
  1063.     &BGadget,    /* next gadget */
  1064.     170,73,    /* origin of hit box */
  1065.     18,8,    /* hit box width and height */
  1066.     GADGHCOMP|GADGIMAGE,    /* flags */
  1067.     RELVERIFY,    /* activation flags */
  1068.     BOOLGADGET,    /* type flags */
  1069.     (APTR)&KeyImage,    /* render Image */
  1070.     NULL,    /* select image */
  1071.     NULL,    /* IntuiText list */
  1072.     NULL,    /* mutual-exclude (unused) */
  1073.     NULL,    /* SpecialInfo structure */
  1074.     0x34,    /* GadgetID = Raw Key Code */
  1075.     NULL    /* user data */
  1076. };
  1077.  
  1078. struct Gadget CGadget = {
  1079.     &VGadget,    /* next gadget */
  1080.     144,73,    /* origin of hit box */
  1081.     18,8,    /* hit box width and height */
  1082.     GADGHCOMP|GADGIMAGE,    /* flags */
  1083.     RELVERIFY,    /* activation flags */
  1084.     BOOLGADGET,    /* type flags */
  1085.     (APTR)&KeyImage,    /* render Image */
  1086.     NULL,    /* select image */
  1087.     NULL,    /* IntuiText list */
  1088.     NULL,    /* mutual-exclude (unused) */
  1089.     NULL,    /* SpecialInfo structure */
  1090.     0x33,    /* GadgetID = Raw Key Code */
  1091.     NULL    /* user data */
  1092. };
  1093.  
  1094. struct Gadget XGadget = {
  1095.     &CGadget,    /* next gadget */
  1096.     118,73,    /* origin of hit box */
  1097.     18,8,    /* hit box width and height */
  1098.     GADGHCOMP|GADGIMAGE,    /* flags */
  1099.     RELVERIFY,    /* activation flags */
  1100.     BOOLGADGET,    /* type flags */
  1101.     (APTR)&KeyImage,    /* render Image */
  1102.     NULL,    /* select image */
  1103.     NULL,    /* IntuiText list */
  1104.     NULL,    /* mutual-exclude (unused) */
  1105.     NULL,    /* SpecialInfo structure */
  1106.     0x32,    /* GadgetID = Raw Key Code */
  1107.     NULL    /* user data */
  1108. };
  1109.  
  1110. struct Gadget ZGadget = {
  1111.     &XGadget,    /* next gadget */
  1112.     92,73,    /* origin of hit box */
  1113.     18,8,    /* hit box width and height */
  1114.     GADGHCOMP|GADGIMAGE,    /* flags */
  1115.     RELVERIFY,    /* activation flags */
  1116.     BOOLGADGET,    /* type flags */
  1117.     (APTR)&KeyImage,    /* render Image */
  1118.     NULL,    /* select image */
  1119.     NULL,    /* IntuiText list */
  1120.     NULL,    /* mutual-exclude (unused) */
  1121.     NULL,    /* SpecialInfo structure */
  1122.     0x31,    /* GadgetID = Raw Key Code */
  1123.     NULL    /* user data */
  1124. };
  1125.  
  1126. struct Gadget KP6Gadget = {
  1127.     &ZGadget,    /* next gadget */
  1128.     574,60,    /* origin of hit box */
  1129.     18,8,    /* hit box width and height */
  1130.     GADGHCOMP|GADGIMAGE,    /* flags */
  1131.     RELVERIFY,    /* activation flags */
  1132.     BOOLGADGET,    /* type flags */
  1133.     (APTR)&KeyImage,    /* render Image */
  1134.     NULL,    /* select image */
  1135.     NULL,    /* IntuiText list */
  1136.     NULL,    /* mutual-exclude (unused) */
  1137.     NULL,    /* SpecialInfo structure */
  1138.     0x2F,    /* GadgetID = Raw Key Code */
  1139.     NULL    /* user data */
  1140. };
  1141.  
  1142. struct Gadget KP5Gadget = {
  1143.     &KP6Gadget,    /* next gadget */
  1144.     547,60,    /* origin of hit box */
  1145.     18,8,    /* hit box width and height */
  1146.     GADGHCOMP|GADGIMAGE,    /* flags */
  1147.     RELVERIFY,    /* activation flags */
  1148.     BOOLGADGET,    /* type flags */
  1149.     (APTR)&KeyImage,    /* render Image */
  1150.     NULL,    /* select image */
  1151.     NULL,    /* IntuiText list */
  1152.     NULL,    /* mutual-exclude (unused) */
  1153.     NULL,    /* SpecialInfo structure */
  1154.     0x2E,    /* GadgetID = Raw Key Code */
  1155.     NULL    /* user data */
  1156. };
  1157.  
  1158. struct Gadget KP4Gadget = {
  1159.     &KP5Gadget,    /* next gadget */
  1160.     520,60,    /* origin of hit box */
  1161.     18,8,    /* hit box width and height */
  1162.     GADGHCOMP|GADGIMAGE,    /* flags */
  1163.     RELVERIFY,    /* activation flags */
  1164.     BOOLGADGET,    /* type flags */
  1165.     (APTR)&KeyImage,    /* render Image */
  1166.     NULL,    /* select image */
  1167.     NULL,    /* IntuiText list */
  1168.     NULL,    /* mutual-exclude (unused) */
  1169.     NULL,    /* SpecialInfo structure */
  1170.     0x2D,    /* GadgetID = Raw Key Code */
  1171.     NULL    /* user data */
  1172. };
  1173.  
  1174. struct Gadget QuoteGadget = {
  1175.     &KP4Gadget,    /* next gadget */
  1176.     341,60,    /* origin of hit box */
  1177.     18,8,    /* hit box width and height */
  1178.     GADGHCOMP|GADGIMAGE,    /* flags */
  1179.     RELVERIFY,    /* activation flags */
  1180.     BOOLGADGET,    /* type flags */
  1181.     (APTR)&KeyImage,    /* render Image */
  1182.     NULL,    /* select image */
  1183.     NULL,    /* IntuiText list */
  1184.     NULL,    /* mutual-exclude (unused) */
  1185.     NULL,    /* SpecialInfo structure */
  1186.     0x2A,    /* GadgetID = Raw Key Code */
  1187.     NULL    /* user data */
  1188. };
  1189.  
  1190. struct Gadget ColonGadget = {
  1191.     &QuoteGadget,    /* next gadget */
  1192.     315,60,    /* origin of hit box */
  1193.     18,8,    /* hit box width and height */
  1194.     GADGHCOMP|GADGIMAGE,    /* flags */
  1195.     RELVERIFY,    /* activation flags */
  1196.     BOOLGADGET,    /* type flags */
  1197.     (APTR)&KeyImage,    /* render Image */
  1198.     NULL,    /* select image */
  1199.     NULL,    /* IntuiText list */
  1200.     NULL,    /* mutual-exclude (unused) */
  1201.     NULL,    /* SpecialInfo structure */
  1202.     0x29,    /* GadgetID = Raw Key Code */
  1203.     NULL    /* user data */
  1204. };
  1205.  
  1206. struct Gadget LGadget = {
  1207.     &ColonGadget,    /* next gadget */
  1208.     289,60,    /* origin of hit box */
  1209.     18,8,    /* hit box width and height */
  1210.     GADGHCOMP|GADGIMAGE,    /* flags */
  1211.     RELVERIFY,    /* activation flags */
  1212.     BOOLGADGET,    /* type flags */
  1213.     (APTR)&KeyImage,    /* render Image */
  1214.     NULL,    /* select image */
  1215.     NULL,    /* IntuiText list */
  1216.     NULL,    /* mutual-exclude (unused) */
  1217.     NULL,    /* SpecialInfo structure */
  1218.     0x28,    /* GadgetID = Raw Key Code */
  1219.     NULL    /* user data */
  1220. };
  1221.  
  1222. struct Gadget KGadget = {
  1223.     &LGadget,    /* next gadget */
  1224.     263,60,    /* origin of hit box */
  1225.     18,8,    /* hit box width and height */
  1226.     GADGHCOMP|GADGIMAGE,    /* flags */
  1227.     RELVERIFY,    /* activation flags */
  1228.     BOOLGADGET,    /* type flags */
  1229.     (APTR)&KeyImage,    /* render Image */
  1230.     NULL,    /* select image */
  1231.     NULL,    /* IntuiText list */
  1232.     NULL,    /* mutual-exclude (unused) */
  1233.     NULL,    /* SpecialInfo structure */
  1234.     0x27,    /* GadgetID = Raw Key Code */
  1235.     NULL    /* user data */
  1236. };
  1237.  
  1238. struct Gadget JGadget = {
  1239.     &KGadget,    /* next gadget */
  1240.     237,60,    /* origin of hit box */
  1241.     18,8,    /* hit box width and height */
  1242.     GADGHCOMP|GADGIMAGE,    /* flags */
  1243.     RELVERIFY,    /* activation flags */
  1244.     BOOLGADGET,    /* type flags */
  1245.     (APTR)&KeyImage,    /* render Image */
  1246.     NULL,    /* select image */
  1247.     NULL,    /* IntuiText list */
  1248.     NULL,    /* mutual-exclude (unused) */
  1249.     NULL,    /* SpecialInfo structure */
  1250.     0x26,    /* GadgetID = Raw Key Code */
  1251.     NULL    /* user data */
  1252. };
  1253.  
  1254. struct Gadget HGadget = {
  1255.     &JGadget,    /* next gadget */
  1256.     211,60,    /* origin of hit box */
  1257.     18,8,    /* hit box width and height */
  1258.     GADGHCOMP|GADGIMAGE,    /* flags */
  1259.     RELVERIFY,    /* activation flags */
  1260.     BOOLGADGET,    /* type flags */
  1261.     (APTR)&KeyImage,    /* render Image */
  1262.     NULL,    /* select image */
  1263.     NULL,    /* IntuiText list */
  1264.     NULL,    /* mutual-exclude (unused) */
  1265.     NULL,    /* SpecialInfo structure */
  1266.     0x25,    /* GadgetID = Raw Key Code */
  1267.     NULL    /* user data */
  1268. };
  1269.  
  1270. struct Gadget GGadget = {
  1271.     &HGadget,    /* next gadget */
  1272.     185,60,    /* origin of hit box */
  1273.     18,8,    /* hit box width and height */
  1274.     GADGHCOMP|GADGIMAGE,    /* flags */
  1275.     RELVERIFY,    /* activation flags */
  1276.     BOOLGADGET,    /* type flags */
  1277.     (APTR)&KeyImage,    /* render Image */
  1278.     NULL,    /* select image */
  1279.     NULL,    /* IntuiText list */
  1280.     NULL,    /* mutual-exclude (unused) */
  1281.     NULL,    /* SpecialInfo structure */
  1282.     0x24,    /* GadgetID = Raw Key Code */
  1283.     NULL    /* user data */
  1284. };
  1285.  
  1286. struct Gadget FGadget = {
  1287.     &GGadget,    /* next gadget */
  1288.     159,60,    /* origin of hit box */
  1289.     18,8,    /* hit box width and height */
  1290.     GADGHCOMP|GADGIMAGE,    /* flags */
  1291.     RELVERIFY,    /* activation flags */
  1292.     BOOLGADGET,    /* type flags */
  1293.     (APTR)&KeyImage,    /* render Image */
  1294.     NULL,    /* select image */
  1295.     NULL,    /* IntuiText list */
  1296.     NULL,    /* mutual-exclude (unused) */
  1297.     NULL,    /* SpecialInfo structure */
  1298.     0x23,    /* GadgetID = Raw Key Code */
  1299.     NULL    /* user data */
  1300. };
  1301.  
  1302. struct Gadget DGadget = {
  1303.     &FGadget,    /* next gadget */
  1304.     133,60,    /* origin of hit box */
  1305.     18,8,    /* hit box width and height */
  1306.     GADGHCOMP|GADGIMAGE,    /* flags */
  1307.     RELVERIFY,    /* activation flags */
  1308.     BOOLGADGET,    /* type flags */
  1309.     (APTR)&KeyImage,    /* render Image */
  1310.     NULL,    /* select image */
  1311.     NULL,    /* IntuiText list */
  1312.     NULL,    /* mutual-exclude (unused) */
  1313.     NULL,    /* SpecialInfo structure */
  1314.     0x22,    /* GadgetID = Raw Key Code */
  1315.     NULL    /* user data */
  1316. };
  1317.  
  1318. struct Gadget SGadget = {
  1319.     &DGadget,    /* next gadget */
  1320.     107,60,    /* origin of hit box */
  1321.     18,8,    /* hit box width and height */
  1322.     GADGHCOMP|GADGIMAGE,    /* flags */
  1323.     RELVERIFY,    /* activation flags */
  1324.     BOOLGADGET,    /* type flags */
  1325.     (APTR)&KeyImage,    /* render Image */
  1326.     NULL,    /* select image */
  1327.     NULL,    /* IntuiText list */
  1328.     NULL,    /* mutual-exclude (unused) */
  1329.     NULL,    /* SpecialInfo structure */
  1330.     0x21,    /* GadgetID = Raw Key Code */
  1331.     NULL    /* user data */
  1332. };
  1333.  
  1334. struct Gadget AGadget = {
  1335.     &SGadget,    /* next gadget */
  1336.     81,60,    /* origin of hit box */
  1337.     18,8,    /* hit box width and height */
  1338.     GADGHCOMP|GADGIMAGE,    /* flags */
  1339.     RELVERIFY,    /* activation flags */
  1340.     BOOLGADGET,    /* type flags */
  1341.     (APTR)&KeyImage,    /* render Image */
  1342.     NULL,    /* select image */
  1343.     NULL,    /* IntuiText list */
  1344.     NULL,    /* mutual-exclude (unused) */
  1345.     NULL,    /* SpecialInfo structure */
  1346.     0x20,    /* GadgetID = Raw Key Code */
  1347.     NULL    /* user data */
  1348. };
  1349.  
  1350. struct Gadget KP3Gadget = {
  1351.     &AGadget,    /* next gadget */
  1352.     574,73,    /* origin of hit box */
  1353.     18,8,    /* hit box width and height */
  1354.     GADGHCOMP|GADGIMAGE,    /* flags */
  1355.     RELVERIFY,    /* activation flags */
  1356.     BOOLGADGET,    /* type flags */
  1357.     (APTR)&KeyImage,    /* render Image */
  1358.     NULL,    /* select image */
  1359.     NULL,    /* IntuiText list */
  1360.     NULL,    /* mutual-exclude (unused) */
  1361.     NULL,    /* SpecialInfo structure */
  1362.     0x1F,    /* GadgetID = Raw Key Code */
  1363.     NULL    /* user data */
  1364. };
  1365.  
  1366. struct Gadget KP2Gadget = {
  1367.     &KP3Gadget,    /* next gadget */
  1368.     547,73,    /* origin of hit box */
  1369.     18,8,    /* hit box width and height */
  1370.     GADGHCOMP|GADGIMAGE,    /* flags */
  1371.     RELVERIFY,    /* activation flags */
  1372.     BOOLGADGET,    /* type flags */
  1373.     (APTR)&KeyImage,    /* render Image */
  1374.     NULL,    /* select image */
  1375.     NULL,    /* IntuiText list */
  1376.     NULL,    /* mutual-exclude (unused) */
  1377.     NULL,    /* SpecialInfo structure */
  1378.     0x1E,    /* GadgetID = Raw Key Code */
  1379.     NULL    /* user data */
  1380. };
  1381.  
  1382. struct Gadget KP1Gadget = {
  1383.     &KP2Gadget,    /* next gadget */
  1384.     520,73,    /* origin of hit box */
  1385.     18,8,    /* hit box width and height */
  1386.     GADGHCOMP|GADGIMAGE,    /* flags */
  1387.     RELVERIFY,    /* activation flags */
  1388.     BOOLGADGET,    /* type flags */
  1389.     (APTR)&KeyImage,    /* render Image */
  1390.     NULL,    /* select image */
  1391.     NULL,    /* IntuiText list */
  1392.     NULL,    /* mutual-exclude (unused) */
  1393.     NULL,    /* SpecialInfo structure */
  1394.     0x1D,    /* GadgetID = Raw Key Code */
  1395.     NULL    /* user data */
  1396. };
  1397.  
  1398. struct Gadget CloseBracketGadget = {
  1399.     &KP1Gadget,    /* next gadget */
  1400.     362,47,    /* origin of hit box */
  1401.     18,8,    /* hit box width and height */
  1402.     GADGHCOMP|GADGIMAGE,    /* flags */
  1403.     RELVERIFY,    /* activation flags */
  1404.     BOOLGADGET,    /* type flags */
  1405.     (APTR)&KeyImage,    /* render Image */
  1406.     NULL,    /* select image */
  1407.     NULL,    /* IntuiText list */
  1408.     NULL,    /* mutual-exclude (unused) */
  1409.     NULL,    /* SpecialInfo structure */
  1410.     0x1B,    /* GadgetID = Raw Key Code */
  1411.     NULL    /* user data */
  1412. };
  1413.  
  1414. struct Gadget OpenBracketGadget = {
  1415.     &CloseBracketGadget,    /* next gadget */
  1416.     336,47,    /* origin of hit box */
  1417.     18,8,    /* hit box width and height */
  1418.     GADGHCOMP|GADGIMAGE,    /* flags */
  1419.     RELVERIFY,    /* activation flags */
  1420.     BOOLGADGET,    /* type flags */
  1421.     (APTR)&KeyImage,    /* render Image */
  1422.     NULL,    /* select image */
  1423.     NULL,    /* IntuiText list */
  1424.     NULL,    /* mutual-exclude (unused) */
  1425.     NULL,    /* SpecialInfo structure */
  1426.     0x1A,    /* GadgetID = Raw Key Code */
  1427.     NULL    /* user data */
  1428. };
  1429.  
  1430. struct Gadget PGadget = {
  1431.     &OpenBracketGadget,    /* next gadget */
  1432.     310,47,    /* origin of hit box */
  1433.     18,8,    /* hit box width and height */
  1434.     GADGHCOMP|GADGIMAGE,    /* flags */
  1435.     RELVERIFY,    /* activation flags */
  1436.     BOOLGADGET,    /* type flags */
  1437.     (APTR)&KeyImage,    /* render Image */
  1438.     NULL,    /* select image */
  1439.     NULL,    /* IntuiText list */
  1440.     NULL,    /* mutual-exclude (unused) */
  1441.     NULL,    /* SpecialInfo structure */
  1442.     0x19,    /* GadgetID = Raw Key Code */
  1443.     NULL    /* user data */
  1444. };
  1445.  
  1446. struct Gadget OGadget = {
  1447.     &PGadget,    /* next gadget */
  1448.     284,47,    /* origin of hit box */
  1449.     18,8,    /* hit box width and height */
  1450.     GADGHCOMP|GADGIMAGE,    /* flags */
  1451.     RELVERIFY,    /* activation flags */
  1452.     BOOLGADGET,    /* type flags */
  1453.     (APTR)&KeyImage,    /* render Image */
  1454.     NULL,    /* select image */
  1455.     NULL,    /* IntuiText list */
  1456.     NULL,    /* mutual-exclude (unused) */
  1457.     NULL,    /* SpecialInfo structure */
  1458.     0x18,    /* GadgetID = Raw Key Code */
  1459.     NULL    /* user data */
  1460. };
  1461.  
  1462. struct Gadget IGadget = {
  1463.     &OGadget,    /* next gadget */
  1464.     258,47,    /* origin of hit box */
  1465.     18,8,    /* hit box width and height */
  1466.     GADGHCOMP|GADGIMAGE,    /* flags */
  1467.     RELVERIFY,    /* activation flags */
  1468.     BOOLGADGET,    /* type flags */
  1469.     (APTR)&KeyImage,    /* render Image */
  1470.     NULL,    /* select image */
  1471.     NULL,    /* IntuiText list */
  1472.     NULL,    /* mutual-exclude (unused) */
  1473.     NULL,    /* SpecialInfo structure */
  1474.     0x17,    /* GadgetID = Raw Key Code */
  1475.     NULL    /* user data */
  1476. };
  1477.  
  1478. struct Gadget UGadget = {
  1479.     &IGadget,    /* next gadget */
  1480.     232,47,    /* origin of hit box */
  1481.     18,8,    /* hit box width and height */
  1482.     GADGHCOMP|GADGIMAGE,    /* flags */
  1483.     RELVERIFY,    /* activation flags */
  1484.     BOOLGADGET,    /* type flags */
  1485.     (APTR)&KeyImage,    /* render Image */
  1486.     NULL,    /* select image */
  1487.     NULL,    /* IntuiText list */
  1488.     NULL,    /* mutual-exclude (unused) */
  1489.     NULL,    /* SpecialInfo structure */
  1490.     0x16,    /* GadgetID = Raw Key Code */
  1491.     NULL    /* user data */
  1492. };
  1493.  
  1494. struct Gadget YGadget = {
  1495.     &UGadget,    /* next gadget */
  1496.     206,47,    /* origin of hit box */
  1497.     18,8,    /* hit box width and height */
  1498.     GADGHCOMP|GADGIMAGE,    /* flags */
  1499.     RELVERIFY,    /* activation flags */
  1500.     BOOLGADGET,    /* type flags */
  1501.     (APTR)&KeyImage,    /* render Image */
  1502.     NULL,    /* select image */
  1503.     NULL,    /* IntuiText list */
  1504.     NULL,    /* mutual-exclude (unused) */
  1505.     NULL,    /* SpecialInfo structure */
  1506.     0x15,    /* GadgetID = Raw Key Code */
  1507.     NULL    /* user data */
  1508. };
  1509.  
  1510. struct Gadget TGadget = {
  1511.     &YGadget,    /* next gadget */
  1512.     180,47,    /* origin of hit box */
  1513.     18,8,    /* hit box width and height */
  1514.     GADGHCOMP|GADGIMAGE,    /* flags */
  1515.     RELVERIFY,    /* activation flags */
  1516.     BOOLGADGET,    /* type flags */
  1517.     (APTR)&KeyImage,    /* render Image */
  1518.     NULL,    /* select image */
  1519.     NULL,    /* IntuiText list */
  1520.     NULL,    /* mutual-exclude (unused) */
  1521.     NULL,    /* SpecialInfo structure */
  1522.     0x14,    /* GadgetID = Raw Key Code */
  1523.     NULL    /* user data */
  1524. };
  1525.  
  1526. struct Gadget RGadget = {
  1527.     &TGadget,    /* next gadget */
  1528.     154,47,    /* origin of hit box */
  1529.     18,8,    /* hit box width and height */
  1530.     GADGHCOMP|GADGIMAGE,    /* flags */
  1531.     RELVERIFY,    /* activation flags */
  1532.     BOOLGADGET,    /* type flags */
  1533.     (APTR)&KeyImage,    /* render Image */
  1534.     NULL,    /* select image */
  1535.     NULL,    /* IntuiText list */
  1536.     NULL,    /* mutual-exclude (unused) */
  1537.     NULL,    /* SpecialInfo structure */
  1538.     0x13,    /* GadgetID = Raw Key Code */
  1539.     NULL    /* user data */
  1540. };
  1541.  
  1542. struct Gadget EGadget = {
  1543.     &RGadget,    /* next gadget */
  1544.     128,47,    /* origin of hit box */
  1545.     18,8,    /* hit box width and height */
  1546.     GADGHCOMP|GADGIMAGE,    /* flags */
  1547.     RELVERIFY,    /* activation flags */
  1548.     BOOLGADGET,    /* type flags */
  1549.     (APTR)&KeyImage,    /* render Image */
  1550.     NULL,    /* select image */
  1551.     NULL,    /* IntuiText list */
  1552.     NULL,    /* mutual-exclude (unused) */
  1553.     NULL,    /* SpecialInfo structure */
  1554.     0x12,    /* GadgetID = Raw Key Code */
  1555.     NULL    /* user data */
  1556. };
  1557.  
  1558. struct Gadget WGadget = {
  1559.     &EGadget,    /* next gadget */
  1560.     102,47,    /* origin of hit box */
  1561.     18,8,    /* hit box width and height */
  1562.     GADGHCOMP|GADGIMAGE,    /* flags */
  1563.     RELVERIFY,    /* activation flags */
  1564.     BOOLGADGET,    /* type flags */
  1565.     (APTR)&KeyImage,    /* render Image */
  1566.     NULL,    /* select image */
  1567.     NULL,    /* IntuiText list */
  1568.     NULL,    /* mutual-exclude (unused) */
  1569.     NULL,    /* SpecialInfo structure */
  1570.     0x11,    /* GadgetID = Raw Key Code */
  1571.     NULL    /* user data */
  1572. };
  1573.  
  1574. struct Gadget QGadget = {
  1575.     &WGadget,    /* next gadget */
  1576.     76,47,    /* origin of hit box */
  1577.     18,8,    /* hit box width and height */
  1578.     GADGHCOMP|GADGIMAGE,    /* flags */
  1579.     RELVERIFY,    /* activation flags */
  1580.     BOOLGADGET,    /* type flags */
  1581.     (APTR)&KeyImage,    /* render Image */
  1582.     NULL,    /* select image */
  1583.     NULL,    /* IntuiText list */
  1584.     NULL,    /* mutual-exclude (unused) */
  1585.     NULL,    /* SpecialInfo structure */
  1586.     0x10,    /* GadgetID = Raw Key Code */
  1587.     NULL    /* user data */
  1588. };
  1589.  
  1590. struct Gadget KP0Gadget = {
  1591.     &QGadget,    /* next gadget */
  1592.     521,86,    /* origin of hit box */
  1593.     44,8,    /* hit box width and height */
  1594.     GADGHCOMP|GADGIMAGE,    /* flags */
  1595.     RELVERIFY,    /* activation flags */
  1596.     BOOLGADGET,    /* type flags */
  1597.     (APTR)&DoubleWideImage,    /* render Image */
  1598.     NULL,    /* select image */
  1599.     NULL,    /* IntuiText list */
  1600.     NULL,    /* mutual-exclude (unused) */
  1601.     NULL,    /* SpecialInfo structure */
  1602.     0x0F,    /* GadgetID = Raw Key Code */
  1603.     NULL    /* user data */
  1604. };
  1605.  
  1606. struct Gadget BackSlashGadget = {
  1607.     &KP0Gadget,    /* next gadget */
  1608.     368,34,    /* origin of hit box */
  1609.     18,8,    /* hit box width and height */
  1610.     GADGHCOMP|GADGIMAGE,    /* flags */
  1611.     RELVERIFY,    /* activation flags */
  1612.     BOOLGADGET,    /* type flags */
  1613.     (APTR)&KeyImage,    /* render Image */
  1614.     NULL,    /* select image */
  1615.     NULL,    /* IntuiText list */
  1616.     NULL,    /* mutual-exclude (unused) */
  1617.     NULL,    /* SpecialInfo structure */
  1618.     0x0D,    /* GadgetID = Raw Key Code */
  1619.     NULL    /* user data */
  1620. };
  1621.  
  1622. struct Gadget EqualGadget = {
  1623.     &BackSlashGadget,    /* next gadget */
  1624.     342,34,    /* origin of hit box */
  1625.     18,8,    /* hit box width and height */
  1626.     GADGHCOMP|GADGIMAGE,    /* flags */
  1627.     RELVERIFY,    /* activation flags */
  1628.     BOOLGADGET,    /* type flags */
  1629.     (APTR)&KeyImage,    /* render Image */
  1630.     NULL,    /* select image */
  1631.     NULL,    /* IntuiText list */
  1632.     NULL,    /* mutual-exclude (unused) */
  1633.     NULL,    /* SpecialInfo structure */
  1634.     0x0C,    /* GadgetID = Raw Key Code */
  1635.     NULL    /* user data */
  1636. };
  1637.  
  1638. struct Gadget DashGadget = {
  1639.     &EqualGadget,    /* next gadget */
  1640.     316,34,    /* origin of hit box */
  1641.     18,8,    /* hit box width and height */
  1642.     GADGHCOMP|GADGIMAGE,    /* flags */
  1643.     RELVERIFY,    /* activation flags */
  1644.     BOOLGADGET,    /* type flags */
  1645.     (APTR)&KeyImage,    /* render Image */
  1646.     NULL,    /* select image */
  1647.     NULL,    /* IntuiText list */
  1648.     NULL,    /* mutual-exclude (unused) */
  1649.     NULL,    /* SpecialInfo structure */
  1650.     0x0B,    /* GadgetID = Raw Key Code */
  1651.     NULL    /* user data */
  1652. };
  1653.  
  1654. struct Gadget ZeroGadget = {
  1655.     &DashGadget,    /* next gadget */
  1656.     290,34,    /* origin of hit box */
  1657.     18,8,    /* hit box width and height */
  1658.     GADGHCOMP|GADGIMAGE,    /* flags */
  1659.     RELVERIFY,    /* activation flags */
  1660.     BOOLGADGET,    /* type flags */
  1661.     (APTR)&KeyImage,    /* render Image */
  1662.     NULL,    /* select image */
  1663.     NULL,    /* IntuiText list */
  1664.     NULL,    /* mutual-exclude (unused) */
  1665.     NULL,    /* SpecialInfo structure */
  1666.     0x0A,    /* GadgetID = Raw Key Code */
  1667.     NULL    /* user data */
  1668. };
  1669.  
  1670. struct Gadget NineGadget = {
  1671.     &ZeroGadget,    /* next gadget */
  1672.     264,34,    /* origin of hit box */
  1673.     18,8,    /* hit box width and height */
  1674.     GADGHCOMP|GADGIMAGE,    /* flags */
  1675.     RELVERIFY,    /* activation flags */
  1676.     BOOLGADGET,    /* type flags */
  1677.     (APTR)&KeyImage,    /* render Image */
  1678.     NULL,    /* select image */
  1679.     NULL,    /* IntuiText list */
  1680.     NULL,    /* mutual-exclude (unused) */
  1681.     NULL,    /* SpecialInfo structure */
  1682.     0x09,    /* GadgetID = Raw Key Code */
  1683.     NULL    /* user data */
  1684. };
  1685.  
  1686. struct Gadget EightGadget = {
  1687.     &NineGadget,    /* next gadget */
  1688.     238,34,    /* origin of hit box */
  1689.     18,8,    /* hit box width and height */
  1690.     GADGHCOMP|GADGIMAGE,    /* flags */
  1691.     RELVERIFY,    /* activation flags */
  1692.     BOOLGADGET,    /* type flags */
  1693.     (APTR)&KeyImage,    /* render Image */
  1694.     NULL,    /* select image */
  1695.     NULL,    /* IntuiText list */
  1696.     NULL,    /* mutual-exclude (unused) */
  1697.     NULL,    /* SpecialInfo structure */
  1698.     0x08,    /* GadgetID = Raw Key Code */
  1699.     NULL    /* user data */
  1700. };
  1701.  
  1702. struct Gadget SevenGadget = {
  1703.     &EightGadget,    /* next gadget */
  1704.     212,34,    /* origin of hit box */
  1705.     18,8,    /* hit box width and height */
  1706.     GADGHCOMP|GADGIMAGE,    /* flags */
  1707.     RELVERIFY,    /* activation flags */
  1708.     BOOLGADGET,    /* type flags */
  1709.     (APTR)&KeyImage,    /* render Image */
  1710.     NULL,    /* select image */
  1711.     NULL,    /* IntuiText list */
  1712.     NULL,    /* mutual-exclude (unused) */
  1713.     NULL,    /* SpecialInfo structure */
  1714.     0x07,    /* GadgetID = Raw Key Code */
  1715.     NULL    /* user data */
  1716. };
  1717.  
  1718. struct Gadget SixGadget = {
  1719.     &SevenGadget,    /* next gadget */
  1720.     186,34,    /* origin of hit box */
  1721.     18,8,    /* hit box width and height */
  1722.     GADGHCOMP|GADGIMAGE,    /* flags */
  1723.     RELVERIFY,    /* activation flags */
  1724.     BOOLGADGET,    /* type flags */
  1725.     (APTR)&KeyImage,    /* render Image */
  1726.     NULL,    /* select image */
  1727.     NULL,    /* IntuiText list */
  1728.     NULL,    /* mutual-exclude (unused) */
  1729.     NULL,    /* SpecialInfo structure */
  1730.     0x06,    /* GadgetID = Raw Key Code */
  1731.     NULL    /* user data */
  1732. };
  1733.  
  1734. struct Gadget FiveGadget = {
  1735.     &SixGadget,    /* next gadget */
  1736.     160,34,    /* origin of hit box */
  1737.     18,8,    /* hit box width and height */
  1738.     GADGHCOMP|GADGIMAGE,    /* flags */
  1739.     RELVERIFY,    /* activation flags */
  1740.     BOOLGADGET,    /* type flags */
  1741.     (APTR)&KeyImage,    /* render Image */
  1742.     NULL,    /* select image */
  1743.     NULL,    /* IntuiText list */
  1744.     NULL,    /* mutual-exclude (unused) */
  1745.     NULL,    /* SpecialInfo structure */
  1746.     0x05,    /* GadgetID = Raw Key Code */
  1747.     NULL    /* user data */
  1748. };
  1749.  
  1750. struct Gadget FourGadget = {
  1751.     &FiveGadget,    /* next gadget */
  1752.     134,34,    /* origin of hit box */
  1753.     18,8,    /* hit box width and height */
  1754.     GADGHCOMP|GADGIMAGE,    /* flags */
  1755.     RELVERIFY,    /* activation flags */
  1756.     BOOLGADGET,    /* type flags */
  1757.     (APTR)&KeyImage,    /* render Image */
  1758.     NULL,    /* select image */
  1759.     NULL,    /* IntuiText list */
  1760.     NULL,    /* mutual-exclude (unused) */
  1761.     NULL,    /* SpecialInfo structure */
  1762.     0x04,    /* GadgetID = Raw Key Code */
  1763.     NULL    /* user data */
  1764. };
  1765.  
  1766. struct Gadget ThreeGadget = {
  1767.     &FourGadget,    /* next gadget */
  1768.     108,34,    /* origin of hit box */
  1769.     18,8,    /* hit box width and height */
  1770.     GADGHCOMP|GADGIMAGE,    /* flags */
  1771.     RELVERIFY,    /* activation flags */
  1772.     BOOLGADGET,    /* type flags */
  1773.     (APTR)&KeyImage,    /* render Image */
  1774.     NULL,    /* select image */
  1775.     NULL,    /* IntuiText list */
  1776.     NULL,    /* mutual-exclude (unused) */
  1777.     NULL,    /* SpecialInfo structure */
  1778.     0x03,    /* GadgetID = Raw Key Code */
  1779.     NULL    /* user data */
  1780. };
  1781.  
  1782. struct Gadget TwoGadget = {
  1783.     &ThreeGadget,    /* next gadget */
  1784.     82,34,    /* origin of hit box */
  1785.     18,8,    /* hit box width and height */
  1786.     GADGHCOMP|GADGIMAGE,    /* flags */
  1787.     RELVERIFY,    /* activation flags */
  1788.     BOOLGADGET,    /* type flags */
  1789.     (APTR)&KeyImage,    /* render Image */
  1790.     NULL,    /* select image */
  1791.     NULL,    /* IntuiText list */
  1792.     NULL,    /* mutual-exclude (unused) */
  1793.     NULL,    /* SpecialInfo structure */
  1794.     0x02,    /* GadgetID = Raw Key Code */
  1795.     NULL    /* user data */
  1796. };
  1797.  
  1798. struct Gadget OneGadget = {
  1799.     &TwoGadget,    /* next gadget */
  1800.     56,34,    /* origin of hit box */
  1801.     18,8,    /* hit box width and height */
  1802.     GADGHCOMP|GADGIMAGE,    /* flags */
  1803.     RELVERIFY,    /* activation flags */
  1804.     BOOLGADGET,    /* type flags */
  1805.     (APTR)&KeyImage,    /* render Image */
  1806.     NULL,    /* select image */
  1807.     NULL,    /* IntuiText list */
  1808.     NULL,    /* mutual-exclude (unused) */
  1809.     NULL,    /* SpecialInfo structure */
  1810.     0x01,    /* GadgetID = Raw Key Code */
  1811.     NULL    /* user data */
  1812. };
  1813.  
  1814. struct Gadget AccGravGadget = {
  1815.     &OneGadget,    /* next gadget */
  1816.     24,34,    /* origin of hit box */
  1817.     24,8,    /* hit box width and height */
  1818.     GADGHCOMP|GADGIMAGE,    /* flags */
  1819.     RELVERIFY,    /* activation flags */
  1820.     BOOLGADGET,    /* type flags */
  1821.     (APTR)&FuncImage,    /* render Image */
  1822.     NULL,    /* select image */
  1823.     NULL,    /* IntuiText list */
  1824.     NULL,    /* mutual-exclude (unused) */
  1825.     NULL,    /* SpecialInfo structure */
  1826.     0x00,    /* GadgetID = Raw Key Code */
  1827.     NULL    /* user data */
  1828. };
  1829.  
  1830. #define GadgetList &AccGravGadget
  1831. #define DefinableKeys 86
  1832.