Back to index

tetex-bin  3.0
xaw_bitmaps.c
Go to the documentation of this file.
00001 #include "xaw_bitmaps.h"
00002 
00003 /*
00004  * Bitmaps for indicating checkbuttons and radiobuttons in Xaw popup windows.
00005  * The size of these is 16x16.
00006  */
00007 
00008 /* checkbuttons: rectangular box containing a tick mark if on, empty box else */
00009 unsigned char button_check_on_bits[] = {
00010     0x00, 0x00, 0x00, 0x80, 0xfc, 0xff, 0x04, 0x60, 0x04, 0x30, 0x04, 0x38,
00011     0x64, 0x2c, 0xe4, 0x26, 0xc4, 0x23, 0x84, 0x21, 0x04, 0x20, 0x04, 0x20,
00012     0x04, 0x20, 0xfc, 0x3f, 0x00, 0x00, 0x00, 0x00
00013 };
00014 unsigned char button_check_off_bits[] = {
00015     0x00, 0x00, 0x00, 0x00, 0xfc, 0x3f, 0x04, 0x20, 0x04, 0x20, 0x04, 0x20,
00016     0x04, 0x20, 0x04, 0x20, 0x04, 0x20, 0x04, 0x20, 0x04, 0x20, 0x04, 0x20,
00017     0x04, 0x20, 0xfc, 0x3f, 0x00, 0x00, 0x00, 0x00
00018 };
00019 
00020 /* radiobuttons: round and filled with dot if on, empty else */
00021 unsigned char button_radio_on_bits[] = {
00022 /*     0x70, 0x00, 0x8c, 0x01, 0x02, 0x02, 0x72, 0x02, 0xf9, 0x04, 0xf9, 0x04, */
00023 /*     0xf9, 0x04, 0x72, 0x02, 0x02, 0x02, 0x8c, 0x01, 0x70, 0x00 */
00024     0x00,0x00,0x00,0x00,0xc0,0x03,0x30,0x0c,0x08,0x10,0xc8,0x13,0xe4,0x27,0xe4,
00025     0x27,0xe4,0x27,0xe4,0x27,0xc8,0x13,0x08,0x10,0x30,0x0c,0xc0,0x03,0x00,0x00,
00026     0x00,0x00
00027 };
00028 unsigned char button_radio_off_bits[] = {
00029 /*     0x70, 0x00, 0x8c, 0x01, 0x02, 0x02, 0x02, 0x02, 0x01, 0x04, 0x01, 0x04, */
00030 /*     0x01, 0x04, 0x02, 0x02, 0x02, 0x02, 0x8c, 0x01, 0x70, 0x00 */
00031     0x00,0x00,0x00,0x00,0xc0,0x03,0x30,0x0c,0x08,0x10,0x08,0x10,0x04,0x20,0x04,
00032     0x20,0x04,0x20,0x04,0x20,0x08,0x10,0x08,0x10,0x30,0x0c,0xc0,0x03,0x00,0x00,
00033     0x00,0x00
00034 };
00035 
00036 /*
00037  * Bitmaps for left-hand markers in Xaw pulldown menus; these only
00038  * use the mark elements from the button markers (dot, or tick).
00039  */
00040 
00041 /* check options: similar to button_check_*_bits. */
00042 unsigned char menu_check_on_bits[] = {
00043     0x00, 0x04, 0x00, 0x06, 0x00, 0x03, 0x80, 0x01, 0xc6, 0x00, 0x6e, 0x00,
00044     0x3c, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
00045 };
00046 unsigned char menu_check_off_bits[] = {
00047     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
00048     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
00049 };
00050 
00051 /* radio options: tick mark if on, else empty. These are different from
00052    the `round' buttons in button_radio_* (not ideal ...) since the round
00053    buttons are too large for menus.
00054 */
00055 unsigned char menu_radio_on_bits[] = {
00056     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0xf8, 0x00, 0xf8, 0x00,
00057     0xf8, 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
00058 };
00059 unsigned char menu_radio_off_bits[] = {
00060     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
00061     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
00062 };
00063 
00064 /* arrow for Xaw submenus */
00065 unsigned char menu_arrow_bits[] = {
00066 /*     0x00, 0x00, 0x08, 0x00, 0x18, 0x00, 0x38, 0x00, 0x78, 0x00, 0xf8, 0x00, */
00067 /*     0x78, 0x00, 0x38, 0x00, 0x18, 0x00, 0x08, 0x00, 0x00, 0x00 */
00068 
00069     0x00, 0x00, 0x20, 0x00, 0x60, 0x00, 0xe0, 0x00, 0xe0, 0x01, 0xe0, 0x03,
00070     0xe0, 0x01, 0xe0, 0x00, 0x60, 0x00, 0x20, 0x00, 0x00, 0x00
00071 /*      0x00, 0x00, 0x00, 0x08, 0x00, 0x18, 0x00, 0x38, 0x00, 0x78, 0x00, 0xf8, */
00072 /*      0x00, 0x78, 0x00, 0x38, 0x00, 0x18, 0x00, 0x08, 0x00, 0x00 */
00073 /*         0x00, 0x02, 0x06, 0x0e, 0x1e, 0x3e, 0x1e, 0x0e, 0x06, 0x02, 0x00 */
00074 };
00075 
00076 
00077 /* double arrow for popup menus */
00078 unsigned char menu_double_arrow_bits[] = {
00079     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x70, 0x00, 0xf8, 0x00,
00080     0xfc, 0x01, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x01, 0xf8, 0x00, 0x70, 0x00,
00081     0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
00082 };