home *** CD-ROM | disk | FTP | other *** search
/ Encyclopedia of Graphics File Formats Companion / GFF_CD.ISO / software / unix / saoimage / sao1_07.tar / defs / mouse.def < prev    next >
Text File  |  1989-11-18  |  6KB  |  178 lines

  1. #ifndef lint
  2. static char SccsMouseId[] = "%W%  %G%";
  3. #endif
  4.  
  5. /* Module:    Mouse.def
  6.  * Purpose:    Declare mouse pointer icon bitmaps and parameters
  7.  * Modified:    {0} Michael VanHilst    initial version      31 December 1987
  8.  *        {n} <who> -- <does what> -- <when>
  9.  */
  10.  
  11. /* BTNBOX CURSOR */
  12. #define button_width 16
  13. #define button_height 16
  14. #define button_x_hot 7
  15. #define button_y_hot 7
  16. static char button_bits[] = {
  17.    0xe0, 0x03, 0xf8, 0x0f, 0x1c, 0x1c, 0xc6, 0x31,
  18.    0xf6, 0x37, 0x33, 0x66, 0x1b, 0x6c, 0x1b, 0x6c,
  19.    0x1b, 0x6c, 0x33, 0x66, 0xf6, 0x37, 0xc6, 0x31,
  20.    0x1c, 0x1c, 0xf8, 0x0f, 0xe0, 0x03, 0x00, 0x00 };
  21. #define button_mask_width 16
  22. #define button_mask_height 16
  23. static char button_mask_bits[] = {
  24.    0xe0, 0x03, 0xf8, 0x0f, 0xfc, 0x1f, 0xfe, 0x3f,
  25.    0xfe, 0x3f, 0xff, 0x7f, 0xff, 0x7f, 0x7f, 0x7f,
  26.    0xff, 0x7f, 0xff, 0x7f, 0xfe, 0x3f, 0xfe, 0x3f,
  27.    0xfc, 0x1f, 0xf8, 0x0f, 0xe0, 0x03, 0x00, 0x00 };
  28.  
  29. /* COLOR CURSOR */
  30. #define cgraph_width 16
  31. #define cgraph_height 16
  32. #define cgraph_x_hot 8
  33. #define cgraph_y_hot 8
  34. static char cgraph_bits[] = {
  35.    0x00, 0x00, 0x00, 0x00, 0xc0, 0x07, 0xf0, 0x1f,
  36.    0x38, 0x38, 0x18, 0x30, 0x0c, 0x60, 0x0c, 0x61,
  37.    0x8c, 0x63, 0x0c, 0x61, 0x0c, 0x60, 0x18, 0x30,
  38.    0x38, 0x38, 0xf0, 0x1f, 0xc0, 0x07, 0x00, 0x00 };
  39. #define color_mask_width 16
  40. #define color_mask_height 16
  41. static char color_mask_bits[] = {
  42.    0x00, 0x00, 0xc0, 0x07, 0xf0, 0x1f, 0xf8, 0x3f,
  43.    0xfc, 0x7f, 0xfc, 0x7f, 0xfe, 0xff, 0xfe, 0xff,
  44.    0xfe, 0xff, 0xfe, 0xff, 0xfe, 0xff, 0xfc, 0x7f,
  45.    0xfc, 0x7f, 0xf8, 0x3f, 0xf0, 0x1f, 0xc0, 0x07 };
  46.  
  47. /* CURSOR MODE CURSOR */
  48. #define cursor_width 16
  49. #define cursor_height 16
  50. #define cursor_x_hot 0
  51. #define cursor_y_hot 0
  52. static char cursor_bits[] = {
  53.    0x00, 0x00, 0x3e, 0x00, 0x8e, 0x7f, 0x1e, 0x40,
  54.    0x3a, 0x40, 0x72, 0x40, 0x60, 0x40, 0x04, 0x40,
  55.    0x04, 0x40, 0x04, 0x40, 0x04, 0x40, 0x04, 0x40,
  56.    0x04, 0x40, 0x04, 0x40, 0xfc, 0x7f, 0x00, 0x00 };
  57. #define cursor_mask_width 16
  58. #define cursor_mask_height 16
  59. static char cursor_mask_bits[] = {
  60.    0x7f, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  61.    0xff, 0xe0, 0xff, 0xe0, 0xff, 0xe0, 0xfe, 0xe0,
  62.    0x0e, 0xe0, 0x0e, 0xe0, 0x0e, 0xe0, 0x0e, 0xe0,
  63.    0x0e, 0xe0, 0xfe, 0xff, 0xfe, 0xff, 0xfe, 0xff };
  64.  
  65. /* PAN CURSOR */
  66. #define pan_width 16
  67. #define pan_height 16
  68. #define pan_x_hot 0
  69. #define pan_y_hot 0
  70. static char pan_bits[] = {
  71.    0xfe, 0xff, 0xc1, 0xff, 0xf1, 0xff, 0xe1, 0xff,
  72.    0xc5, 0xff, 0x8d, 0xff, 0x9f, 0xff, 0xff, 0xff,
  73.    0xff, 0xff, 0x71, 0xb6, 0xad, 0xa5, 0xad, 0xa5,
  74.    0x31, 0x94, 0xbd, 0x95, 0xbd, 0xb5, 0xff, 0xff };
  75. #define pan_mask_width 16
  76. #define pan_mask_height 16
  77. static char pan_mask_bits[] = {
  78.    0x7e, 0x00, 0x7f, 0x00, 0x7f, 0x00, 0x7f, 0x00,
  79.    0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00,
  80.    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
  81.    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
  82.  
  83. /* SPACE SHUTTLE CURSOR */
  84. #define shuttle_width 16
  85. #define shuttle_height 16
  86. #define shuttle_x_hot 8
  87. #define shuttle_y_hot 0
  88. static char shuttle_bits[] = {
  89.    0x80, 0x03, 0xc0, 0x06, 0x40, 0x04, 0x60, 0x0c,
  90.    0x20, 0x08, 0x20, 0x08, 0x20, 0x08, 0x20, 0x08,
  91.    0x20, 0x08, 0x20, 0x08, 0x30, 0x18, 0x18, 0x30,
  92.    0x0c, 0x60, 0x04, 0x40, 0xfc, 0x7e, 0x80, 0x03 };
  93. #define shuttle_mask_width 16
  94. #define shuttle_mask_height 16
  95. static char shuttle_mask_bits[] = {
  96.    0x80, 0x03, 0xc0, 0x07, 0xc0, 0x07, 0xe0, 0x0f,
  97.    0xe0, 0x0f, 0xe0, 0x0f, 0xe0, 0x0f, 0xe0, 0x0f,
  98.    0xe0, 0x0f, 0xe0, 0x0f, 0xf0, 0x1f, 0xf8, 0x3f,
  99.    0xfc, 0x7f, 0xfc, 0x7f, 0xfc, 0x7f, 0x80, 0x03 };
  100.  
  101. #ifdef IMTOOL
  102. #ifdef FINGER
  103. /* FINGER ON KEY CURSOR */
  104. #define key_width 16
  105. #define key_height 16
  106. #define key_x_hot 0
  107. #define key_y_hot 0
  108. static char key_bits[] = {
  109.    0x00, 0x18, 0x3e, 0x0c, 0x0e, 0x06, 0x1e, 0x03,
  110.    0xba, 0x03, 0xb2, 0x83, 0xc0, 0xc1, 0xe0, 0x40,
  111.    0x70, 0x60, 0x38, 0x30, 0x10, 0x18, 0x30, 0x0c,
  112.    0xe0, 0x07, 0xf8, 0x1f, 0x08, 0x10, 0x08, 0x10 };
  113. #define key_mask_width 16
  114. #define key_mask_height 16
  115. static char key_mask_bits[] = {
  116.    0x7f, 0xfe, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff,
  117.    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf8, 0xff,
  118.    0xfc, 0xff, 0xfc, 0xff, 0xfc, 0x7f, 0xf8, 0x3f,
  119.    0xfc, 0x3f, 0xfc, 0x3f, 0xfc, 0x3f, 0x1c, 0x38 };
  120. #else
  121. /* CROSS-HAIR CURSOR */
  122. #define key_width 16
  123. #define key_height 16
  124. #define key_x_hot 7
  125. #define key_y_hot 7
  126. static char key_bits[] = {
  127.    0x00, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00,
  128.    0x80, 0x00, 0x80, 0x00, 0x00, 0x00, 0x3e, 0x3e,
  129.    0x00, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00,
  130.    0x80, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00};
  131. #define key_mask_width 16
  132. #define key_mask_height 16
  133. static char key_mask_bits[] = {
  134.    0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01,
  135.    0xc0, 0x01, 0xc0, 0x01, 0x3f, 0x7e, 0x3f, 0x7e,
  136.    0x3f, 0x7e, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01,
  137.    0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0x00, 0x00};
  138. #endif
  139. #endif
  140.  
  141. /* MISSILE CURSOR */
  142. #define missile_width 16
  143. #define missile_height 16
  144. #define missile_x_hot 15
  145. #define missile_y_hot 0
  146. static char missile_bits[] = {
  147.    0x00, 0x80, 0x00, 0x60, 0x00, 0x70, 0x00, 0x38,
  148.    0x00, 0x1e, 0x00, 0x0f, 0x80, 0x0f, 0xe0, 0x07,
  149.    0xf0, 0x03, 0xf0, 0x01, 0xf0, 0x01, 0xe0, 0x00,
  150.    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
  151. #define missile_mask_width 16
  152. #define missile_mask_height 16
  153. static char missile_mask_bits[] = {
  154.    0x00, 0x80, 0x00, 0x60, 0x00, 0x70, 0x00, 0x38,
  155.    0x00, 0x1e, 0x00, 0x0f, 0x80, 0x0f, 0xe0, 0x07,
  156.    0xf0, 0x03, 0xf0, 0x01, 0xf8, 0x01, 0xfc, 0x00,
  157.    0x3c, 0x00, 0x1e, 0x00, 0x07, 0x00, 0x03, 0x00 };
  158.  
  159. #ifdef NOTUSED
  160. /* PLAIN CURSOR */
  161. #define plain_width 16
  162. #define plain_height 16
  163. #define plain_x_hot 7
  164. #define plain_y_hot 7
  165. static char plain_bits[] = {
  166.    0x00, 0x00, 0xfe, 0x3f, 0x02, 0x20, 0x02, 0x20,
  167.    0x02, 0x20, 0x02, 0x20, 0x02, 0x20, 0x02, 0x20,
  168.    0x02, 0x20, 0x02, 0x20, 0x02, 0x20, 0x02, 0x20,
  169.    0x02, 0x20, 0xfe, 0x3f, 0x00, 0x00, 0x00, 0x00 };
  170. #define plain_mask_width 16
  171. #define plain_mask_height 16
  172. static char plain_mask_bits[] = {
  173.    0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0x07, 0x70,
  174.    0x07, 0x70, 0x07, 0x70, 0x07, 0x70, 0x07, 0x70,
  175.    0x07, 0x70, 0x07, 0x70, 0x07, 0x70, 0x07, 0x70,
  176.    0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0x00, 0x00 };
  177. #endif
  178.