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 >
Wrap
Text File
|
1991-01-02
|
16KB
|
329 lines
/* linear button: ScaleA1 */
#define ScaleA1_offo_width 36
#define ScaleA1_offo_height 14
static char ScaleA1_offo_label[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x00, 0x12, 0x00,
0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x92, 0x0e, 0x06, 0x87,
0x06, 0x92, 0x11, 0x89, 0x88, 0x01, 0x92, 0x90, 0x10, 0x8c, 0x00, 0x92,
0x90, 0x1f, 0x8b, 0x00, 0x92, 0x90, 0x80, 0x88, 0x00, 0x92, 0x10, 0x91,
0x88, 0x00, 0x92, 0x10, 0x0e, 0x97, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
static char ScaleA1_offo_mask[] = {
0x3f, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x00,
0x00, 0x00, 0x00, 0xff, 0x1f, 0x8f, 0xcf, 0x0f, 0xff, 0xbf, 0xdf, 0xdf,
0x0f, 0xff, 0xff, 0xff, 0xdf, 0x0f, 0xff, 0xfb, 0xff, 0xdf, 0x03, 0xff,
0xf9, 0xff, 0xdf, 0x01, 0xff, 0xf9, 0xff, 0xdf, 0x01, 0xff, 0xf9, 0xff,
0xff, 0x01, 0xff, 0xb9, 0xff, 0xff, 0x01, 0xff, 0x39, 0x9f, 0xff, 0x01,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
static int ScaleA1_offo_breaks[] = { 3, 6, 14, 22, 30, 36 };
static ButtonLabel ScaleA1_offo = {
(unsigned char *)ScaleA1_offo_label, (unsigned char *)ScaleA1_offo_mask,
ScaleA1_offo_width, ScaleA1_offo_height,
0.5, 0.5, 0, 0, /* placement */
5, 6, 0, ScaleA1_offo_breaks };
#define ScaleA1_offi_width 36
#define ScaleA1_offi_height 14
static char ScaleA1_offi_label[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x00, 0x1b, 0x00,
0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0xdb, 0x8f, 0x8f, 0xc7,
0x07, 0xdb, 0xd8, 0xd8, 0xcc, 0x06, 0xdb, 0xd8, 0x18, 0xcc, 0x00, 0xdb,
0xd8, 0x9f, 0xcf, 0x00, 0xdb, 0xd8, 0xc0, 0xcc, 0x00, 0xdb, 0xd8, 0xd8,
0xcc, 0x00, 0xdb, 0x98, 0x8f, 0xdb, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
static char ScaleA1_offi_mask[] = {
0x3f, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x00,
0x00, 0x00, 0x00, 0xff, 0xdf, 0xdf, 0xef, 0x0f, 0xff, 0xff, 0xff, 0xff,
0x0f, 0xff, 0xff, 0xff, 0xff, 0x0f, 0xff, 0xfd, 0xff, 0xff, 0x0f, 0xff,
0xfd, 0xff, 0xff, 0x01, 0xff, 0xfd, 0xff, 0xff, 0x01, 0xff, 0xfd, 0xff,
0xff, 0x01, 0xff, 0xfd, 0xff, 0xff, 0x01, 0xff, 0xfd, 0xdf, 0xff, 0x01,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
static int ScaleA1_offi_breaks[] = { 3, 6, 14, 22, 30, 36 };
static ButtonLabel ScaleA1_offi = {
(unsigned char *)ScaleA1_offi_label, (unsigned char *)ScaleA1_offi_mask,
ScaleA1_offi_width, ScaleA1_offi_height,
0.5, 0.5, 0, 0, /* placement */
5, 6, 0, ScaleA1_offi_breaks };
static ButtonLook ScaleA1_look = {
&ScaleA1_offo, NULL, &ScaleA1_offo, NULL,
&ScaleA1_offi, NULL, &ScaleA1_offi, NULL };
static ButtonFeel ScaleA1_feel = {
"ScaleA1", 2,
{ BTNMode, BTNCoWhile },
{ 0x0004, 0x0004 },
{ 0x0000, 0x0004 },
{ 7, 1, 0, 0 } };
/* wrap button: ScaleA2 */
#define ScaleA2_offo_width 33
#define ScaleA2_offo_height 14
static char ScaleA2_offo_label[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x22, 0xd2, 0x38, 0x34,
0x00, 0x22, 0x32, 0x44, 0x4c, 0x00, 0x54, 0x11, 0x60, 0x84, 0x00, 0x54,
0x11, 0x58, 0x84, 0x00, 0x54, 0x11, 0x44, 0x84, 0x00, 0x88, 0x10, 0x44,
0x4c, 0x00, 0x88, 0x10, 0xb8, 0x34, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00,
0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00 };
static char ScaleA2_offo_mask[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x77, 0xff, 0x7d, 0x7e, 0x00, 0x77, 0xff, 0xff, 0xfe,
0x00, 0xff, 0xff, 0xff, 0xfe, 0x01, 0xff, 0x7f, 0xfe, 0xfe, 0x01, 0xfe,
0x3b, 0xfe, 0xce, 0x01, 0xfe, 0x3b, 0xfe, 0xfe, 0x01, 0xfe, 0x3b, 0xfe,
0xff, 0x01, 0xdc, 0x39, 0xfe, 0xff, 0x00, 0xdc, 0x39, 0xfc, 0x7f, 0x00,
0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x00 };
static int ScaleA2_offo_breaks[] = { 11, 17, 25, 33 };
static ButtonLabel ScaleA2_offo = {
(unsigned char *)ScaleA2_offo_label, (unsigned char *)ScaleA2_offo_mask,
ScaleA2_offo_width, ScaleA2_offo_height,
0.5, 0.5, 0, 0, /* placement */
5, 4, 0, ScaleA2_offo_breaks };
#define ScaleA2_offi_width 34
#define ScaleA2_offi_height 14
static char ScaleA2_offi_label[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x23, 0xf6, 0x79, 0xfc,
0x00, 0x23, 0xb6, 0xcd, 0x8c, 0x01, 0x76, 0x33, 0xc0, 0x8c, 0x01, 0x76,
0x33, 0xf8, 0x8c, 0x01, 0xde, 0x33, 0xcc, 0x8c, 0x01, 0x8c, 0x31, 0xcc,
0x8c, 0x01, 0x8c, 0x31, 0xb8, 0xfd, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00,
0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00 };
static char ScaleA2_offi_mask[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x77, 0xff, 0xff, 0xfe, 0x01, 0x77, 0xff, 0xff, 0xff,
0x03, 0xff, 0xff, 0xff, 0xff, 0x03, 0xff, 0xff, 0xff, 0xdf, 0x03, 0xff,
0x7f, 0xfe, 0xdf, 0x03, 0xff, 0x7f, 0xfe, 0xdf, 0x03, 0xff, 0x7f, 0xfe,
0xff, 0x03, 0xde, 0x7b, 0xfe, 0xff, 0x03, 0xde, 0x7b, 0xfc, 0xff, 0x01,
0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x1e, 0x00 };
static int ScaleA2_offi_breaks[] = { 12, 18, 26, 34 };
static ButtonLabel ScaleA2_offi = {
(unsigned char *)ScaleA2_offi_label, (unsigned char *)ScaleA2_offi_mask,
ScaleA2_offi_width, ScaleA2_offi_height,
0.5, 0.5, 0, 0, /* placement */
5, 4, 0, ScaleA2_offi_breaks };
static ButtonLook ScaleA2_look = {
&ScaleA2_offo, NULL, &ScaleA2_offo, NULL,
&ScaleA2_offi, NULL, &ScaleA2_offi, NULL };
static ButtonFeel ScaleA2_feel = {
"ScaleA2", 2,
{ BTNMode, BTNCoWhile },
{ 0x0004, 0x0004 },
{ 0x0000, 0x0004 },
{ 7, 2, 0, 0 } };
/* log button: ScaleA3 */
#define ScaleA3_offo_width 20
#define ScaleA3_offo_height 14
static char ScaleA3_offo_label[] = {
0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x02, 0x00, 0x00, 0x02, 0x00, 0x00,
0xc2, 0x81, 0x05, 0x22, 0x42, 0x06, 0x12, 0x24, 0x04, 0x12, 0x24, 0x04,
0x12, 0x24, 0x04, 0x22, 0x42, 0x06, 0xc2, 0x81, 0x05, 0x00, 0x00, 0x04,
0x00, 0x20, 0x04, 0x00, 0xc0, 0x03 };
static char ScaleA3_offo_mask[] = {
0x07, 0x00, 0x00, 0x07, 0x00, 0x00, 0x07, 0x00, 0x00, 0xe7, 0xc3, 0x0f,
0xf7, 0xe7, 0x0f, 0xff, 0xff, 0x0f, 0x7f, 0xff, 0x0f, 0x3f, 0x7e, 0x0e,
0x7f, 0xff, 0x0f, 0xff, 0xff, 0x0f, 0xf7, 0xe7, 0x0f, 0xe7, 0xf3, 0x0f,
0x00, 0xf0, 0x0f, 0x00, 0xf0, 0x0f };
static int ScaleA3_offo_breaks[] = { 3, 12, 20 };
static ButtonLabel ScaleA3_offo = {
(unsigned char *)ScaleA3_offo_label, (unsigned char *)ScaleA3_offo_mask,
ScaleA3_offo_width, ScaleA3_offo_height,
0.5, 0.5, 0, 0, /* placement */
3, 3, 0, ScaleA3_offo_breaks };
#define ScaleA3_offi_width 19
#define ScaleA3_offi_height 14
static char ScaleA3_offi_label[] = {
0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x03, 0x00, 0x00, 0x03, 0x00, 0x00,
0xf3, 0xf1, 0x03, 0x1b, 0x1b, 0x03, 0x1b, 0x1b, 0x03, 0x1b, 0x1b, 0x03,
0x1b, 0x1b, 0x03, 0x1b, 0x1b, 0x03, 0xf3, 0xf1, 0x03, 0x00, 0x00, 0x03,
0x00, 0x18, 0x03, 0x00, 0xf0, 0x01 };
static char ScaleA3_offi_mask[] = {
0x07, 0x00, 0x00, 0x07, 0x00, 0x00, 0x07, 0x00, 0x00, 0xff, 0xfb, 0x07,
0xff, 0xff, 0x07, 0xff, 0xff, 0x07, 0xbf, 0xbf, 0x07, 0xbf, 0xbf, 0x07,
0xbf, 0xbf, 0x07, 0xff, 0xff, 0x07, 0xff, 0xff, 0x07, 0xff, 0xff, 0x07,
0x00, 0xfc, 0x07, 0x00, 0xfc, 0x07 };
static int ScaleA3_offi_breaks[] = { 3, 11, 19 };
static ButtonLabel ScaleA3_offi = {
(unsigned char *)ScaleA3_offi_label, (unsigned char *)ScaleA3_offi_mask,
ScaleA3_offi_width, ScaleA3_offi_height,
0.5, 0.5, 0, 0, /* placement */
3, 3, 0, ScaleA3_offi_breaks };
static ButtonLook ScaleA3_look = {
&ScaleA3_offo, NULL, &ScaleA3_offo, NULL,
&ScaleA3_offi, NULL, &ScaleA3_offi, NULL };
static ButtonFeel ScaleA3_feel = {
"ScaleA3", 2,
{ BTNMode, BTNCoWhile },
{ 0x0004, 0x0004 },
{ 0x0000, 0x0004 },
{ 7, 4, 0, 0 } };
/* sqrt button: ScaleA4 */
#define ScaleA4_offo_width 28
#define ScaleA4_offo_height 14
static char ScaleA4_offo_label[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
0x00, 0x00, 0x00, 0x01, 0x3c, 0x58, 0x9a, 0x07, 0x42, 0x64, 0x06, 0x01,
0x02, 0x42, 0x02, 0x01, 0x3c, 0x42, 0x02, 0x01, 0x40, 0x42, 0x02, 0x01,
0x42, 0x64, 0x02, 0x01, 0x3c, 0x58, 0x02, 0x06, 0x00, 0x40, 0x00, 0x00,
0x00, 0x40, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00 };
static char ScaleA4_offo_mask[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x80, 0x03,
0x7e, 0xfc, 0xff, 0x0f, 0xff, 0xfe, 0xff, 0x0f, 0xff, 0xff, 0xff, 0x0f,
0xff, 0xff, 0x8f, 0x03, 0xff, 0xe7, 0x87, 0x03, 0xff, 0xff, 0x87, 0x03,
0xff, 0xff, 0x87, 0x0f, 0xff, 0xfe, 0x87, 0x0f, 0x7e, 0xfc, 0x07, 0x0f,
0x00, 0xe0, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x00 };
static int ScaleA4_offo_breaks[] = { 8, 16, 22, 28 };
static ButtonLabel ScaleA4_offo = {
(unsigned char *)ScaleA4_offo_label, (unsigned char *)ScaleA4_offo_mask,
ScaleA4_offo_width, ScaleA4_offo_height,
0.5, 0.5, 0, 0, /* placement */
4, 4, 0, ScaleA4_offo_breaks };
#define ScaleA4_offi_width 27
#define ScaleA4_offi_height 14
static char ScaleA4_offi_label[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00,
0x00, 0x00, 0xc0, 0x00, 0x1e, 0xbf, 0xef, 0x03, 0xb3, 0xb1, 0xcd, 0x00,
0x87, 0xb1, 0xc1, 0x00, 0x9e, 0xb1, 0xc1, 0x00, 0xb8, 0xb1, 0xc1, 0x00,
0xb3, 0xb1, 0xc1, 0x00, 0x1e, 0xbf, 0x81, 0x03, 0x00, 0x30, 0x00, 0x00,
0x00, 0x30, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00 };
static char ScaleA4_offi_mask[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x00, 0x00, 0xe0, 0x01,
0xbf, 0xff, 0xff, 0x07, 0xff, 0xff, 0xff, 0x07, 0xff, 0xff, 0xff, 0x07,
0xff, 0xfb, 0xff, 0x01, 0xff, 0xfb, 0xe3, 0x01, 0xff, 0xfb, 0xe3, 0x01,
0xff, 0xff, 0xe3, 0x07, 0xff, 0xff, 0xe3, 0x07, 0xbf, 0xff, 0xc3, 0x07,
0x00, 0x78, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00 };
static int ScaleA4_offi_breaks[] = { 7, 15, 21, 27 };
static ButtonLabel ScaleA4_offi = {
(unsigned char *)ScaleA4_offi_label, (unsigned char *)ScaleA4_offi_mask,
ScaleA4_offi_width, ScaleA4_offi_height,
0.5, 0.5, 0, 0, /* placement */
4, 4, 0, ScaleA4_offi_breaks };
static ButtonLook ScaleA4_look = {
&ScaleA4_offo, NULL, &ScaleA4_offo, NULL,
&ScaleA4_offi, NULL, &ScaleA4_offi, NULL };
static ButtonFeel ScaleA4_feel = {
"ScaleA4", 2,
{ BTNMode, BTNCoWhile },
{ 0x0004, 0x0004 },
{ 0x0000, 0x0004 },
{ 7, 3, 0, 0 } };
/* histeq button: ScaleA5 */
#define ScaleA5_offo_width 41
#define ScaleA5_offo_height 14
static char ScaleA5_offo_label[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00,
0x02, 0x02, 0x20, 0x00, 0x00, 0x00, 0x02, 0x00, 0x20, 0x00, 0x00, 0x00,
0x3a, 0xe2, 0xf1, 0x30, 0xb0, 0x00, 0x46, 0x12, 0x22, 0x48, 0xc8, 0x00,
0x42, 0x12, 0x20, 0x84, 0x84, 0x00, 0x42, 0xe2, 0x21, 0xfc, 0x84, 0x00,
0x42, 0x02, 0x22, 0x04, 0x84, 0x00, 0x42, 0x12, 0x22, 0x88, 0xc8, 0x00,
0x42, 0xe2, 0xc1, 0x70, 0xb0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00,
0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00 };
static char ScaleA5_offo_mask[] = {
0x07, 0x07, 0x00, 0x00, 0x00, 0x00, 0x07, 0x07, 0x70, 0x00, 0x00, 0x00,
0x07, 0x07, 0x70, 0x00, 0x00, 0x00, 0x7f, 0xf7, 0xfb, 0x79, 0xf8, 0x01,
0xff, 0xff, 0xff, 0xfd, 0xfc, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01,
0xef, 0xff, 0x77, 0xfe, 0xff, 0x01, 0xe7, 0xff, 0x77, 0xfe, 0xcf, 0x01,
0xe7, 0xff, 0x77, 0xfe, 0xff, 0x01, 0xe7, 0xff, 0xf7, 0xff, 0xff, 0x01,
0xe7, 0xff, 0xf7, 0xfd, 0xfd, 0x01, 0xe7, 0xf7, 0xe3, 0xf9, 0xf8, 0x01,
0x00, 0x00, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x01 };
static int ScaleA5_offo_breaks[] = { 8, 11, 19, 25, 33, 41 };
static ButtonLabel ScaleA5_offo = {
(unsigned char *)ScaleA5_offo_label, (unsigned char *)ScaleA5_offo_mask,
ScaleA5_offo_width, ScaleA5_offo_height,
0.5, 0.5, 0, 0, /* placement */
6, 6, 0, ScaleA5_offo_breaks };
#define ScaleA5_offi_width 40
#define ScaleA5_offi_height 14
static char ScaleA5_offi_label[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x00, 0x00, 0x00, 0x03, 0x03,
0x18, 0x00, 0x00, 0x03, 0x00, 0x18, 0x00, 0x00, 0x3f, 0xf3, 0x7c, 0x3e,
0x7e, 0x63, 0x9b, 0x19, 0x63, 0x63, 0x63, 0x3b, 0x18, 0x63, 0x63, 0x63,
0xf3, 0x18, 0x7f, 0x63, 0x63, 0xc3, 0x19, 0x03, 0x63, 0x63, 0x9b, 0x19,
0x63, 0x63, 0x63, 0xf3, 0x70, 0x3e, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x60,
0x00, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x60 };
static char ScaleA5_offi_mask[] = {
0x87, 0x07, 0x00, 0x00, 0x00, 0x87, 0x07, 0x3c, 0x00, 0x00, 0x87, 0x07,
0x3c, 0x00, 0x00, 0xff, 0xff, 0xff, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf7, 0xff, 0xbf, 0xff, 0xf7, 0xf7,
0xff, 0xbf, 0xff, 0xf7, 0xf7, 0xff, 0xbf, 0xff, 0xf7, 0xf7, 0xff, 0xff,
0xff, 0xff, 0xf7, 0xff, 0xff, 0xff, 0xff, 0xf7, 0xff, 0xf9, 0x7f, 0xff,
0x00, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, 0x00, 0xf0 };
static int ScaleA5_offi_breaks[] = { 8, 11, 18, 24, 32, 40 };
static ButtonLabel ScaleA5_offi = {
(unsigned char *)ScaleA5_offi_label, (unsigned char *)ScaleA5_offi_mask,
ScaleA5_offi_width, ScaleA5_offi_height,
0.5, 0.5, 0, 0, /* placement */
5, 6, 0, ScaleA5_offi_breaks };
static ButtonLook ScaleA5_look = {
&ScaleA5_offo, NULL, &ScaleA5_offo, NULL,
&ScaleA5_offi, NULL, &ScaleA5_offi, NULL };
static ButtonFeel ScaleA5_feel = {
"ScaleA5", 2,
{ BTNMode, BTNCoWhile },
{ 0x0004, 0x0004 },
{ 0x0000, 0x0004 },
{ 7, 5, 0, 0 } };
/* blink button: ScaleA6 */
#define ScaleA6_offo_width 29
#define ScaleA6_offo_height 12
static char ScaleA6_offo_label[] = {
0x00, 0x00, 0x00, 0x00, 0x02, 0x12, 0x80, 0x00, 0x02, 0x12, 0x80, 0x00,
0x02, 0x02, 0x80, 0x00, 0x1a, 0x92, 0x8e, 0x08, 0x26, 0x92, 0x91, 0x04,
0x42, 0x92, 0x90, 0x03, 0x42, 0x92, 0x90, 0x02, 0x42, 0x92, 0x90, 0x04,
0x26, 0x92, 0x90, 0x08, 0x1a, 0x92, 0x90, 0x10, 0x00, 0x00, 0x00, 0x00 };
static char ScaleA6_offo_mask[] = {
0x07, 0x3f, 0xc0, 0x01, 0x07, 0x3f, 0xc0, 0x01, 0x07, 0x3f, 0xc0, 0x01,
0x3f, 0xff, 0xdf, 0x1d, 0x7f, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0x1f,
0xff, 0xff, 0xfb, 0x0f, 0xe7, 0xff, 0xf9, 0x0f, 0xff, 0xff, 0xf9, 0x1f,
0xff, 0xff, 0xf9, 0x1f, 0x7f, 0xff, 0xf9, 0x1d, 0x3f, 0xff, 0xf9, 0x19 };
static int ScaleA6_offo_breaks[] = { 8, 11, 14, 22, 29 };
static ButtonLabel ScaleA6_offo = {
(unsigned char *)ScaleA6_offo_label, (unsigned char *)ScaleA6_offo_mask,
ScaleA6_offo_width, ScaleA6_offo_height,
0.5, 0.5, 0, 0, /* placement */
4, 5, 0, ScaleA6_offo_breaks };
#define ScaleA6_offi_width 30
#define ScaleA6_offi_height 12
static char ScaleA6_offi_label[] = {
0x00, 0x00, 0x00, 0x00, 0x03, 0x1b, 0xc0, 0x00, 0x03, 0x1b, 0xc0, 0x00,
0x03, 0x03, 0xc0, 0x00, 0x3f, 0xdb, 0xcf, 0x0c, 0x63, 0xdb, 0xd8, 0x06,
0x63, 0xdb, 0xd8, 0x03, 0x63, 0xdb, 0xd8, 0x03, 0x63, 0xdb, 0xd8, 0x06,
0x63, 0xdb, 0xd8, 0x0c, 0x3f, 0xdb, 0xd8, 0x18, 0x00, 0x00, 0x00, 0x00 };
static char ScaleA6_offi_mask[] = {
0x87, 0x3f, 0xe0, 0x01, 0x87, 0x3f, 0xe0, 0x01, 0x87, 0x3f, 0xe0, 0x01,
0xff, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 0x1f,
0xf7, 0xff, 0xfd, 0x0f, 0xf7, 0xff, 0xfd, 0x0f, 0xf7, 0xff, 0xfd, 0x1f,
0xff, 0xff, 0xfd, 0x3f, 0xff, 0xff, 0xfd, 0x3f, 0xff, 0xff, 0xfd, 0x3d };
static int ScaleA6_offi_breaks[] = { 8, 11, 14, 22, 30 };
static ButtonLabel ScaleA6_offi = {
(unsigned char *)ScaleA6_offi_label, (unsigned char *)ScaleA6_offi_mask,
ScaleA6_offi_width, ScaleA6_offi_height,
0.5, 0.5, 0, 0, /* placement */
4, 5, 0, ScaleA6_offi_breaks };
static ButtonLook ScaleA6_look = {
&ScaleA6_offo, NULL, &ScaleA6_offo, NULL,
&ScaleA6_offi, NULL, &ScaleA6_offi, NULL };
static ButtonFeel ScaleA6_feel = {
"ScaleA6", 2,
{ BTNFlash, BTNCoWhile },
{ 0x0004, 0x0004 },
{ 0x0000, 0x0004 },
{ 7, 256, 0, 0 } };
static ButtonSpec ScaleA[] = {
{ &ScaleA1_look, &ScaleA1_feel },
{ &ScaleA2_look, &ScaleA2_feel },
{ &ScaleA3_look, &ScaleA3_feel },
{ &ScaleA4_look, &ScaleA4_feel },
{ &ScaleA5_look, &ScaleA5_feel },
{ &ScaleA6_look, &ScaleA6_feel } };
static BoxGeometry ScaleA_geo =
{ 0, 6, 6, 1, 6.000000, 1.000000, 0.000000, 0.000000, 0, 1 };
void MakeScalePanel ( box, parent, gc, visual, background )
BoxParent *parent;
ButtonBox box[1];
GC gc;
Visual *visual;
unsigned long background;
{
box[0] = MakeButtonBox(&parent[1], gc, visual, background,
&ScaleA_geo, ScaleA, 0);
}