home *** CD-ROM | disk | FTP | other *** search
/ Encyclopedia of Graphics File Formats Companion / GFF_CD.ISO / software / unix / saoimage / sao1_07.tar / panel / menuscl.h < prev    next >
Text File  |  1991-01-02  |  16KB  |  329 lines

  1.  
  2.  
  3. /* linear button: ScaleA1 */
  4. #define ScaleA1_offo_width 36
  5. #define ScaleA1_offo_height 14
  6. static char ScaleA1_offo_label[] = {
  7.   0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x00, 0x12, 0x00,
  8.   0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x92, 0x0e, 0x06, 0x87,
  9.   0x06, 0x92, 0x11, 0x89, 0x88, 0x01, 0x92, 0x90, 0x10, 0x8c, 0x00, 0x92,
  10.   0x90, 0x1f, 0x8b, 0x00, 0x92, 0x90, 0x80, 0x88, 0x00, 0x92, 0x10, 0x91,
  11.   0x88, 0x00, 0x92, 0x10, 0x0e, 0x97, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  12.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
  13. static char ScaleA1_offo_mask[] = {
  14.   0x3f, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x00,
  15.   0x00, 0x00, 0x00, 0xff, 0x1f, 0x8f, 0xcf, 0x0f, 0xff, 0xbf, 0xdf, 0xdf,
  16.   0x0f, 0xff, 0xff, 0xff, 0xdf, 0x0f, 0xff, 0xfb, 0xff, 0xdf, 0x03, 0xff,
  17.   0xf9, 0xff, 0xdf, 0x01, 0xff, 0xf9, 0xff, 0xdf, 0x01, 0xff, 0xf9, 0xff,
  18.   0xff, 0x01, 0xff, 0xb9, 0xff, 0xff, 0x01, 0xff, 0x39, 0x9f, 0xff, 0x01,
  19.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
  20. static int ScaleA1_offo_breaks[] = { 3, 6, 14, 22, 30, 36 };
  21. static ButtonLabel ScaleA1_offo = {
  22.   (unsigned char *)ScaleA1_offo_label, (unsigned char *)ScaleA1_offo_mask,
  23.   ScaleA1_offo_width, ScaleA1_offo_height,
  24.   0.5, 0.5, 0, 0,            /* placement */
  25.   5, 6, 0, ScaleA1_offo_breaks };
  26. #define ScaleA1_offi_width 36
  27. #define ScaleA1_offi_height 14
  28. static char ScaleA1_offi_label[] = {
  29.   0x00, 0x00, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x00, 0x1b, 0x00,
  30.   0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0xdb, 0x8f, 0x8f, 0xc7,
  31.   0x07, 0xdb, 0xd8, 0xd8, 0xcc, 0x06, 0xdb, 0xd8, 0x18, 0xcc, 0x00, 0xdb,
  32.   0xd8, 0x9f, 0xcf, 0x00, 0xdb, 0xd8, 0xc0, 0xcc, 0x00, 0xdb, 0xd8, 0xd8,
  33.   0xcc, 0x00, 0xdb, 0x98, 0x8f, 0xdb, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  34.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
  35. static char ScaleA1_offi_mask[] = {
  36.   0x3f, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x00,
  37.   0x00, 0x00, 0x00, 0xff, 0xdf, 0xdf, 0xef, 0x0f, 0xff, 0xff, 0xff, 0xff,
  38.   0x0f, 0xff, 0xff, 0xff, 0xff, 0x0f, 0xff, 0xfd, 0xff, 0xff, 0x0f, 0xff,
  39.   0xfd, 0xff, 0xff, 0x01, 0xff, 0xfd, 0xff, 0xff, 0x01, 0xff, 0xfd, 0xff,
  40.   0xff, 0x01, 0xff, 0xfd, 0xff, 0xff, 0x01, 0xff, 0xfd, 0xdf, 0xff, 0x01,
  41.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
  42. static int ScaleA1_offi_breaks[] = { 3, 6, 14, 22, 30, 36 };
  43. static ButtonLabel ScaleA1_offi = {
  44.   (unsigned char *)ScaleA1_offi_label, (unsigned char *)ScaleA1_offi_mask,
  45.   ScaleA1_offi_width, ScaleA1_offi_height,
  46.   0.5, 0.5, 0, 0,            /* placement */
  47.   5, 6, 0, ScaleA1_offi_breaks };
  48. static ButtonLook ScaleA1_look = {
  49.   &ScaleA1_offo, NULL, &ScaleA1_offo, NULL,
  50.   &ScaleA1_offi, NULL, &ScaleA1_offi, NULL };
  51. static ButtonFeel ScaleA1_feel = {
  52.   "ScaleA1", 2,
  53.   { BTNMode, BTNCoWhile },
  54.   { 0x0004, 0x0004 },
  55.   { 0x0000, 0x0004 },
  56.   { 7, 1, 0, 0 } };
  57. /* wrap button: ScaleA2 */
  58. #define ScaleA2_offo_width 33
  59. #define ScaleA2_offo_height 14
  60. static char ScaleA2_offo_label[] = {
  61.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  62.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x22, 0xd2, 0x38, 0x34,
  63.   0x00, 0x22, 0x32, 0x44, 0x4c, 0x00, 0x54, 0x11, 0x60, 0x84, 0x00, 0x54,
  64.   0x11, 0x58, 0x84, 0x00, 0x54, 0x11, 0x44, 0x84, 0x00, 0x88, 0x10, 0x44,
  65.   0x4c, 0x00, 0x88, 0x10, 0xb8, 0x34, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00,
  66.   0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00 };
  67. static char ScaleA2_offo_mask[] = {
  68.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  69.   0x00, 0x00, 0x00, 0x77, 0xff, 0x7d, 0x7e, 0x00, 0x77, 0xff, 0xff, 0xfe,
  70.   0x00, 0xff, 0xff, 0xff, 0xfe, 0x01, 0xff, 0x7f, 0xfe, 0xfe, 0x01, 0xfe,
  71.   0x3b, 0xfe, 0xce, 0x01, 0xfe, 0x3b, 0xfe, 0xfe, 0x01, 0xfe, 0x3b, 0xfe,
  72.   0xff, 0x01, 0xdc, 0x39, 0xfe, 0xff, 0x00, 0xdc, 0x39, 0xfc, 0x7f, 0x00,
  73.   0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x00 };
  74. static int ScaleA2_offo_breaks[] = { 11, 17, 25, 33 };
  75. static ButtonLabel ScaleA2_offo = {
  76.   (unsigned char *)ScaleA2_offo_label, (unsigned char *)ScaleA2_offo_mask,
  77.   ScaleA2_offo_width, ScaleA2_offo_height,
  78.   0.5, 0.5, 0, 0,            /* placement */
  79.   5, 4, 0, ScaleA2_offo_breaks };
  80. #define ScaleA2_offi_width 34
  81. #define ScaleA2_offi_height 14
  82. static char ScaleA2_offi_label[] = {
  83.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  84.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x23, 0xf6, 0x79, 0xfc,
  85.   0x00, 0x23, 0xb6, 0xcd, 0x8c, 0x01, 0x76, 0x33, 0xc0, 0x8c, 0x01, 0x76,
  86.   0x33, 0xf8, 0x8c, 0x01, 0xde, 0x33, 0xcc, 0x8c, 0x01, 0x8c, 0x31, 0xcc,
  87.   0x8c, 0x01, 0x8c, 0x31, 0xb8, 0xfd, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00,
  88.   0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00 };
  89. static char ScaleA2_offi_mask[] = {
  90.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  91.   0x00, 0x00, 0x00, 0x77, 0xff, 0xff, 0xfe, 0x01, 0x77, 0xff, 0xff, 0xff,
  92.   0x03, 0xff, 0xff, 0xff, 0xff, 0x03, 0xff, 0xff, 0xff, 0xdf, 0x03, 0xff,
  93.   0x7f, 0xfe, 0xdf, 0x03, 0xff, 0x7f, 0xfe, 0xdf, 0x03, 0xff, 0x7f, 0xfe,
  94.   0xff, 0x03, 0xde, 0x7b, 0xfe, 0xff, 0x03, 0xde, 0x7b, 0xfc, 0xff, 0x01,
  95.   0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x1e, 0x00 };
  96. static int ScaleA2_offi_breaks[] = { 12, 18, 26, 34 };
  97. static ButtonLabel ScaleA2_offi = {
  98.   (unsigned char *)ScaleA2_offi_label, (unsigned char *)ScaleA2_offi_mask,
  99.   ScaleA2_offi_width, ScaleA2_offi_height,
  100.   0.5, 0.5, 0, 0,            /* placement */
  101.   5, 4, 0, ScaleA2_offi_breaks };
  102. static ButtonLook ScaleA2_look = {
  103.   &ScaleA2_offo, NULL, &ScaleA2_offo, NULL,
  104.   &ScaleA2_offi, NULL, &ScaleA2_offi, NULL };
  105. static ButtonFeel ScaleA2_feel = {
  106.   "ScaleA2", 2,
  107.   { BTNMode, BTNCoWhile },
  108.   { 0x0004, 0x0004 },
  109.   { 0x0000, 0x0004 },
  110.   { 7, 2, 0, 0 } };
  111. /* log button: ScaleA3 */
  112. #define ScaleA3_offo_width 20
  113. #define ScaleA3_offo_height 14
  114. static char ScaleA3_offo_label[] = {
  115.   0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x02, 0x00, 0x00, 0x02, 0x00, 0x00,
  116.   0xc2, 0x81, 0x05, 0x22, 0x42, 0x06, 0x12, 0x24, 0x04, 0x12, 0x24, 0x04,
  117.   0x12, 0x24, 0x04, 0x22, 0x42, 0x06, 0xc2, 0x81, 0x05, 0x00, 0x00, 0x04,
  118.   0x00, 0x20, 0x04, 0x00, 0xc0, 0x03 };
  119. static char ScaleA3_offo_mask[] = {
  120.   0x07, 0x00, 0x00, 0x07, 0x00, 0x00, 0x07, 0x00, 0x00, 0xe7, 0xc3, 0x0f,
  121.   0xf7, 0xe7, 0x0f, 0xff, 0xff, 0x0f, 0x7f, 0xff, 0x0f, 0x3f, 0x7e, 0x0e,
  122.   0x7f, 0xff, 0x0f, 0xff, 0xff, 0x0f, 0xf7, 0xe7, 0x0f, 0xe7, 0xf3, 0x0f,
  123.   0x00, 0xf0, 0x0f, 0x00, 0xf0, 0x0f };
  124. static int ScaleA3_offo_breaks[] = { 3, 12, 20 };
  125. static ButtonLabel ScaleA3_offo = {
  126.   (unsigned char *)ScaleA3_offo_label, (unsigned char *)ScaleA3_offo_mask,
  127.   ScaleA3_offo_width, ScaleA3_offo_height,
  128.   0.5, 0.5, 0, 0,            /* placement */
  129.   3, 3, 0, ScaleA3_offo_breaks };
  130. #define ScaleA3_offi_width 19
  131. #define ScaleA3_offi_height 14
  132. static char ScaleA3_offi_label[] = {
  133.   0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x03, 0x00, 0x00, 0x03, 0x00, 0x00,
  134.   0xf3, 0xf1, 0x03, 0x1b, 0x1b, 0x03, 0x1b, 0x1b, 0x03, 0x1b, 0x1b, 0x03,
  135.   0x1b, 0x1b, 0x03, 0x1b, 0x1b, 0x03, 0xf3, 0xf1, 0x03, 0x00, 0x00, 0x03,
  136.   0x00, 0x18, 0x03, 0x00, 0xf0, 0x01 };
  137. static char ScaleA3_offi_mask[] = {
  138.   0x07, 0x00, 0x00, 0x07, 0x00, 0x00, 0x07, 0x00, 0x00, 0xff, 0xfb, 0x07,
  139.   0xff, 0xff, 0x07, 0xff, 0xff, 0x07, 0xbf, 0xbf, 0x07, 0xbf, 0xbf, 0x07,
  140.   0xbf, 0xbf, 0x07, 0xff, 0xff, 0x07, 0xff, 0xff, 0x07, 0xff, 0xff, 0x07,
  141.   0x00, 0xfc, 0x07, 0x00, 0xfc, 0x07 };
  142. static int ScaleA3_offi_breaks[] = { 3, 11, 19 };
  143. static ButtonLabel ScaleA3_offi = {
  144.   (unsigned char *)ScaleA3_offi_label, (unsigned char *)ScaleA3_offi_mask,
  145.   ScaleA3_offi_width, ScaleA3_offi_height,
  146.   0.5, 0.5, 0, 0,            /* placement */
  147.   3, 3, 0, ScaleA3_offi_breaks };
  148. static ButtonLook ScaleA3_look = {
  149.   &ScaleA3_offo, NULL, &ScaleA3_offo, NULL,
  150.   &ScaleA3_offi, NULL, &ScaleA3_offi, NULL };
  151. static ButtonFeel ScaleA3_feel = {
  152.   "ScaleA3", 2,
  153.   { BTNMode, BTNCoWhile },
  154.   { 0x0004, 0x0004 },
  155.   { 0x0000, 0x0004 },
  156.   { 7, 4, 0, 0 } };
  157. /* sqrt button: ScaleA4 */
  158. #define ScaleA4_offo_width 28
  159. #define ScaleA4_offo_height 14
  160. static char ScaleA4_offo_label[] = {
  161.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
  162.   0x00, 0x00, 0x00, 0x01, 0x3c, 0x58, 0x9a, 0x07, 0x42, 0x64, 0x06, 0x01,
  163.   0x02, 0x42, 0x02, 0x01, 0x3c, 0x42, 0x02, 0x01, 0x40, 0x42, 0x02, 0x01,
  164.   0x42, 0x64, 0x02, 0x01, 0x3c, 0x58, 0x02, 0x06, 0x00, 0x40, 0x00, 0x00,
  165.   0x00, 0x40, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00 };
  166. static char ScaleA4_offo_mask[] = {
  167.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03,
  168.   0x7e, 0xfc, 0xff, 0x0f, 0xff, 0xfe, 0xff, 0x0f, 0xff, 0xff, 0xff, 0x0f,
  169.   0xff, 0xff, 0x8f, 0x03, 0xff, 0xe7, 0x87, 0x03, 0xff, 0xff, 0x87, 0x03,
  170.   0xff, 0xff, 0x87, 0x0f, 0xff, 0xfe, 0x87, 0x0f, 0x7e, 0xfc, 0x07, 0x0f,
  171.   0x00, 0xe0, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x00 };
  172. static int ScaleA4_offo_breaks[] = { 8, 16, 22, 28 };
  173. static ButtonLabel ScaleA4_offo = {
  174.   (unsigned char *)ScaleA4_offo_label, (unsigned char *)ScaleA4_offo_mask,
  175.   ScaleA4_offo_width, ScaleA4_offo_height,
  176.   0.5, 0.5, 0, 0,            /* placement */
  177.   4, 4, 0, ScaleA4_offo_breaks };
  178. #define ScaleA4_offi_width 27
  179. #define ScaleA4_offi_height 14
  180. static char ScaleA4_offi_label[] = {
  181.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00,
  182.   0x00, 0x00, 0xc0, 0x00, 0x1e, 0xbf, 0xef, 0x03, 0xb3, 0xb1, 0xcd, 0x00,
  183.   0x87, 0xb1, 0xc1, 0x00, 0x9e, 0xb1, 0xc1, 0x00, 0xb8, 0xb1, 0xc1, 0x00,
  184.   0xb3, 0xb1, 0xc1, 0x00, 0x1e, 0xbf, 0x81, 0x03, 0x00, 0x30, 0x00, 0x00,
  185.   0x00, 0x30, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00 };
  186. static char ScaleA4_offi_mask[] = {
  187.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x00, 0x00, 0xe0, 0x01,
  188.   0xbf, 0xff, 0xff, 0x07, 0xff, 0xff, 0xff, 0x07, 0xff, 0xff, 0xff, 0x07,
  189.   0xff, 0xfb, 0xff, 0x01, 0xff, 0xfb, 0xe3, 0x01, 0xff, 0xfb, 0xe3, 0x01,
  190.   0xff, 0xff, 0xe3, 0x07, 0xff, 0xff, 0xe3, 0x07, 0xbf, 0xff, 0xc3, 0x07,
  191.   0x00, 0x78, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00 };
  192. static int ScaleA4_offi_breaks[] = { 7, 15, 21, 27 };
  193. static ButtonLabel ScaleA4_offi = {
  194.   (unsigned char *)ScaleA4_offi_label, (unsigned char *)ScaleA4_offi_mask,
  195.   ScaleA4_offi_width, ScaleA4_offi_height,
  196.   0.5, 0.5, 0, 0,            /* placement */
  197.   4, 4, 0, ScaleA4_offi_breaks };
  198. static ButtonLook ScaleA4_look = {
  199.   &ScaleA4_offo, NULL, &ScaleA4_offo, NULL,
  200.   &ScaleA4_offi, NULL, &ScaleA4_offi, NULL };
  201. static ButtonFeel ScaleA4_feel = {
  202.   "ScaleA4", 2,
  203.   { BTNMode, BTNCoWhile },
  204.   { 0x0004, 0x0004 },
  205.   { 0x0000, 0x0004 },
  206.   { 7, 3, 0, 0 } };
  207. /* histeq button: ScaleA5 */
  208. #define ScaleA5_offo_width 41
  209. #define ScaleA5_offo_height 14
  210. static char ScaleA5_offo_label[] = {
  211.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00,
  212.   0x02, 0x02, 0x20, 0x00, 0x00, 0x00, 0x02, 0x00, 0x20, 0x00, 0x00, 0x00,
  213.   0x3a, 0xe2, 0xf1, 0x30, 0xb0, 0x00, 0x46, 0x12, 0x22, 0x48, 0xc8, 0x00,
  214.   0x42, 0x12, 0x20, 0x84, 0x84, 0x00, 0x42, 0xe2, 0x21, 0xfc, 0x84, 0x00,
  215.   0x42, 0x02, 0x22, 0x04, 0x84, 0x00, 0x42, 0x12, 0x22, 0x88, 0xc8, 0x00,
  216.   0x42, 0xe2, 0xc1, 0x70, 0xb0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00,
  217.   0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00 };
  218. static char ScaleA5_offo_mask[] = {
  219.   0x07, 0x07, 0x00, 0x00, 0x00, 0x00, 0x07, 0x07, 0x70, 0x00, 0x00, 0x00,
  220.   0x07, 0x07, 0x70, 0x00, 0x00, 0x00, 0x7f, 0xf7, 0xfb, 0x79, 0xf8, 0x01,
  221.   0xff, 0xff, 0xff, 0xfd, 0xfc, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01,
  222.   0xef, 0xff, 0x77, 0xfe, 0xff, 0x01, 0xe7, 0xff, 0x77, 0xfe, 0xcf, 0x01,
  223.   0xe7, 0xff, 0x77, 0xfe, 0xff, 0x01, 0xe7, 0xff, 0xf7, 0xff, 0xff, 0x01,
  224.   0xe7, 0xff, 0xf7, 0xfd, 0xfd, 0x01, 0xe7, 0xf7, 0xe3, 0xf9, 0xf8, 0x01,
  225.   0x00, 0x00, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x01 };
  226. static int ScaleA5_offo_breaks[] = { 8, 11, 19, 25, 33, 41 };
  227. static ButtonLabel ScaleA5_offo = {
  228.   (unsigned char *)ScaleA5_offo_label, (unsigned char *)ScaleA5_offo_mask,
  229.   ScaleA5_offo_width, ScaleA5_offo_height,
  230.   0.5, 0.5, 0, 0,            /* placement */
  231.   6, 6, 0, ScaleA5_offo_breaks };
  232. #define ScaleA5_offi_width 40
  233. #define ScaleA5_offi_height 14
  234. static char ScaleA5_offi_label[] = {
  235.   0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x00, 0x00, 0x00, 0x03, 0x03,
  236.   0x18, 0x00, 0x00, 0x03, 0x00, 0x18, 0x00, 0x00, 0x3f, 0xf3, 0x7c, 0x3e,
  237.   0x7e, 0x63, 0x9b, 0x19, 0x63, 0x63, 0x63, 0x3b, 0x18, 0x63, 0x63, 0x63,
  238.   0xf3, 0x18, 0x7f, 0x63, 0x63, 0xc3, 0x19, 0x03, 0x63, 0x63, 0x9b, 0x19,
  239.   0x63, 0x63, 0x63, 0xf3, 0x70, 0x3e, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x60,
  240.   0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x60 };
  241. static char ScaleA5_offi_mask[] = {
  242.   0x87, 0x07, 0x00, 0x00, 0x00, 0x87, 0x07, 0x3c, 0x00, 0x00, 0x87, 0x07,
  243.   0x3c, 0x00, 0x00, 0xff, 0xff, 0xff, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff,
  244.   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf7, 0xff, 0xbf, 0xff, 0xf7, 0xf7,
  245.   0xff, 0xbf, 0xff, 0xf7, 0xf7, 0xff, 0xbf, 0xff, 0xf7, 0xf7, 0xff, 0xff,
  246.   0xff, 0xff, 0xf7, 0xff, 0xff, 0xff, 0xff, 0xf7, 0xff, 0xf9, 0x7f, 0xff,
  247.   0x00, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, 0x00, 0xf0 };
  248. static int ScaleA5_offi_breaks[] = { 8, 11, 18, 24, 32, 40 };
  249. static ButtonLabel ScaleA5_offi = {
  250.   (unsigned char *)ScaleA5_offi_label, (unsigned char *)ScaleA5_offi_mask,
  251.   ScaleA5_offi_width, ScaleA5_offi_height,
  252.   0.5, 0.5, 0, 0,            /* placement */
  253.   5, 6, 0, ScaleA5_offi_breaks };
  254. static ButtonLook ScaleA5_look = {
  255.   &ScaleA5_offo, NULL, &ScaleA5_offo, NULL,
  256.   &ScaleA5_offi, NULL, &ScaleA5_offi, NULL };
  257. static ButtonFeel ScaleA5_feel = {
  258.   "ScaleA5", 2,
  259.   { BTNMode, BTNCoWhile },
  260.   { 0x0004, 0x0004 },
  261.   { 0x0000, 0x0004 },
  262.   { 7, 5, 0, 0 } };
  263. /* blink button: ScaleA6 */
  264. #define ScaleA6_offo_width 29
  265. #define ScaleA6_offo_height 12
  266. static char ScaleA6_offo_label[] = {
  267.   0x00, 0x00, 0x00, 0x00, 0x02, 0x12, 0x80, 0x00, 0x02, 0x12, 0x80, 0x00,
  268.   0x02, 0x02, 0x80, 0x00, 0x1a, 0x92, 0x8e, 0x08, 0x26, 0x92, 0x91, 0x04,
  269.   0x42, 0x92, 0x90, 0x03, 0x42, 0x92, 0x90, 0x02, 0x42, 0x92, 0x90, 0x04,
  270.   0x26, 0x92, 0x90, 0x08, 0x1a, 0x92, 0x90, 0x10, 0x00, 0x00, 0x00, 0x00 };
  271. static char ScaleA6_offo_mask[] = {
  272.   0x07, 0x3f, 0xc0, 0x01, 0x07, 0x3f, 0xc0, 0x01, 0x07, 0x3f, 0xc0, 0x01,
  273.   0x3f, 0xff, 0xdf, 0x1d, 0x7f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0x1f,
  274.   0xff, 0xff, 0xfb, 0x0f, 0xe7, 0xff, 0xf9, 0x0f, 0xff, 0xff, 0xf9, 0x1f,
  275.   0xff, 0xff, 0xf9, 0x1f, 0x7f, 0xff, 0xf9, 0x1d, 0x3f, 0xff, 0xf9, 0x19 };
  276. static int ScaleA6_offo_breaks[] = { 8, 11, 14, 22, 29 };
  277. static ButtonLabel ScaleA6_offo = {
  278.   (unsigned char *)ScaleA6_offo_label, (unsigned char *)ScaleA6_offo_mask,
  279.   ScaleA6_offo_width, ScaleA6_offo_height,
  280.   0.5, 0.5, 0, 0,            /* placement */
  281.   4, 5, 0, ScaleA6_offo_breaks };
  282. #define ScaleA6_offi_width 30
  283. #define ScaleA6_offi_height 12
  284. static char ScaleA6_offi_label[] = {
  285.   0x00, 0x00, 0x00, 0x00, 0x03, 0x1b, 0xc0, 0x00, 0x03, 0x1b, 0xc0, 0x00,
  286.   0x03, 0x03, 0xc0, 0x00, 0x3f, 0xdb, 0xcf, 0x0c, 0x63, 0xdb, 0xd8, 0x06,
  287.   0x63, 0xdb, 0xd8, 0x03, 0x63, 0xdb, 0xd8, 0x03, 0x63, 0xdb, 0xd8, 0x06,
  288.   0x63, 0xdb, 0xd8, 0x0c, 0x3f, 0xdb, 0xd8, 0x18, 0x00, 0x00, 0x00, 0x00 };
  289. static char ScaleA6_offi_mask[] = {
  290.   0x87, 0x3f, 0xe0, 0x01, 0x87, 0x3f, 0xe0, 0x01, 0x87, 0x3f, 0xe0, 0x01,
  291.   0xff, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0x1f,
  292.   0xf7, 0xff, 0xfd, 0x0f, 0xf7, 0xff, 0xfd, 0x0f, 0xf7, 0xff, 0xfd, 0x1f,
  293.   0xff, 0xff, 0xfd, 0x3f, 0xff, 0xff, 0xfd, 0x3f, 0xff, 0xff, 0xfd, 0x3d };
  294. static int ScaleA6_offi_breaks[] = { 8, 11, 14, 22, 30 };
  295. static ButtonLabel ScaleA6_offi = {
  296.   (unsigned char *)ScaleA6_offi_label, (unsigned char *)ScaleA6_offi_mask,
  297.   ScaleA6_offi_width, ScaleA6_offi_height,
  298.   0.5, 0.5, 0, 0,            /* placement */
  299.   4, 5, 0, ScaleA6_offi_breaks };
  300. static ButtonLook ScaleA6_look = {
  301.   &ScaleA6_offo, NULL, &ScaleA6_offo, NULL,
  302.   &ScaleA6_offi, NULL, &ScaleA6_offi, NULL };
  303. static ButtonFeel ScaleA6_feel = {
  304.   "ScaleA6", 2,
  305.   { BTNFlash, BTNCoWhile },
  306.   { 0x0004, 0x0004 },
  307.   { 0x0000, 0x0004 },
  308.   { 7, 256, 0, 0 } };
  309. static ButtonSpec ScaleA[] = {
  310.   { &ScaleA1_look, &ScaleA1_feel },
  311.   { &ScaleA2_look, &ScaleA2_feel },
  312.   { &ScaleA3_look, &ScaleA3_feel },
  313.   { &ScaleA4_look, &ScaleA4_feel },
  314.   { &ScaleA5_look, &ScaleA5_feel },
  315.   { &ScaleA6_look, &ScaleA6_feel } };
  316. static BoxGeometry ScaleA_geo = 
  317.   { 0, 6, 6, 1, 6.000000, 1.000000, 0.000000, 0.000000, 0, 1 };
  318.  
  319. void MakeScalePanel ( box, parent, gc, visual, background )
  320.      BoxParent *parent;
  321.      ButtonBox box[1];
  322.      GC gc;
  323.      Visual *visual;
  324.      unsigned long background;
  325. {
  326.   box[0] = MakeButtonBox(&parent[1], gc, visual, background,
  327.              &ScaleA_geo, ScaleA, 0);
  328. }
  329.