Debian Codegraph @

texk/xdvik/gui/xaw_bitmaps.c

raw
1 #include "xaw_bitmaps.h"
2
3 /*
4 * Bitmaps for indicating checkbuttons and radiobuttons in Xaw popup windows.
5 * The size of these is 16x16.
6 */
7
8 /* checkbuttons: rectangular box containing a tick mark if on, empty box else */
9 unsigned char button_check_on_bits[] = {
10 0x00, 0x00, 0x00, 0x80, 0xfc, 0xff, 0x04, 0x60, 0x04, 0x30, 0x04, 0x38,
11 0x64, 0x2c, 0xe4, 0x26, 0xc4, 0x23, 0x84, 0x21, 0x04, 0x20, 0x04, 0x20,
12 0x04, 0x20, 0xfc, 0x3f, 0x00, 0x00, 0x00, 0x00
13 };
14 unsigned char button_check_off_bits[] = {
15 0x00, 0x00, 0x00, 0x00, 0xfc, 0x3f, 0x04, 0x20, 0x04, 0x20, 0x04, 0x20,
16 0x04, 0x20, 0x04, 0x20, 0x04, 0x20, 0x04, 0x20, 0x04, 0x20, 0x04, 0x20,
17 0x04, 0x20, 0xfc, 0x3f, 0x00, 0x00, 0x00, 0x00
18 };
19
20 /* radiobuttons: round and filled with dot if on, empty else */
21 unsigned char button_radio_on_bits[] = {
22 /* 0x70, 0x00, 0x8c, 0x01, 0x02, 0x02, 0x72, 0x02, 0xf9, 0x04, 0xf9, 0x04, */
23 /* 0xf9, 0x04, 0x72, 0x02, 0x02, 0x02, 0x8c, 0x01, 0x70, 0x00 */
24 0x00,0x00,0x00,0x00,0xc0,0x03,0x30,0x0c,0x08,0x10,0xc8,0x13,0xe4,0x27,0xe4,
25 0x27,0xe4,0x27,0xe4,0x27,0xc8,0x13,0x08,0x10,0x30,0x0c,0xc0,0x03,0x00,0x00,
26 0x00,0x00
27 };
28 unsigned char button_radio_off_bits[] = {
29 /* 0x70, 0x00, 0x8c, 0x01, 0x02, 0x02, 0x02, 0x02, 0x01, 0x04, 0x01, 0x04, */
30 /* 0x01, 0x04, 0x02, 0x02, 0x02, 0x02, 0x8c, 0x01, 0x70, 0x00 */
31 0x00,0x00,0x00,0x00,0xc0,0x03,0x30,0x0c,0x08,0x10,0x08,0x10,0x04,0x20,0x04,
32 0x20,0x04,0x20,0x04,0x20,0x08,0x10,0x08,0x10,0x30,0x0c,0xc0,0x03,0x00,0x00,
33 0x00,0x00
34 };
35
36 /*
37 * Bitmaps for left-hand markers in Xaw pulldown menus; these only
38 * use the mark elements from the button markers (dot, or tick).
39 */
40
41 /* check options: similar to button_check_*_bits. */
42 unsigned char menu_check_on_bits[] = {
43 0x00, 0x04, 0x00, 0x06, 0x00, 0x03, 0x80, 0x01, 0xc6, 0x00, 0x6e, 0x00,
44 0x3c, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
45 };
46 unsigned char menu_check_off_bits[] = {
47 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
48 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
49 };
50
51 /* radio options: tick mark if on, else empty. These are different from
52 the `round' buttons in button_radio_* (not ideal ...) since the round
53 buttons are too large for menus.
54 */
55 unsigned char menu_radio_on_bits[] = {
56 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0xf8, 0x00, 0xf8, 0x00,
57 0xf8, 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
58 };
59 unsigned char menu_radio_off_bits[] = {
60 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
61 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
62 };
63
64 /* arrow for Xaw submenus */
65 unsigned char menu_arrow_bits[] = {
66 /* 0x00, 0x00, 0x08, 0x00, 0x18, 0x00, 0x38, 0x00, 0x78, 0x00, 0xf8, 0x00, */
67 /* 0x78, 0x00, 0x38, 0x00, 0x18, 0x00, 0x08, 0x00, 0x00, 0x00 */
68
69 0x00, 0x00, 0x20, 0x00, 0x60, 0x00, 0xe0, 0x00, 0xe0, 0x01, 0xe0, 0x03,
70 0xe0, 0x01, 0xe0, 0x00, 0x60, 0x00, 0x20, 0x00, 0x00, 0x00
71 /* 0x00, 0x00, 0x00, 0x08, 0x00, 0x18, 0x00, 0x38, 0x00, 0x78, 0x00, 0xf8, */
72 /* 0x00, 0x78, 0x00, 0x38, 0x00, 0x18, 0x00, 0x08, 0x00, 0x00 */
73 /* 0x00, 0x02, 0x06, 0x0e, 0x1e, 0x3e, 0x1e, 0x0e, 0x06, 0x02, 0x00 */
74 };
75
76
77 /* double arrow for popup menus */
78 unsigned char menu_double_arrow_bits[] = {
79 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x70, 0x00, 0xf8, 0x00,
80 0xfc, 0x01, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x01, 0xf8, 0x00, 0x70, 0x00,
81 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
82 };