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

  1.  
  2.  
  3. /* point button: CursorA1 */
  4. #define CursorA1_offo_width 6
  5. #define CursorA1_offo_height 6
  6. static char CursorA1_offo_label[] = {
  7.   0x00, 0x00, 0x0c, 0x0c, 0x00, 0x00 };
  8. static char CursorA1_offo_mask[] = {
  9.   0x1e, 0x3f, 0x3f, 0x3f, 0x3f, 0x1e };
  10. static ButtonLabel CursorA1_offo = {
  11.   (unsigned char *)CursorA1_offo_label, (unsigned char *)CursorA1_offo_mask,
  12.   CursorA1_offo_width, CursorA1_offo_height,
  13.   0.5, 0.5, 0, 0,            /* placement */
  14.   1, 0, 0, NULL };
  15. #define CursorA1_offi_width 6
  16. #define CursorA1_offi_height 6
  17. static char CursorA1_offi_label[] = {
  18.   0x00, 0x0c, 0x1e, 0x1e, 0x0c, 0x00 };
  19. static char CursorA1_offi_mask[] = {
  20.   0x1e, 0x3f, 0x3f, 0x3f, 0x3f, 0x1e };
  21. static ButtonLabel CursorA1_offi = {
  22.   (unsigned char *)CursorA1_offi_label, (unsigned char *)CursorA1_offi_mask,
  23.   CursorA1_offi_width, CursorA1_offi_height,
  24.   0.5, 0.5, 0, 0,            /* placement */
  25.   1, 0, 0, NULL };
  26. static ButtonLook CursorA1_look = {
  27.   &CursorA1_offo, NULL, &CursorA1_offo, NULL,
  28.   &CursorA1_offi, NULL, &CursorA1_offi, NULL };
  29. static ButtonFeel CursorA1_feel = {
  30.   "CursorA1", 2,
  31.   { BTNMode, BTNCoWhile },
  32.   { 0x0004, 0x0004 },
  33.   { 0x0000, 0x0004 },
  34.   { 2, 256, 0, 0 } };
  35. /* poly button: CursorA2 */
  36. #define CursorA2_offo_width 21
  37. #define CursorA2_offo_height 11
  38. static char CursorA2_offo_label[] = {
  39.   0x00, 0x00, 0x00, 0x02, 0x02, 0x08, 0x06, 0x05, 0x0c, 0x8a, 0x08, 0x0a,
  40.   0x52, 0x10, 0x09, 0x22, 0xa0, 0x08, 0x02, 0x40, 0x08, 0x02, 0x00, 0x08,
  41.   0x02, 0x00, 0x08, 0xfe, 0xff, 0x0f, 0x00, 0x00, 0x00 };
  42. static char CursorA2_offo_mask[] = {
  43.   0x07, 0x07, 0x1c, 0x8f, 0x0f, 0x1e, 0xdf, 0x1f, 0x1f, 0xff, 0xbf, 0x1f,
  44.   0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xfd, 0x1f, 0xff, 0xff, 0x1f,
  45.   0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f };
  46. static ButtonLabel CursorA2_offo = {
  47.   (unsigned char *)CursorA2_offo_label, (unsigned char *)CursorA2_offo_mask,
  48.   CursorA2_offo_width, CursorA2_offo_height,
  49.   0.5, 0.5, 0, 0,            /* placement */
  50.   3, 0, 0, NULL };
  51. #define CursorA2_offi_width 21
  52. #define CursorA2_offi_height 11
  53. static char CursorA2_offi_label[] = {
  54.   0x00, 0x00, 0x00, 0x02, 0x02, 0x08, 0x06, 0x07, 0x0c, 0x8e, 0x0f, 0x0e,
  55.   0xde, 0x1d, 0x0f, 0xfe, 0xb8, 0x0f, 0x76, 0xf0, 0x0d, 0x06, 0xe0, 0x0c,
  56.   0xfe, 0xff, 0x0f, 0xfe, 0xff, 0x0f, 0x00, 0x00, 0x00 };
  57. static char CursorA2_offi_mask[] = {
  58.   0x07, 0x07, 0x1c, 0x8f, 0x0f, 0x1e, 0xdf, 0x1f, 0x1f, 0xff, 0xbf, 0x1f,
  59.   0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xfd, 0x1f, 0xff, 0xff, 0x1f,
  60.   0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f };
  61. static ButtonLabel CursorA2_offi = {
  62.   (unsigned char *)CursorA2_offi_label, (unsigned char *)CursorA2_offi_mask,
  63.   CursorA2_offi_width, CursorA2_offi_height,
  64.   0.5, 0.5, 0, 0,            /* placement */
  65.   3, 0, 0, NULL };
  66. static ButtonLook CursorA2_look = {
  67.   &CursorA2_offo, NULL, &CursorA2_offo, NULL,
  68.   &CursorA2_offi, NULL, &CursorA2_offi, NULL };
  69. static ButtonFeel CursorA2_feel = {
  70.   "CursorA2", 2,
  71.   { BTNMode, BTNCoWhile },
  72.   { 0x0004, 0x0004 },
  73.   { 0x0000, 0x0004 },
  74.   { 2, 512, 0, 0 } };
  75. /* circle button: CursorA3 */
  76. #define CursorA3_offo_width 15
  77. #define CursorA3_offo_height 15
  78. static char CursorA3_offo_label[] = {
  79.   0x00, 0x00, 0xe0, 0x03, 0x18, 0x0c, 0x04, 0x10, 0x04, 0x10, 0x02, 0x20,
  80.   0x02, 0x20, 0x02, 0x20, 0x02, 0x20, 0x02, 0x20, 0x04, 0x10, 0x04, 0x10,
  81.   0x18, 0x0c, 0xe0, 0x03, 0x00, 0x00 };
  82. static char CursorA3_offo_mask[] = {
  83.   0xf0, 0x07, 0xfc, 0x1f, 0xfe, 0x3f, 0xfe, 0x3f, 0x3f, 0x7e, 0x1f, 0x7c,
  84.   0x0f, 0x78, 0x0f, 0x78, 0x0f, 0x78, 0x1f, 0x7c, 0x3f, 0x7e, 0xfe, 0x3f,
  85.   0xfe, 0x3f, 0xfc, 0x1f, 0xf0, 0x07 };
  86. static ButtonLabel CursorA3_offo = {
  87.   (unsigned char *)CursorA3_offo_label, (unsigned char *)CursorA3_offo_mask,
  88.   CursorA3_offo_width, CursorA3_offo_height,
  89.   0.5, 0.5, 0, 0,            /* placement */
  90.   2, 0, 0, NULL };
  91. #define CursorA3_offi_width 15
  92. #define CursorA3_offi_height 15
  93. static char CursorA3_offi_label[] = {
  94.   0x00, 0x00, 0xe0, 0x03, 0xf8, 0x0f, 0x1c, 0x1c, 0x0c, 0x18, 0x06, 0x30,
  95.   0x06, 0x30, 0x06, 0x30, 0x06, 0x30, 0x06, 0x30, 0x0c, 0x18, 0x1c, 0x1c,
  96.   0xf8, 0x0f, 0xe0, 0x03, 0x00, 0x00 };
  97. static char CursorA3_offi_mask[] = {
  98.   0xf0, 0x07, 0xfc, 0x1f, 0xfe, 0x3f, 0xfe, 0x3f, 0x3f, 0x7e, 0x1f, 0x7c,
  99.   0x0f, 0x78, 0x0f, 0x78, 0x0f, 0x78, 0x1f, 0x7c, 0x3f, 0x7e, 0xfe, 0x3f,
  100.   0xfe, 0x3f, 0xfc, 0x1f, 0xf0, 0x07 };
  101. static ButtonLabel CursorA3_offi = {
  102.   (unsigned char *)CursorA3_offi_label, (unsigned char *)CursorA3_offi_mask,
  103.   CursorA3_offi_width, CursorA3_offi_height,
  104.   0.5, 0.5, 0, 0,            /* placement */
  105.   2, 0, 0, NULL };
  106. static ButtonLook CursorA3_look = {
  107.   &CursorA3_offo, NULL, &CursorA3_offo, NULL,
  108.   &CursorA3_offi, NULL, &CursorA3_offi, NULL };
  109. static ButtonFeel CursorA3_feel = {
  110.   "CursorA3", 2,
  111.   { BTNMode, BTNCoWhile },
  112.   { 0x0004, 0x0004 },
  113.   { 0x0000, 0x0004 },
  114.   { 2, 1024, 0, 0 } };
  115. /* ellipse button: CursorA4 */
  116. #define CursorA4_offo_width 23
  117. #define CursorA4_offo_height 11
  118. static char CursorA4_offo_label[] = {
  119.   0x00, 0x00, 0x00, 0x80, 0xff, 0x00, 0x70, 0x00, 0x07, 0x0c, 0x00, 0x18,
  120.   0x02, 0x00, 0x20, 0x02, 0x00, 0x20, 0x02, 0x00, 0x20, 0x0c, 0x00, 0x18,
  121.   0x70, 0x00, 0x07, 0x80, 0xff, 0x00, 0x00, 0x00, 0x00 };
  122. static char CursorA4_offo_mask[] = {
  123.   0xc0, 0xff, 0x01, 0xf8, 0xff, 0x0f, 0xfe, 0xff, 0x3f, 0xff, 0xff, 0x7f,
  124.   0xff, 0x80, 0x7f, 0x1f, 0x00, 0x7c, 0xff, 0x80, 0x7f, 0xff, 0xff, 0x7f,
  125.   0xfe, 0xff, 0x3f, 0xf8, 0xff, 0x0f, 0xc0, 0xff, 0x01 };
  126. static ButtonLabel CursorA4_offo = {
  127.   (unsigned char *)CursorA4_offo_label, (unsigned char *)CursorA4_offo_mask,
  128.   CursorA4_offo_width, CursorA4_offo_height,
  129.   0.5, 0.5, 0, 0,            /* placement */
  130.   3, 0, 0, NULL };
  131. #define CursorA4_offi_width 23
  132. #define CursorA4_offi_height 11
  133. static char CursorA4_offi_label[] = {
  134.   0x00, 0x00, 0x00, 0x80, 0xff, 0x00, 0xf0, 0xff, 0x07, 0x7c, 0x00, 0x1f,
  135.   0x0e, 0x00, 0x38, 0x06, 0x00, 0x30, 0x0e, 0x00, 0x38, 0x7c, 0x00, 0x1f,
  136.   0xf0, 0xff, 0x07, 0x80, 0xff, 0x00, 0x00, 0x00, 0x00 };
  137. static char CursorA4_offi_mask[] = {
  138.   0xc0, 0xff, 0x01, 0xf8, 0xff, 0x0f, 0xfe, 0xff, 0x3f, 0xff, 0xff, 0x7f,
  139.   0xff, 0x80, 0x7f, 0x1f, 0x00, 0x7c, 0xff, 0x80, 0x7f, 0xff, 0xff, 0x7f,
  140.   0xfe, 0xff, 0x3f, 0xf8, 0xff, 0x0f, 0xc0, 0xff, 0x01 };
  141. static ButtonLabel CursorA4_offi = {
  142.   (unsigned char *)CursorA4_offi_label, (unsigned char *)CursorA4_offi_mask,
  143.   CursorA4_offi_width, CursorA4_offi_height,
  144.   0.5, 0.5, 0, 0,            /* placement */
  145.   3, 0, 0, NULL };
  146. static ButtonLook CursorA4_look = {
  147.   &CursorA4_offo, NULL, &CursorA4_offo, NULL,
  148.   &CursorA4_offi, NULL, &CursorA4_offi, NULL };
  149. static ButtonFeel CursorA4_feel = {
  150.   "CursorA4", 2,
  151.   { BTNMode, BTNCoWhile },
  152.   { 0x0004, 0x0004 },
  153.   { 0x0000, 0x0004 },
  154.   { 2, 1280, 0, 0 } };
  155. /* box button: CursorA5 */
  156. #define CursorA5_offo_width 21
  157. #define CursorA5_offo_height 11
  158. static char CursorA5_offo_label[] = {
  159.   0x00, 0x00, 0x00, 0xfe, 0xff, 0x0f, 0x02, 0x00, 0x08, 0x02, 0x00, 0x08,
  160.   0x02, 0x00, 0x08, 0x02, 0x00, 0x08, 0x02, 0x00, 0x08, 0x02, 0x00, 0x08,
  161.   0x02, 0x00, 0x08, 0xfe, 0xff, 0x0f, 0x00, 0x00, 0x00 };
  162. static char CursorA5_offo_mask[] = {
  163.   0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f,
  164.   0x0f, 0x00, 0x1e, 0x0f, 0x00, 0x1e, 0x0f, 0x00, 0x1e, 0xff, 0xff, 0x1f,
  165.   0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f };
  166. static ButtonLabel CursorA5_offo = {
  167.   (unsigned char *)CursorA5_offo_label, (unsigned char *)CursorA5_offo_mask,
  168.   CursorA5_offo_width, CursorA5_offo_height,
  169.   0.5, 0.5, 0, 0,            /* placement */
  170.   3, 0, 0, NULL };
  171. #define CursorA5_offi_width 21
  172. #define CursorA5_offi_height 11
  173. static char CursorA5_offi_label[] = {
  174.   0x00, 0x00, 0x00, 0xfe, 0xff, 0x0f, 0xfe, 0xff, 0x0f, 0x06, 0x00, 0x0c,
  175.   0x06, 0x00, 0x0c, 0x06, 0x00, 0x0c, 0x06, 0x00, 0x0c, 0x06, 0x00, 0x0c,
  176.   0xfe, 0xff, 0x0f, 0xfe, 0xff, 0x0f, 0x00, 0x00, 0x00 };
  177. static char CursorA5_offi_mask[] = {
  178.   0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f,
  179.   0x0f, 0x00, 0x1e, 0x0f, 0x00, 0x1e, 0x0f, 0x00, 0x1e, 0xff, 0xff, 0x1f,
  180.   0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0x1f };
  181. static ButtonLabel CursorA5_offi = {
  182.   (unsigned char *)CursorA5_offi_label, (unsigned char *)CursorA5_offi_mask,
  183.   CursorA5_offi_width, CursorA5_offi_height,
  184.   0.5, 0.5, 0, 0,            /* placement */
  185.   3, 0, 0, NULL };
  186. static ButtonLook CursorA5_look = {
  187.   &CursorA5_offo, NULL, &CursorA5_offo, NULL,
  188.   &CursorA5_offi, NULL, &CursorA5_offi, NULL };
  189. static ButtonFeel CursorA5_feel = {
  190.   "CursorA5", 2,
  191.   { BTNMode, BTNCoWhile },
  192.   { 0x0004, 0x0004 },
  193.   { 0x0000, 0x0004 },
  194.   { 2, 768, 0, 0 } };
  195. /* ortho button: CursorA6 */
  196. #define CursorA6_offo_width 15
  197. #define CursorA6_offo_height 12
  198. static char CursorA6_offo_label[] = {
  199.   0x00, 0x00, 0x38, 0x1c, 0x44, 0x22, 0x82, 0x22, 0x82, 0x22, 0x82, 0x1c,
  200.   0x82, 0x00, 0x82, 0x00, 0x82, 0x00, 0x44, 0x00, 0x38, 0x00, 0x00, 0x00 };
  201. static char CursorA6_offo_mask[] = {
  202.   0x7c, 0x3e, 0xfe, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xef, 0x7f, 0xef, 0x7f,
  203.   0xef, 0x3f, 0xef, 0x01, 0xff, 0x01, 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00 };
  204. static ButtonLabel CursorA6_offo = {
  205.   (unsigned char *)CursorA6_offo_label, (unsigned char *)CursorA6_offo_mask,
  206.   CursorA6_offo_width, CursorA6_offo_height,
  207.   0.5, 0.5, 0, 0,            /* placement */
  208.   2, 0, 0, NULL };
  209. #define CursorA6_offi_width 15
  210. #define CursorA6_offi_height 12
  211. static char CursorA6_offi_label[] = {
  212.   0x00, 0x00, 0x38, 0x1c, 0x6c, 0x36, 0xc6, 0x36, 0xc6, 0x36, 0xc6, 0x1c,
  213.   0xc6, 0x00, 0xc6, 0x00, 0xc6, 0x00, 0x6c, 0x00, 0x38, 0x00, 0x00, 0x00 };
  214. static char CursorA6_offi_mask[] = {
  215.   0x7c, 0x3e, 0xfe, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xef, 0x7f, 0xef, 0x7f,
  216.   0xef, 0x3f, 0xef, 0x01, 0xff, 0x01, 0xff, 0x01, 0xfe, 0x00, 0x7c, 0x00 };
  217. static ButtonLabel CursorA6_offi = {
  218.   (unsigned char *)CursorA6_offi_label, (unsigned char *)CursorA6_offi_mask,
  219.   CursorA6_offi_width, CursorA6_offi_height,
  220.   0.5, 0.5, 0, 0,            /* placement */
  221.   2, 0, 0, NULL };
  222. static ButtonLook CursorA6_look = {
  223.   &CursorA6_offo, NULL, &CursorA6_offo, NULL,
  224.   &CursorA6_offi, NULL, &CursorA6_offi, NULL };
  225. static ButtonFeel CursorA6_feel = {
  226.   "CursorA6", 2,
  227.   { BTNFlash, BTNCoWhile },
  228.   { 0x0004, 0x0004 },
  229.   { 0x0000, 0x0004 },
  230.   { 2, 32768, 0, 0 } };
  231. /* annuli button: CursorA7 */
  232. #define CursorA7_offo_width 15
  233. #define CursorA7_offo_height 15
  234. static char CursorA7_offo_label[] = {
  235.   0x00, 0x00, 0xfe, 0x3f, 0x02, 0x20, 0x02, 0x20, 0xf2, 0x27, 0x12, 0x24,
  236.   0x12, 0x24, 0x12, 0x24, 0x12, 0x24, 0x12, 0x24, 0xf2, 0x27, 0x02, 0x20,
  237.   0x02, 0x20, 0xfe, 0x3f, 0x00, 0x00 };
  238. static char CursorA7_offo_mask[] = {
  239.   0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f,
  240.   0xff, 0x7f, 0x7f, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f,
  241.   0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f };
  242. static ButtonLabel CursorA7_offo = {
  243.   (unsigned char *)CursorA7_offo_label, (unsigned char *)CursorA7_offo_mask,
  244.   CursorA7_offo_width, CursorA7_offo_height,
  245.   0.5, 0.5, 0, 0,            /* placement */
  246.   2, 0, 0, NULL };
  247. #define CursorA7_offi_width 15
  248. #define CursorA7_offi_height 15
  249. static char CursorA7_offi_label[] = {
  250.   0x00, 0x00, 0xfe, 0x3f, 0xfe, 0x3f, 0x06, 0x30, 0xf6, 0x37, 0xf6, 0x37,
  251.   0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0xf6, 0x37, 0xf6, 0x37, 0x06, 0x30,
  252.   0xfe, 0x3f, 0xfe, 0x3f, 0x00, 0x00 };
  253. static char CursorA7_offi_mask[] = {
  254.   0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f,
  255.   0xff, 0x7f, 0x7f, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f,
  256.   0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f };
  257. static ButtonLabel CursorA7_offi = {
  258.   (unsigned char *)CursorA7_offi_label, (unsigned char *)CursorA7_offi_mask,
  259.   CursorA7_offi_width, CursorA7_offi_height,
  260.   0.5, 0.5, 0, 0,            /* placement */
  261.   2, 0, 0, NULL };
  262. static ButtonLook CursorA7_look = {
  263.   &CursorA7_offo, NULL, &CursorA7_offo, NULL,
  264.   &CursorA7_offi, NULL, &CursorA7_offi, NULL };
  265. static ButtonFeel CursorA7_feel = {
  266.   "CursorA7", 2,
  267.   { BTNToggle, BTNCoWhile },
  268.   { 0x0004, 0x0004 },
  269.   { 0x0000, 0x0004 },
  270.   { 2, 4096, 0, 0 } };
  271. /* arrow button: CursorA8 */
  272. #define CursorA8_offo_width 16
  273. #define CursorA8_offo_height 9
  274. static char CursorA8_offo_label[] = {
  275.   0x00, 0x00, 0x80, 0x01, 0x60, 0x00, 0x18, 0x00, 0xfe, 0x7f, 0x18, 0x00,
  276.   0x60, 0x00, 0x80, 0x01, 0x00, 0x00 };
  277. static char CursorA8_offo_mask[] = {
  278.   0xc0, 0x03, 0xf0, 0x03, 0xfc, 0x03, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  279.   0xfc, 0x03, 0xf0, 0x03, 0xc0, 0x03 };
  280. static ButtonLabel CursorA8_offo = {
  281.   (unsigned char *)CursorA8_offo_label, (unsigned char *)CursorA8_offo_mask,
  282.   CursorA8_offo_width, CursorA8_offo_height,
  283.   0.5, 0.5, 0, 0,            /* placement */
  284.   2, 0, 0, NULL };
  285. #define CursorA8_offi_width 16
  286. #define CursorA8_offi_height 9
  287. static char CursorA8_offi_label[] = {
  288.   0x00, 0x00, 0x80, 0x01, 0xe0, 0x01, 0xf8, 0x00, 0xfe, 0x7f, 0xf8, 0x00,
  289.   0xe0, 0x01, 0x80, 0x01, 0x00, 0x00 };
  290. static char CursorA8_offi_mask[] = {
  291.   0xc0, 0x03, 0xf0, 0x03, 0xfc, 0x03, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  292.   0xfc, 0x03, 0xf0, 0x03, 0xc0, 0x03 };
  293. static ButtonLabel CursorA8_offi = {
  294.   (unsigned char *)CursorA8_offi_label, (unsigned char *)CursorA8_offi_mask,
  295.   CursorA8_offi_width, CursorA8_offi_height,
  296.   0.5, 0.5, 0, 0,            /* placement */
  297.   2, 0, 0, NULL };
  298. static ButtonLook CursorA8_look = {
  299.   &CursorA8_offo, NULL, &CursorA8_offo, NULL,
  300.   &CursorA8_offi, NULL, &CursorA8_offi, NULL };
  301. static ButtonFeel CursorA8_feel = {
  302.   "CursorA8", 2,
  303.   { BTNMode, BTNCoWhile },
  304.   { 0x0004, 0x0004 },
  305.   { 0x0000, 0x0004 },
  306.   { 2, 1536, 0, 0 } };
  307. /* abc button: CursorA9 */
  308. #define CursorA9_offo_width 24
  309. #define CursorA9_offo_height 14
  310. static char CursorA9_offo_label[] = {
  311.   0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x02, 0x00, 0x00, 0x02, 0x00,
  312.   0x1c, 0x1a, 0x38, 0x22, 0x26, 0x44, 0x30, 0x42, 0x02, 0x2c, 0x42, 0x02,
  313.   0x22, 0x42, 0x02, 0x22, 0x26, 0x44, 0x5c, 0x1a, 0x38, 0x00, 0x00, 0x00,
  314.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
  315. static char CursorA9_offo_mask[] = {
  316.   0x00, 0x07, 0x00, 0x00, 0x07, 0x00, 0x00, 0x07, 0x00, 0x3e, 0x3f, 0x7c,
  317.   0x7f, 0x7f, 0xfe, 0x7f, 0xff, 0xff, 0x7f, 0xff, 0xef, 0x7f, 0xe7, 0x07,
  318.   0x7f, 0xff, 0xef, 0xff, 0xff, 0xff, 0xff, 0x7f, 0xfe, 0xfe, 0x3f, 0x7c,
  319.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
  320. static int CursorA9_offo_breaks[] = { 8, 16, 24 };
  321. static ButtonLabel CursorA9_offo = {
  322.   (unsigned char *)CursorA9_offo_label, (unsigned char *)CursorA9_offo_mask,
  323.   CursorA9_offo_width, CursorA9_offo_height,
  324.   0.5, 0.5, 0, 0,            /* placement */
  325.   3, 3, 0, CursorA9_offo_breaks };
  326. #define CursorA9_offi_width 24
  327. #define CursorA9_offi_height 14
  328. static char CursorA9_offi_label[] = {
  329.   0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x03, 0x00, 0x00, 0x03, 0x00,
  330.   0x1e, 0x3f, 0x3e, 0x33, 0x63, 0x63, 0x30, 0x63, 0x03, 0x3e, 0x63, 0x03,
  331.   0x33, 0x63, 0x63, 0x33, 0x63, 0x63, 0x6e, 0x3f, 0x3e, 0x00, 0x00, 0x00,
  332.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
  333. static char CursorA9_offi_mask[] = {
  334.   0x80, 0x07, 0x00, 0x80, 0x07, 0x00, 0x80, 0x07, 0x00, 0xbf, 0x7f, 0x7f,
  335.   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf7, 0xf7, 0xff, 0xf7, 0xf7,
  336.   0xff, 0xf7, 0xf7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0x7f,
  337.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
  338. static int CursorA9_offi_breaks[] = { 8, 16, 24 };
  339. static ButtonLabel CursorA9_offi = {
  340.   (unsigned char *)CursorA9_offi_label, (unsigned char *)CursorA9_offi_mask,
  341.   CursorA9_offi_width, CursorA9_offi_height,
  342.   0.5, 0.5, 0, 0,            /* placement */
  343.   3, 3, 0, CursorA9_offi_breaks };
  344. static ButtonLook CursorA9_look = {
  345.   &CursorA9_offo, NULL, &CursorA9_offo, NULL,
  346.   &CursorA9_offi, NULL, &CursorA9_offi, NULL };
  347. static ButtonFeel CursorA9_feel = {
  348.   "CursorA9", 2,
  349.   { BTNMode, BTNCoWhile },
  350.   { 0x0004, 0x0004 },
  351.   { 0x0000, 0x0004 },
  352.   { 2, 1792, 0, 0 } };
  353. static ButtonSpec CursorA[] = {
  354.   { &CursorA1_look, &CursorA1_feel },
  355.   { &CursorA2_look, &CursorA2_feel },
  356.   { &CursorA3_look, &CursorA3_feel },
  357.   { &CursorA4_look, &CursorA4_feel },
  358.   { &CursorA5_look, &CursorA5_feel },
  359.   { &CursorA6_look, &CursorA6_feel },
  360.   { &CursorA7_look, &CursorA7_feel },
  361.   { &CursorA8_look, &CursorA8_feel },
  362.   { &CursorA9_look, &CursorA9_feel } };
  363. static BoxGeometry CursorA_geo = 
  364.   { 0, 9, 9, 1, 10.285710, 1.000000, 0.000000, 0.000000, 0, 1 };
  365.  
  366. /* region button: CursorB10 */
  367. #define CursorB10_offo_width 42
  368. #define CursorB10_offo_height 14
  369. static char CursorB10_offo_label[] = {
  370.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00,
  371.   0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  372.   0x1a, 0x06, 0x96, 0x70, 0xe8, 0x00, 0x06, 0x09, 0x99, 0x88, 0x18, 0x01,
  373.   0x82, 0x90, 0x90, 0x04, 0x09, 0x01, 0x82, 0x9f, 0x90, 0x04, 0x09, 0x01,
  374.   0x82, 0x80, 0x90, 0x04, 0x09, 0x01, 0x02, 0x11, 0x99, 0x88, 0x08, 0x01,
  375.   0x02, 0x0e, 0x96, 0x70, 0x08, 0x01, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
  376.   0x00, 0x80, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00 };
  377. static char CursorB10_offo_mask[] = {
  378.   0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00,
  379.   0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x3f, 0x0f, 0xff, 0xf9, 0xfc, 0x01,
  380.   0xbf, 0x9f, 0xff, 0xfd, 0xfd, 0x03, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03,
  381.   0xcf, 0xff, 0xff, 0xdf, 0xbf, 0x03, 0xc7, 0xff, 0xf9, 0x8f, 0x9f, 0x03,
  382.   0xc7, 0xff, 0xff, 0xdf, 0x9f, 0x03, 0xc7, 0xff, 0xff, 0xff, 0x9f, 0x03,
  383.   0x87, 0xbf, 0xff, 0xfd, 0x9d, 0x03, 0x07, 0xdf, 0xff, 0xf9, 0x9c, 0x03,
  384.   0x00, 0xc0, 0x3f, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x3f, 0x00, 0x00, 0x00 };
  385. static int CursorB10_offo_breaks[] = { 6, 14, 22, 25, 34, 42 };
  386. static ButtonLabel CursorB10_offo = {
  387.   (unsigned char *)CursorB10_offo_label, (unsigned char *)CursorB10_offo_mask,
  388.   CursorB10_offo_width, CursorB10_offo_height,
  389.   0.5, 0.5, 0, 0,            /* placement */
  390.   6, 6, 0, CursorB10_offo_breaks };
  391. #define CursorB10_offi_width 41
  392. #define CursorB10_offi_height 14
  393. static char CursorB10_offi_label[] = {
  394.   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00,
  395.   0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  396.   0x9f, 0x8f, 0xdf, 0x7c, 0x7e, 0x00, 0xdb, 0xd8, 0xd8, 0xc6, 0xc6, 0x00,
  397.   0xc3, 0xd8, 0xd8, 0xc6, 0xc6, 0x00, 0xc3, 0xdf, 0xd8, 0xc6, 0xc6, 0x00,
  398.   0xc3, 0xc0, 0xd8, 0xc6, 0xc6, 0x00, 0xc3, 0xd8, 0xd8, 0xc6, 0xc6, 0x00,
  399.   0x83, 0x8f, 0xdf, 0x7c, 0xc6, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00,
  400.   0x00, 0xc0, 0x18, 0x00, 0x00, 0x00, 0x00, 0x80, 0x0f, 0x00, 0x00, 0x00 };
  401. static char CursorB10_offi_mask[] = {
  402.   0x00, 0x00, 0xe0, 0x01, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x00, 0x00,
  403.   0x00, 0x00, 0xe0, 0x01, 0x00, 0x00, 0xff, 0xdf, 0xff, 0xff, 0xff, 0x00,
  404.   0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01,
  405.   0xff, 0xff, 0xfd, 0xef, 0xef, 0x01, 0xe7, 0xff, 0xfd, 0xef, 0xef, 0x01,
  406.   0xe7, 0xff, 0xfd, 0xef, 0xef, 0x01, 0xe7, 0xff, 0xff, 0xff, 0xef, 0x01,
  407.   0xe7, 0xff, 0xff, 0xff, 0xef, 0x01, 0xc7, 0xff, 0xff, 0xff, 0xef, 0x01,
  408.   0x00, 0xe0, 0x3f, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x3f, 0x00, 0x00, 0x00 };
  409. static int CursorB10_offi_breaks[] = { 6, 14, 22, 25, 33, 41 };
  410. static ButtonLabel CursorB10_offi = {
  411.   (unsigned char *)CursorB10_offi_label, (unsigned char *)CursorB10_offi_mask,
  412.   CursorB10_offi_width, CursorB10_offi_height,
  413.   0.5, 0.5, 0, 0,            /* placement */
  414.   6, 6, 0, CursorB10_offi_breaks };
  415. static ButtonLook CursorB10_look = {
  416.   &CursorB10_offo, NULL, &CursorB10_offo, NULL,
  417.   &CursorB10_offi, NULL, &CursorB10_offi, NULL };
  418. static ButtonFeel CursorB10_feel = {
  419.   "CursorB10", 2,
  420.   { BTNToggle, BTNCoWhile },
  421.   { 0x0004, 0x0004 },
  422.   { 0x0000, 0x0004 },
  423.   { 6, 0, 0, 0 } };
  424. static ButtonSpec CursorB[] = {
  425.   { &CursorB10_look, &CursorB10_feel } };
  426. static BoxGeometry CursorB_geo = 
  427.   { 0, 1, 1, 1, 8.000000, 1.000000, 0.875000, 0.000000, 0, 1 };
  428.  
  429. void MakeCursorPanel ( box, parent, gc, visual, background )
  430.      BoxParent *parent;
  431.      ButtonBox box[2];
  432.      GC gc;
  433.      Visual *visual;
  434.      unsigned long background;
  435. {
  436.   box[0] = MakeButtonBox(&parent[1], gc, visual, background,
  437.              &CursorA_geo, CursorA, 0);
  438.   box[1] = MakeButtonBox(&parent[1], gc, visual, background,
  439.              &CursorB_geo, CursorB, 0);
  440.   JoinMenus (box[0], box[1]);
  441. }
  442.