Added various missing labels to newrpl keyboard.

This commit is contained in:
claudiol 2018-10-10 10:24:16 -04:00
parent 63d87ff330
commit 9dd9ebc4dd

701
ui.c
View file

@ -373,337 +373,338 @@ static const x49gp_ui_key_t x49gp_ui_keys[] =
static const x49gp_ui_key_t x49gp_newrpl_ui_keys[] = static const x49gp_ui_key_t x49gp_newrpl_ui_keys[] =
{ {
{ {
"F1", "A", NULL, NULL, NULL, "F1", "A", NULL, NULL, NULL,
UI_COLOR_BLACK, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_BLACK, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_TINY, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_TINY, 12.0, UI_LAYOUT_LEFT,
0, 0, 36, 22, 5, 1, (1 << 5), (1 << 1), 1 0, 0, 36, 22, 5, 1, (1 << 5), (1 << 1), 1
}, },
{ {
"F2", "B", NULL, NULL, NULL, "F2", "B", NULL, NULL, NULL,
UI_COLOR_BLACK, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_BLACK, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_TINY, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_TINY, 12.0, UI_LAYOUT_LEFT,
50, 0, 36, 22, 5, 2, (1 << 5), (1 << 2), 2 50, 0, 36, 22, 5, 2, (1 << 5), (1 << 2), 2
}, },
{ {
"F3", "C", NULL, NULL, NULL, "F3", "C", NULL, NULL, NULL,
UI_COLOR_BLACK, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_BLACK, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_TINY, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_TINY, 12.0, UI_LAYOUT_LEFT,
99, 0, 36, 22, 5, 3, (1 << 5), (1 << 3), 3 99, 0, 36, 22, 5, 3, (1 << 5), (1 << 3), 3
}, },
{ {
"F4", "D", NULL, NULL, NULL, "F4", "D", NULL, NULL, NULL,
UI_COLOR_BLACK, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_BLACK, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_TINY, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_TINY, 12.0, UI_LAYOUT_LEFT,
149, 0, 36, 22, 5, 4, (1 << 5), (1 << 4), 4 149, 0, 36, 22, 5, 4, (1 << 5), (1 << 4), 4
}, },
{ {
"F5", "E", NULL, NULL, NULL, "F5", "E", NULL, NULL, NULL,
UI_COLOR_BLACK, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_BLACK, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_TINY, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_TINY, 12.0, UI_LAYOUT_LEFT,
198, 0, 36, 22, 5, 5, (1 << 5), (1 << 5), 5 198, 0, 36, 22, 5, 5, (1 << 5), (1 << 5), 5
}, },
{ {
"F6", "F", NULL, NULL, NULL, "F6", "F", NULL, NULL, NULL,
UI_COLOR_BLACK, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_BLACK, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_TINY, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_TINY, 12.0, UI_LAYOUT_LEFT,
247, 0, 36, 22, 5, 6, (1 << 5), (1 << 6), 6 247, 0, 36, 22, 5, 6, (1 << 5), (1 << 6), 6
}, },
{ {
"", "G", NULL, NULL, NULL, "", "G", NULL, NULL, NULL,
UI_COLOR_WHITE, 10.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 10.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_SMALL, 10.0, UI_LAYOUT_BELOW, UI_SHAPE_BUTTON_SMALL, 10.0, UI_LAYOUT_BELOW,
0, 44, 36, 28, 5, 7, (1 << 5), (1 << 7), 7 0, 44, 36, 28, 5, 7, (1 << 5), (1 << 7), 7
}, },
{ {
"", "H", NULL, NULL, NULL, "", "H", NULL, NULL, NULL,
UI_COLOR_WHITE, 10.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 10.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_SMALL, 10.0, UI_LAYOUT_BELOW, UI_SHAPE_BUTTON_SMALL, 10.0, UI_LAYOUT_BELOW,
50, 44, 36, 28, 6, 5, (1 << 6), (1 << 5), 5 50, 44, 36, 28, 6, 5, (1 << 6), (1 << 5), 5
}, },
{ {
"", "I", NULL, NULL, NULL, "", "I", NULL, NULL, NULL,
UI_COLOR_WHITE, 10.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 10.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_SMALL, 10.0, UI_LAYOUT_BELOW, UI_SHAPE_BUTTON_SMALL, 10.0, UI_LAYOUT_BELOW,
99, 44, 36, 28, 6, 6, (1 << 6), (1 << 6), 6 99, 44, 36, 28, 6, 6, (1 << 6), (1 << 6), 6
}, },
{ {
"", "J", NULL, NULL, NULL, "", "J", NULL, NULL, NULL,
UI_COLOR_WHITE, 10.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 10.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_SMALL, 10.0, UI_LAYOUT_BELOW, UI_SHAPE_BUTTON_SMALL, 10.0, UI_LAYOUT_BELOW,
0, 92, 36, 28, 6, 7, (1 << 6), (1 << 7), 7 0, 92, 36, 28, 6, 7, (1 << 6), (1 << 7), 7
}, },
{ {
"", "K", NULL, NULL, NULL, "", "K", NULL, NULL, NULL,
UI_COLOR_WHITE, 10.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 10.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_SMALL, 10.0, UI_LAYOUT_BELOW, UI_SHAPE_BUTTON_SMALL, 10.0, UI_LAYOUT_BELOW,
50, 92, 36, 28, 7, 1, (1 << 7), (1 << 1), 1 50, 92, 36, 28, 7, 1, (1 << 7), (1 << 1), 1
}, },
{ {
"", "L", NULL, NULL, NULL, "", "L", NULL, NULL, NULL,
UI_COLOR_WHITE, 10.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 10.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_SMALL, 10.0, UI_LAYOUT_BELOW, UI_SHAPE_BUTTON_SMALL, 10.0, UI_LAYOUT_BELOW,
99, 92, 36, 28, 7, 2, (1 << 7), (1 << 2), 2 99, 92, 36, 28, 7, 2, (1 << 7), (1 << 2), 2
}, },
{ {
NULL, NULL, NULL, NULL, NULL, "", "", "UPDIR", NULL, NULL,
UI_COLOR_SILVER, 0.0, 0, UI_COLOR_SILVER, 10.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_ROUND, 0.0, 0, UI_SHAPE_BUTTON_ROUND, 0.0, 0,
200, 38, 33, 33, 6, 1, (1 << 6), (1 << 1), 1 200, 38, 33, 33, 6, 1, (1 << 6), (1 << 1), 1
}, },
{ {
NULL, NULL, NULL, NULL, NULL, "", "", "BEG COPY", NULL, NULL,
UI_COLOR_SILVER, 0.0, 0, UI_COLOR_SILVER, 10.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_ROUND, 0.0, 0, UI_SHAPE_BUTTON_ROUND, 0.0, 0,
164, 66, 33, 33, 6, 2, (1 << 6), (1 << 2), 2 164, 66, 33, 33, 6, 2, (1 << 6), (1 << 2), 2
}, },
{ {
NULL, NULL, NULL, NULL, NULL, "", "", "CUT", NULL, NULL,
UI_COLOR_SILVER, 0.0, 0, UI_COLOR_SILVER, 10.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_ROUND, 0.0, 0, UI_SHAPE_BUTTON_ROUND, 0.0, 0,
200, 94, 33, 33, 6, 3, (1 << 6), (1 << 3), 3 200, 94, 33, 33, 6, 3, (1 << 6), (1 << 3), 3
}, },
{ {
NULL, NULL, NULL, NULL, NULL, "", "", "END PASTE", NULL, NULL,
UI_COLOR_SILVER, 0.0, 0, UI_COLOR_SILVER, 10.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_ROUND, 0.0, 0, UI_SHAPE_BUTTON_ROUND, 0.0, 0,
236, 66, 33, 33, 6, 4, (1 << 6), (1 << 4), 4 236, 66, 33, 33, 6, 4, (1 << 6), (1 << 4), 4
}, },
{ {
"S\\kern-1 T\\kern-1 O\\kern-1\\triangleright", "M", "RCL", NULL, NULL, "S\\kern-1 T\\kern-1 O\\kern-1\\triangleright", "M", "RCL", "PREV.M", NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT,
0, 141, 46, 28, 4, 1, (1 << 4), (1 << 1), 1 0, 141, 46, 28, 4, 1, (1 << 4), (1 << 1), 1
}, },
{ {
"EV\\kern-1 AL", "N", NULL, NULL, NULL, "EV\\kern-1 AL", "N", NULL, NULL, NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT,
59, 141, 46, 28, 3, 1, (1 << 3), (1 << 1), 1 59, 141, 46, 28, 3, 1, (1 << 3), (1 << 1), 1
}, },
{ {
"\\tick", "O", NULL, NULL, NULL, "\\tick", "O", NULL, NULL, NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT,
119, 141, 46, 28, 2, 1, (1 << 2), (1 << 1), 1 119, 141, 46, 28, 2, 1, (1 << 2), (1 << 1), 1
}, },
{ {
"M\\kern-1 A\\kern-1 I\\kern-1 N", "P", NULL, NULL, NULL, "M\\kern-1 E\\kern-1 N\\kern-1 U", "P", NULL, NULL, NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT,
179, 141, 46, 28, 1, 1, (1 << 1), (1 << 1), 1 179, 141, 46, 28, 1, 1, (1 << 1), (1 << 1), 1
}, },
{ {
"\\arrowleftdblfull", NULL, NULL, "CLEAR", NULL, "\\arrowleftdblfull", NULL, NULL, "CLEAR", NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 0.0, 0, UI_SHAPE_BUTTON_NORMAL, 0.0, 0,
238, 141, 46, 28, 0, 1, (1 << 0), (1 << 1), 1 238, 141, 46, 28, 0, 1, (1 << 0), (1 << 1), 1
}, },
{ {
"Y\\super x\\/super", "Q", "\\math_e\\xsuperior", "LN", NULL, "Y\\super x\\/super", "Q", "\\math_e\\xsuperior", "LN", NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT,
0, 183, 46, 28, 4, 2, (1 << 4), (1 << 2), 2 0, 183, 46, 28, 4, 2, (1 << 4), (1 << 2), 2
}, },
{ {
"\\radical\\overscore\\kern-7 X", "R", "\\radical\\overscore\\kern-7 X", "R",
"\\math_x\\twosuperior", "\\math_x\\twosuperior",
"\\xsuperior\\kern-4\\math_radical\\overscore\\kern-5\\math_y", "\\xsuperior\\kern-4\\math_radical\\overscore\\kern-5\\math_y",
NULL, NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT,
59, 183, 46, 28, 3, 2, (1 << 3), (1 << 2), 2 59, 183, 46, 28, 3, 2, (1 << 3), (1 << 2), 2
}, },
{ {
"SIN", "S", "ASIN", NULL, NULL, "SIN", "S", "ASIN", NULL, NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT,
119, 183, 46, 28, 2, 2, (1 << 2), (1 << 2), 2 119, 183, 46, 28, 2, 2, (1 << 2), (1 << 2), 2
}, },
{ {
"COS", "T", "ACOS", NULL, NULL, "COS", "T", "ACOS", NULL, NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT,
179, 183, 46, 28, 1, 2, (1 << 1), (1 << 2), 2 179, 183, 46, 28, 1, 2, (1 << 1), (1 << 2), 2
}, },
{ {
"TAN", "U", "ATAN", NULL, NULL, "TAN", "U", "ATAN", NULL, NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT,
238, 183, 46, 28, 0, 2, (1 << 0), (1 << 2), 2 238, 183, 46, 28, 0, 2, (1 << 0), (1 << 2), 2
}, },
{ {
"EEX", "V", "10\\xsuperior", "LOG", NULL, "EEX", "V", "10\\xsuperior", "LOG", NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT,
0, 225, 46, 28, 4, 3, (1 << 4), (1 << 3), 3 0, 225, 46, 28, 4, 3, (1 << 4), (1 << 3), 3
}, },
{ {
"+\\divisionslash\\minus", "W", "+\\divisionslash\\minus", "W",
"\\math_notequal", "\\math_notequal",
"\\math_equal", "\\math_equal",
NULL, NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT,
59, 225, 46, 28, 3, 3, (1 << 3), (1 << 3), 3 59, 225, 46, 28, 3, 3, (1 << 3), (1 << 3), 3
}, },
{ {
"X", "X", "X", "X",
"\\math_lessequal", "\\math_lessequal",
"\\math_less", "\\math_less",
NULL, NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT,
119, 225, 46, 28, 2, 3, (1 << 2), (1 << 3), 3 119, 225, 46, 28, 2, 3, (1 << 2), (1 << 3), 3
}, },
{ {
"1/X", "Y", "1/X", "Y",
"\\math_greaterequal", "\\math_greaterequal",
"\\math_greater", "\\math_greater",
NULL, NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT,
179, 225, 46, 28, 1, 3, (1 << 1), (1 << 3), 3 179, 225, 46, 28, 1, 3, (1 << 1), (1 << 3), 3
}, },
{ {
"\\divide", "Z", NULL, NULL, NULL, "\\divide", "Z", "ABS", "ARG", NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT_NO_SPACE, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT_NO_SPACE,
238, 225, 46, 28, 0, 3, (1 << 0), (1 << 3), 3 238, 225, 46, 28, 0, 3, (1 << 0), (1 << 3), 3
}, },
{ {
"ALPHA", NULL, NULL, NULL, NULL, "ALPHA", "", "", "ENTRY", NULL,
UI_COLOR_BLACK, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_BLACK, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
0, 267, 46, 32, 0, 0, 0, 0, 4 0, 267, 46, 32, 0, 0, 0, 0, 4
}, },
{ {
"7", NULL, NULL, NULL, NULL, "7", "", "", "NUM.SLV", NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
59, 267, 46, 32, 3, 4, (1 << 3), (1 << 4), 4 59, 267, 46, 32, 3, 4, (1 << 3), (1 << 4), 4
}, },
{ {
"8", NULL, NULL, NULL, NULL, "8", NULL, NULL, NULL, NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
119, 267, 46, 32, 2, 4, (1 << 2), (1 << 4), 4 119, 267, 46, 32, 2, 4, (1 << 2), (1 << 4), 4
}, },
{ {
"9", NULL, NULL, NULL, NULL, "9", "", "", "TIME", NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
179, 267, 46, 32, 1, 4, (1 << 1), (1 << 4), 4 179, 267, 46, 32, 1, 4, (1 << 1), (1 << 4), 4
}, },
{ {
"\\multiply", NULL, "[ ]", "\" \"", NULL, "\\multiply", NULL, "[ ]", "\" \"", NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
238, 267, 46, 32, 0, 4, (1 << 0), (1 << 4), 4 238, 267, 46, 32, 0, 4, (1 << 0), (1 << 4), 4
}, },
{ {
"\\uparrowleft", NULL, NULL, NULL, NULL, "\\uparrowleft", NULL, NULL, NULL, NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_BLACK, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
0, 313, 46, 32, 0, 0, 0, 0, 5 0, 313, 46, 32, 0, 0, 0, 0, 5
}, },
{ {
"4", NULL, NULL, NULL, NULL, "4", NULL, NULL, NULL, NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
59, 313, 46, 32, 3, 5, (1 << 3), (1 << 5), 5 59, 313, 46, 32, 3, 5, (1 << 3), (1 << 5), 5
}, },
{ {
"5", NULL, NULL, NULL, NULL, "5", NULL, NULL, NULL, NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
119, 313, 46, 32, 2, 5, (1 << 2), (1 << 5), 5 119, 313, 46, 32, 2, 5, (1 << 2), (1 << 5), 5
}, },
{ {
"6", NULL, NULL, "UNITS", NULL, "6", NULL, "CONVERT", "UNITS", NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
179, 313, 46, 32, 1, 5, (1 << 1), (1 << 5), 5 179, 313, 46, 32, 1, 5, (1 << 1), (1 << 5), 5
}, },
{ {
"\\minus", NULL, "( )", "_", NULL, "\\minus", NULL, "( )", "_", NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
238, 313, 46, 32, 0, 5, (1 << 0), (1 << 5), 5 238, 313, 46, 32, 0, 5, (1 << 0), (1 << 5), 5
}, },
{ {
"\\uparrowright", NULL, NULL, NULL, NULL, "\\uparrowright", NULL, NULL, NULL, NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_BLACK, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
0, 359, 46, 32, 0, 0, 0, 0, 6 0, 359, 46, 32, 0, 0, 0, 0, 6
}, },
{ {
"1", NULL, NULL, NULL, NULL, "1", "", "ARITH", "CMPLX", NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
59, 359, 46, 32, 3, 6, (1 << 3), (1 << 6), 6 59, 359, 46, 32, 3, 6, (1 << 3), (1 << 6), 6
}, },
{ {
"2", NULL, NULL, NULL, NULL, "2", "", "", "LIB", NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
119, 359, 46, 32, 2, 6, (1 << 2), (1 << 6), 6 119, 359, 46, 32, 2, 6, (1 << 2), (1 << 6), 6
}, },
{ {
"3", NULL, "\\math_numbersign", NULL, NULL, "3", NULL, "\\math_numbersign", "BASE", NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
179, 359, 46, 32, 1, 6, (1 << 1), (1 << 6), 6 179, 359, 46, 32, 1, 6, (1 << 1), (1 << 6), 6
}, },
{ {
"+", NULL, "+", NULL,
"{ }", "{ }",
"\\guillemotleft\\ \\guillemotright", "\\guillemotleft\\ \\guillemotright",
NULL, NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
238, 359, 46, 32, 0, 6, (1 << 0), (1 << 6), 6 238, 359, 46, 32, 0, 6, (1 << 0), (1 << 6), 6
}, },
{ {
"ON", NULL, NULL, "OFF", NULL, "ON", NULL, NULL, "OFF", NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
0, 405, 46, 32, 0, 0, 0, 0, 0 0, 405, 46, 32, 0, 0, 0, 0, 0
}, },
{ {
"0", NULL, "0", NULL,
"\\math_infinity", "\\math_infinity",
"\\math_arrowright", "\\math_arrowright",
NULL, NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
59, 405, 46, 32, 3, 7, (1 << 3), (1 << 7), 7 59, 405, 46, 32, 3, 7, (1 << 3), (1 << 7), 7
}, },
{ {
"\\bullet", NULL, "\\bullet", NULL,
": :", ": :",
"\\math_downarrowleft", "\\math_downarrowleft",
NULL, NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
119, 405, 46, 32, 2, 7, (1 << 2), (1 << 7), 7 119, 405, 46, 32, 2, 7, (1 << 2), (1 << 7), 7
}, },
{ {
"SPC", NULL, "SPC", NULL,
"\\math_pi", "\\math_pi",
"\\large_comma", "\\large_comma",
NULL, NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
179, 405, 46, 32, 1, 7, (1 << 1), (1 << 7), 7 179, 405, 46, 32, 1, 7, (1 << 1), (1 << 7), 7
}, },
{ {
"ENTER", NULL, NULL, "\\arrowright NUM", NULL, "ENTER", NULL, NULL, "\\arrowright NUM", NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
238, 405, 46, 32, 0, 7, (1 << 0), (1 << 7), 7 238, 405, 46, 32, 0, 7, (1 << 0), (1 << 7), 7
}, },
}; };
#define X49GP_NEWRPL_UI_NR_KEYS (sizeof(x49gp_newrpl_ui_keys) / sizeof(x49gp_newrpl_ui_keys[0])) #define X49GP_NEWRPL_UI_NR_KEYS (sizeof(x49gp_newrpl_ui_keys) / sizeof(x49gp_newrpl_ui_keys[0]))
static const x49gp_ui_key_t x50g_ui_keys[] = static const x49gp_ui_key_t x50g_ui_keys[] =
@ -1116,31 +1117,31 @@ static const x49gp_ui_key_t x50g_newrpl_ui_keys[] =
99, 92, 36, 28, 7, 2, (1 << 7), (1 << 2), 2 99, 92, 36, 28, 7, 2, (1 << 7), (1 << 2), 2
}, },
{ {
NULL, NULL, NULL, NULL, NULL, "", "", "UPDIR", NULL, NULL,
UI_COLOR_SILVER, 0.0, 0, UI_COLOR_SILVER, 10.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_ROUND, 0.0, 0, UI_SHAPE_BUTTON_ROUND, 0.0, 0,
200, 38, 33, 33, 6, 1, (1 << 6), (1 << 1), 1 200, 38, 33, 33, 6, 1, (1 << 6), (1 << 1), 1
}, },
{ {
NULL, NULL, NULL, NULL, NULL, "", "", "BEG COPY", NULL, NULL,
UI_COLOR_SILVER, 0.0, 0, UI_COLOR_SILVER, 10.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_ROUND, 0.0, 0, UI_SHAPE_BUTTON_ROUND, 0.0, 0,
164, 66, 33, 33, 6, 2, (1 << 6), (1 << 2), 2 164, 66, 33, 33, 6, 2, (1 << 6), (1 << 2), 2
}, },
{ {
NULL, NULL, NULL, NULL, NULL, "", "", "CUT", NULL, NULL,
UI_COLOR_SILVER, 0.0, 0, UI_COLOR_SILVER, 10.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_ROUND, 0.0, 0, UI_SHAPE_BUTTON_ROUND, 0.0, 0,
200, 94, 33, 33, 6, 3, (1 << 6), (1 << 3), 3 200, 94, 33, 33, 6, 3, (1 << 6), (1 << 3), 3
}, },
{ {
NULL, NULL, NULL, NULL, NULL, "", "", "END PASTE", NULL, NULL,
UI_COLOR_SILVER, 0.0, 0, UI_COLOR_SILVER, 10.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_ROUND, 0.0, 0, UI_SHAPE_BUTTON_ROUND, 0.0, 0,
236, 66, 33, 33, 6, 4, (1 << 6), (1 << 4), 4 236, 66, 33, 33, 6, 4, (1 << 6), (1 << 4), 4
}, },
{ {
"S\\kern-1 T\\kern-1 O\\kern-1\\triangleright", "M", "RCL", NULL, NULL, "S\\kern-1 T\\kern-1 O\\kern-1\\triangleright", "M", "RCL", "PREV.M", NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT,
0, 141, 46, 28, 4, 1, (1 << 4), (1 << 1), 1 0, 141, 46, 28, 4, 1, (1 << 4), (1 << 1), 1
@ -1158,7 +1159,7 @@ static const x49gp_ui_key_t x50g_newrpl_ui_keys[] =
119, 141, 46, 28, 2, 1, (1 << 2), (1 << 1), 1 119, 141, 46, 28, 2, 1, (1 << 2), (1 << 1), 1
}, },
{ {
"M\\kern-1 A\\kern-1 I\\kern-1 N", "P", NULL, NULL, NULL, "M\\kern-1 E\\kern-1 N\\kern-1 U", "P", NULL, NULL, NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT,
179, 141, 46, 28, 1, 1, (1 << 1), (1 << 1), 1 179, 141, 46, 28, 1, 1, (1 << 1), (1 << 1), 1
@ -1176,8 +1177,8 @@ static const x49gp_ui_key_t x50g_newrpl_ui_keys[] =
0, 183, 46, 28, 4, 2, (1 << 4), (1 << 2), 2 0, 183, 46, 28, 4, 2, (1 << 4), (1 << 2), 2
}, },
{ {
"\\radical\\overscore\\kern-7 X", "R", "\\radical\\overscore\\kern-7 X", "R",
"\\math_x\\twosuperior", "\\math_x\\twosuperior",
"\\xsuperior\\kern-4\\math_radical\\overscore\\kern-5\\math_y", "\\xsuperior\\kern-4\\math_radical\\overscore\\kern-5\\math_y",
NULL, NULL,
UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 12.0, CAIRO_FONT_WEIGHT_BOLD,
@ -1236,19 +1237,19 @@ static const x49gp_ui_key_t x50g_newrpl_ui_keys[] =
179, 225, 46, 28, 1, 3, (1 << 1), (1 << 3), 3 179, 225, 46, 28, 1, 3, (1 << 1), (1 << 3), 3
}, },
{ {
"\\divide", "Z", NULL, NULL, NULL, "\\divide", "Z", "ABS", "ARG", NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT_NO_SPACE, UI_SHAPE_BUTTON_NORMAL, 12.0, UI_LAYOUT_LEFT_NO_SPACE,
238, 225, 46, 28, 0, 3, (1 << 0), (1 << 3), 3 238, 225, 46, 28, 0, 3, (1 << 0), (1 << 3), 3
}, },
{ {
"ALPHA", NULL, NULL, NULL, NULL, "ALPHA", "", "", "ENTRY", NULL,
UI_COLOR_BLACK, 12.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_BLACK, 12.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
0, 267, 46, 32, 0, 0, 0, 0, 4 0, 267, 46, 32, 0, 0, 0, 0, 4
}, },
{ {
"7", NULL, NULL, NULL, NULL, "7", "", "", "NUM.SLV", NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
59, 267, 46, 32, 3, 4, (1 << 3), (1 << 4), 4 59, 267, 46, 32, 3, 4, (1 << 3), (1 << 4), 4
@ -1260,7 +1261,7 @@ static const x49gp_ui_key_t x50g_newrpl_ui_keys[] =
119, 267, 46, 32, 2, 4, (1 << 2), (1 << 4), 4 119, 267, 46, 32, 2, 4, (1 << 2), (1 << 4), 4
}, },
{ {
"9", NULL, NULL, NULL, NULL, "9", "", "", "TIME", NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
179, 267, 46, 32, 1, 4, (1 << 1), (1 << 4), 4 179, 267, 46, 32, 1, 4, (1 << 1), (1 << 4), 4
@ -1290,7 +1291,7 @@ static const x49gp_ui_key_t x50g_newrpl_ui_keys[] =
119, 313, 46, 32, 2, 5, (1 << 2), (1 << 5), 5 119, 313, 46, 32, 2, 5, (1 << 2), (1 << 5), 5
}, },
{ {
"6", NULL, NULL, "UNITS", NULL, "6", NULL, "CONVERT", "UNITS", NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
179, 313, 46, 32, 1, 5, (1 << 1), (1 << 5), 5 179, 313, 46, 32, 1, 5, (1 << 1), (1 << 5), 5
@ -1308,19 +1309,19 @@ static const x49gp_ui_key_t x50g_newrpl_ui_keys[] =
0, 359, 46, 32, 0, 0, 0, 0, 6 0, 359, 46, 32, 0, 0, 0, 0, 6
}, },
{ {
"1", NULL, NULL, NULL, NULL, "1", "", "ARITH", "CMPLX", NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
59, 359, 46, 32, 3, 6, (1 << 3), (1 << 6), 6 59, 359, 46, 32, 3, 6, (1 << 3), (1 << 6), 6
}, },
{ {
"2", NULL, NULL, NULL, NULL, "2", "", "", "LIB", NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
119, 359, 46, 32, 2, 6, (1 << 2), (1 << 6), 6 119, 359, 46, 32, 2, 6, (1 << 2), (1 << 6), 6
}, },
{ {
"3", NULL, "\\math_numbersign", NULL, NULL, "3", NULL, "\\math_numbersign", "BASE", NULL,
UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD, UI_COLOR_WHITE, 19.0, CAIRO_FONT_WEIGHT_BOLD,
UI_SHAPE_BUTTON_LARGE, 0.0, 0, UI_SHAPE_BUTTON_LARGE, 0.0, 0,
179, 359, 46, 32, 1, 6, (1 << 1), (1 << 6), 6 179, 359, 46, 32, 1, 6, (1 << 1), (1 << 6), 6