label_graphic
This commit is contained in:
parent
d2962d74c9
commit
fc2a581dc6
5 changed files with 453 additions and 453 deletions
294
src/ui4x/48gx.c
294
src/ui4x/48gx.c
|
@ -182,9 +182,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = menu_label_width,
|
||||
.label_bits_h = menu_label_height,
|
||||
.label_bits = menu_label_bitmap,
|
||||
.label_graphic_w = menu_label_width,
|
||||
.label_graphic_h = menu_label_height,
|
||||
.label_graphic = menu_label_bitmap,
|
||||
.letter = "A",
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -197,9 +197,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = menu_label_width,
|
||||
.label_bits_h = menu_label_height,
|
||||
.label_bits = menu_label_bitmap,
|
||||
.label_graphic_w = menu_label_width,
|
||||
.label_graphic_h = menu_label_height,
|
||||
.label_graphic = menu_label_bitmap,
|
||||
.letter = "B",
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -212,9 +212,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = menu_label_width,
|
||||
.label_bits_h = menu_label_height,
|
||||
.label_bits = menu_label_bitmap,
|
||||
.label_graphic_w = menu_label_width,
|
||||
.label_graphic_h = menu_label_height,
|
||||
.label_graphic = menu_label_bitmap,
|
||||
.letter = "C",
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -227,9 +227,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = menu_label_width,
|
||||
.label_bits_h = menu_label_height,
|
||||
.label_bits = menu_label_bitmap,
|
||||
.label_graphic_w = menu_label_width,
|
||||
.label_graphic_h = menu_label_height,
|
||||
.label_graphic = menu_label_bitmap,
|
||||
.letter = "D",
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -242,9 +242,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = menu_label_width,
|
||||
.label_bits_h = menu_label_height,
|
||||
.label_bits = menu_label_bitmap,
|
||||
.label_graphic_w = menu_label_width,
|
||||
.label_graphic_h = menu_label_height,
|
||||
.label_graphic = menu_label_bitmap,
|
||||
.letter = "E",
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -257,9 +257,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = menu_label_width,
|
||||
.label_bits_h = menu_label_height,
|
||||
.label_bits = menu_label_bitmap,
|
||||
.label_graphic_w = menu_label_width,
|
||||
.label_graphic_h = menu_label_height,
|
||||
.label_graphic = menu_label_bitmap,
|
||||
.letter = "F",
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -273,9 +273,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "MTH",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "G",
|
||||
.left = "RAD",
|
||||
.highlight = false,
|
||||
|
@ -288,9 +288,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "PRG",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "H",
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -303,9 +303,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "CST",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "I",
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -318,9 +318,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "VAR",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "J",
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -333,9 +333,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = up_width,
|
||||
.label_bits_h = up_height,
|
||||
.label_bits = up_bitmap,
|
||||
.label_graphic_w = up_width,
|
||||
.label_graphic_h = up_height,
|
||||
.label_graphic = up_bitmap,
|
||||
.letter = "K",
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -348,9 +348,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "NXT",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "L",
|
||||
.left = "PREV",
|
||||
.highlight = false,
|
||||
|
@ -364,9 +364,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = quote_width,
|
||||
.label_bits_h = quote_height,
|
||||
.label_bits = quote_bitmap,
|
||||
.label_graphic_w = quote_width,
|
||||
.label_graphic_h = quote_height,
|
||||
.label_graphic = quote_bitmap,
|
||||
.letter = "M",
|
||||
.left = "UP",
|
||||
.highlight = false,
|
||||
|
@ -379,9 +379,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "STO",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "N",
|
||||
.left = "DEF",
|
||||
.highlight = false,
|
||||
|
@ -394,9 +394,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "EVAL",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "O",
|
||||
.left = "\x06NUM",
|
||||
.highlight = false,
|
||||
|
@ -409,9 +409,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = left_width,
|
||||
.label_bits_h = left_height,
|
||||
.label_bits = left_bitmap,
|
||||
.label_graphic_w = left_width,
|
||||
.label_graphic_h = left_height,
|
||||
.label_graphic = left_bitmap,
|
||||
.letter = "P",
|
||||
.left = "PICTURE",
|
||||
.highlight = false,
|
||||
|
@ -424,9 +424,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = down_width,
|
||||
.label_bits_h = down_height,
|
||||
.label_bits = down_bitmap,
|
||||
.label_graphic_w = down_width,
|
||||
.label_graphic_h = down_height,
|
||||
.label_graphic = down_bitmap,
|
||||
.letter = "Q",
|
||||
.left = "VIEW",
|
||||
.highlight = false,
|
||||
|
@ -439,9 +439,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = right_width,
|
||||
.label_bits_h = right_height,
|
||||
.label_bits = right_bitmap,
|
||||
.label_graphic_w = right_width,
|
||||
.label_graphic_h = right_height,
|
||||
.label_graphic = right_bitmap,
|
||||
.letter = "R",
|
||||
.left = "SWAP",
|
||||
.highlight = false,
|
||||
|
@ -455,9 +455,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "SIN",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "S",
|
||||
.left = "ASIN",
|
||||
.highlight = false,
|
||||
|
@ -470,9 +470,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "COS",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "T",
|
||||
.left = "ACOS",
|
||||
.highlight = false,
|
||||
|
@ -485,9 +485,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "TAN",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "U",
|
||||
.left = "ATAN",
|
||||
.highlight = false,
|
||||
|
@ -500,9 +500,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = sqrt_width,
|
||||
.label_bits_h = sqrt_height,
|
||||
.label_bits = sqrt_bitmap,
|
||||
.label_graphic_w = sqrt_width,
|
||||
.label_graphic_h = sqrt_height,
|
||||
.label_graphic = sqrt_bitmap,
|
||||
.letter = "V",
|
||||
.left = "\x13",
|
||||
.highlight = false,
|
||||
|
@ -515,9 +515,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = power_width,
|
||||
.label_bits_h = power_height,
|
||||
.label_bits = power_bitmap,
|
||||
.label_graphic_w = power_width,
|
||||
.label_graphic_h = power_height,
|
||||
.label_graphic = power_bitmap,
|
||||
.letter = "W",
|
||||
.left = "\x15",
|
||||
.highlight = false,
|
||||
|
@ -530,9 +530,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = inv_width,
|
||||
.label_bits_h = inv_height,
|
||||
.label_bits = inv_bitmap,
|
||||
.label_graphic_w = inv_width,
|
||||
.label_graphic_h = inv_height,
|
||||
.label_graphic = inv_bitmap,
|
||||
.letter = "X",
|
||||
.left = "\x16",
|
||||
.highlight = false,
|
||||
|
@ -546,9 +546,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "ENTER",
|
||||
.font_size = 2,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "EQUATION",
|
||||
.highlight = false,
|
||||
|
@ -561,9 +561,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = neg_width,
|
||||
.label_bits_h = neg_height,
|
||||
.label_bits = neg_bitmap,
|
||||
.label_graphic_w = neg_width,
|
||||
.label_graphic_h = neg_height,
|
||||
.label_graphic = neg_bitmap,
|
||||
.letter = "Y",
|
||||
.left = "EDIT",
|
||||
.highlight = false,
|
||||
|
@ -576,9 +576,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "EEX",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "Z",
|
||||
.left = "PURG",
|
||||
.highlight = false,
|
||||
|
@ -591,9 +591,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "DEL",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "CLEAR",
|
||||
.highlight = false,
|
||||
|
@ -606,9 +606,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = bs_width,
|
||||
.label_bits_h = bs_height,
|
||||
.label_bits = bs_bitmap,
|
||||
.label_graphic_w = bs_width,
|
||||
.label_graphic_h = bs_height,
|
||||
.label_graphic = bs_bitmap,
|
||||
.letter = 0,
|
||||
.left = "DROP",
|
||||
.highlight = false,
|
||||
|
@ -622,9 +622,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = alpha_width,
|
||||
.label_bits_h = alpha_height,
|
||||
.label_bits = alpha_bitmap,
|
||||
.label_graphic_w = alpha_width,
|
||||
.label_graphic_h = alpha_height,
|
||||
.label_graphic = alpha_bitmap,
|
||||
.letter = 0,
|
||||
.left = "USER",
|
||||
.highlight = false,
|
||||
|
@ -637,9 +637,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "7",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "SOLVE",
|
||||
.highlight = true,
|
||||
|
@ -652,9 +652,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "8",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "PLOT",
|
||||
.highlight = true,
|
||||
|
@ -667,9 +667,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "9",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "SYMBOLIC",
|
||||
.highlight = true,
|
||||
|
@ -682,9 +682,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = div_width,
|
||||
.label_bits_h = div_height,
|
||||
.label_bits = div_bitmap,
|
||||
.label_graphic_w = div_width,
|
||||
.label_graphic_h = div_height,
|
||||
.label_graphic = div_bitmap,
|
||||
.letter = 0,
|
||||
.left = "\x17 ",
|
||||
.highlight = false,
|
||||
|
@ -698,9 +698,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_SHIFT_LEFT,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = shl_width,
|
||||
.label_bits_h = shl_height,
|
||||
.label_bits = shl_bitmap,
|
||||
.label_graphic_w = shl_width,
|
||||
.label_graphic_h = shl_height,
|
||||
.label_graphic = shl_bitmap,
|
||||
.letter = 0,
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -713,9 +713,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "4",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "TIME",
|
||||
.highlight = true,
|
||||
|
@ -728,9 +728,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "5",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "STAT",
|
||||
.highlight = true,
|
||||
|
@ -743,9 +743,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "6",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "UNITS",
|
||||
.highlight = true,
|
||||
|
@ -758,9 +758,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = mul_width,
|
||||
.label_bits_h = mul_height,
|
||||
.label_bits = mul_bitmap,
|
||||
.label_graphic_w = mul_width,
|
||||
.label_graphic_h = mul_height,
|
||||
.label_graphic = mul_bitmap,
|
||||
.letter = 0,
|
||||
.left = "\x19 ",
|
||||
.highlight = false,
|
||||
|
@ -774,9 +774,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_SHIFT_RIGHT,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = shr_width,
|
||||
.label_bits_h = shr_height,
|
||||
.label_bits = shr_bitmap,
|
||||
.label_graphic_w = shr_width,
|
||||
.label_graphic_h = shr_height,
|
||||
.label_graphic = shr_bitmap,
|
||||
.letter = 0,
|
||||
.left = " ",
|
||||
.highlight = true,
|
||||
|
@ -789,9 +789,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "1",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "I/O",
|
||||
.highlight = true,
|
||||
|
@ -804,9 +804,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "2",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "LIBRARY",
|
||||
.highlight = true,
|
||||
|
@ -819,9 +819,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "3",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "EQ LIB",
|
||||
.highlight = true,
|
||||
|
@ -834,9 +834,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = minus_width,
|
||||
.label_bits_h = minus_height,
|
||||
.label_bits = minus_bitmap,
|
||||
.label_graphic_w = minus_width,
|
||||
.label_graphic_h = minus_height,
|
||||
.label_graphic = minus_bitmap,
|
||||
.letter = 0,
|
||||
.left = "\x1b ",
|
||||
.highlight = false,
|
||||
|
@ -850,9 +850,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "ON",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "CONT",
|
||||
.highlight = false,
|
||||
|
@ -865,9 +865,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "0",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "\x04 ",
|
||||
.highlight = false,
|
||||
|
@ -880,9 +880,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = ".",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "\x02 ",
|
||||
.highlight = false,
|
||||
|
@ -895,9 +895,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "SPC",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "\x05 ",
|
||||
.highlight = false,
|
||||
|
@ -910,9 +910,9 @@ button_t buttons_48gx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = plus_width,
|
||||
.label_bits_h = plus_height,
|
||||
.label_bits = plus_bitmap,
|
||||
.label_graphic_w = plus_width,
|
||||
.label_graphic_h = plus_height,
|
||||
.label_graphic = plus_bitmap,
|
||||
.letter = 0,
|
||||
.left = "\x1d ",
|
||||
.highlight = false,
|
||||
|
|
294
src/ui4x/48sx.c
294
src/ui4x/48sx.c
|
@ -182,9 +182,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = menu_label_width,
|
||||
.label_bits_h = menu_label_height,
|
||||
.label_bits = menu_label_bitmap,
|
||||
.label_graphic_w = menu_label_width,
|
||||
.label_graphic_h = menu_label_height,
|
||||
.label_graphic = menu_label_bitmap,
|
||||
.letter = "A",
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -197,9 +197,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = menu_label_width,
|
||||
.label_bits_h = menu_label_height,
|
||||
.label_bits = menu_label_bitmap,
|
||||
.label_graphic_w = menu_label_width,
|
||||
.label_graphic_h = menu_label_height,
|
||||
.label_graphic = menu_label_bitmap,
|
||||
.letter = "B",
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -212,9 +212,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = menu_label_width,
|
||||
.label_bits_h = menu_label_height,
|
||||
.label_bits = menu_label_bitmap,
|
||||
.label_graphic_w = menu_label_width,
|
||||
.label_graphic_h = menu_label_height,
|
||||
.label_graphic = menu_label_bitmap,
|
||||
.letter = "C",
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -227,9 +227,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = menu_label_width,
|
||||
.label_bits_h = menu_label_height,
|
||||
.label_bits = menu_label_bitmap,
|
||||
.label_graphic_w = menu_label_width,
|
||||
.label_graphic_h = menu_label_height,
|
||||
.label_graphic = menu_label_bitmap,
|
||||
.letter = "D",
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -242,9 +242,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = menu_label_width,
|
||||
.label_bits_h = menu_label_height,
|
||||
.label_bits = menu_label_bitmap,
|
||||
.label_graphic_w = menu_label_width,
|
||||
.label_graphic_h = menu_label_height,
|
||||
.label_graphic = menu_label_bitmap,
|
||||
.letter = "E",
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -257,9 +257,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = menu_label_width,
|
||||
.label_bits_h = menu_label_height,
|
||||
.label_bits = menu_label_bitmap,
|
||||
.label_graphic_w = menu_label_width,
|
||||
.label_graphic_h = menu_label_height,
|
||||
.label_graphic = menu_label_bitmap,
|
||||
.letter = "F",
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -273,9 +273,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "MTH",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "G",
|
||||
.left = "PRINT",
|
||||
.highlight = true,
|
||||
|
@ -288,9 +288,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "PRG",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "H",
|
||||
.left = "I/O",
|
||||
.highlight = true,
|
||||
|
@ -303,9 +303,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "CST",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "I",
|
||||
.left = "MODES",
|
||||
.highlight = true,
|
||||
|
@ -318,9 +318,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "VAR",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "J",
|
||||
.left = "MEMORY",
|
||||
.highlight = true,
|
||||
|
@ -333,9 +333,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = up_width,
|
||||
.label_bits_h = up_height,
|
||||
.label_bits = up_bitmap,
|
||||
.label_graphic_w = up_width,
|
||||
.label_graphic_h = up_height,
|
||||
.label_graphic = up_bitmap,
|
||||
.letter = "K",
|
||||
.left = "LIBRARY",
|
||||
.highlight = true,
|
||||
|
@ -348,9 +348,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "NXT",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "L",
|
||||
.left = "PREV",
|
||||
.highlight = false,
|
||||
|
@ -364,9 +364,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = quote_width,
|
||||
.label_bits_h = quote_height,
|
||||
.label_bits = quote_bitmap,
|
||||
.label_graphic_w = quote_width,
|
||||
.label_graphic_h = quote_height,
|
||||
.label_graphic = quote_bitmap,
|
||||
.letter = "M",
|
||||
.left = "UP",
|
||||
.highlight = false,
|
||||
|
@ -379,9 +379,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "STO",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "N",
|
||||
.left = "DEF",
|
||||
.highlight = false,
|
||||
|
@ -394,9 +394,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "EVAL",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "O",
|
||||
.left = "\x80Q",
|
||||
.highlight = false,
|
||||
|
@ -409,9 +409,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = left_width,
|
||||
.label_bits_h = left_height,
|
||||
.label_bits = left_bitmap,
|
||||
.label_graphic_w = left_width,
|
||||
.label_graphic_h = left_height,
|
||||
.label_graphic = left_bitmap,
|
||||
.letter = "P",
|
||||
.left = "GRAPH",
|
||||
.highlight = false,
|
||||
|
@ -424,9 +424,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = down_width,
|
||||
.label_bits_h = down_height,
|
||||
.label_bits = down_bitmap,
|
||||
.label_graphic_w = down_width,
|
||||
.label_graphic_h = down_height,
|
||||
.label_graphic = down_bitmap,
|
||||
.letter = "Q",
|
||||
.left = "REVIEW",
|
||||
.highlight = false,
|
||||
|
@ -439,9 +439,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = right_width,
|
||||
.label_bits_h = right_height,
|
||||
.label_bits = right_bitmap,
|
||||
.label_graphic_w = right_width,
|
||||
.label_graphic_h = right_height,
|
||||
.label_graphic = right_bitmap,
|
||||
.letter = "R",
|
||||
.left = "SWAP",
|
||||
.highlight = false,
|
||||
|
@ -455,9 +455,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "SIN",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "S",
|
||||
.left = "ASIN",
|
||||
.highlight = false,
|
||||
|
@ -470,9 +470,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "COS",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "T",
|
||||
.left = "ACOS",
|
||||
.highlight = false,
|
||||
|
@ -485,9 +485,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "TAN",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "U",
|
||||
.left = "ATAN",
|
||||
.highlight = false,
|
||||
|
@ -500,9 +500,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = sqrt_width,
|
||||
.label_bits_h = sqrt_height,
|
||||
.label_bits = sqrt_bitmap,
|
||||
.label_graphic_w = sqrt_width,
|
||||
.label_graphic_h = sqrt_height,
|
||||
.label_graphic = sqrt_bitmap,
|
||||
.letter = "V",
|
||||
.left = "\x0a",
|
||||
.highlight = false,
|
||||
|
@ -515,9 +515,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = power_width,
|
||||
.label_bits_h = power_height,
|
||||
.label_bits = power_bitmap,
|
||||
.label_graphic_w = power_width,
|
||||
.label_graphic_h = power_height,
|
||||
.label_graphic = power_bitmap,
|
||||
.letter = "W",
|
||||
.left = "\x0c",
|
||||
.highlight = false,
|
||||
|
@ -530,9 +530,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = inv_width,
|
||||
.label_bits_h = inv_height,
|
||||
.label_bits = inv_bitmap,
|
||||
.label_graphic_w = inv_width,
|
||||
.label_graphic_h = inv_height,
|
||||
.label_graphic = inv_bitmap,
|
||||
.letter = "X",
|
||||
.left = "\x0d",
|
||||
.highlight = false,
|
||||
|
@ -546,9 +546,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "ENTER",
|
||||
.font_size = 2,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "EQUATION",
|
||||
.highlight = false,
|
||||
|
@ -561,9 +561,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = neg_width,
|
||||
.label_bits_h = neg_height,
|
||||
.label_bits = neg_bitmap,
|
||||
.label_graphic_w = neg_width,
|
||||
.label_graphic_h = neg_height,
|
||||
.label_graphic = neg_bitmap,
|
||||
.letter = "Y",
|
||||
.left = "EDIT",
|
||||
.highlight = false,
|
||||
|
@ -576,9 +576,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "EEX",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "Z",
|
||||
.left = "2D",
|
||||
.highlight = false,
|
||||
|
@ -591,9 +591,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "DEL",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "PURGE",
|
||||
.highlight = false,
|
||||
|
@ -606,9 +606,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = bs_width,
|
||||
.label_bits_h = bs_height,
|
||||
.label_bits = bs_bitmap,
|
||||
.label_graphic_w = bs_width,
|
||||
.label_graphic_h = bs_height,
|
||||
.label_graphic = bs_bitmap,
|
||||
.letter = 0,
|
||||
.left = "DROP",
|
||||
.highlight = false,
|
||||
|
@ -622,9 +622,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = alpha_width,
|
||||
.label_bits_h = alpha_height,
|
||||
.label_bits = alpha_bitmap,
|
||||
.label_graphic_w = alpha_width,
|
||||
.label_graphic_h = alpha_height,
|
||||
.label_graphic = alpha_bitmap,
|
||||
.letter = 0,
|
||||
.left = "USR",
|
||||
.highlight = false,
|
||||
|
@ -637,9 +637,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "7",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "SOLVE",
|
||||
.highlight = true,
|
||||
|
@ -652,9 +652,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "8",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "PLOT",
|
||||
.highlight = true,
|
||||
|
@ -667,9 +667,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "9",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "ALGEBRA",
|
||||
.highlight = true,
|
||||
|
@ -682,9 +682,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = div_width,
|
||||
.label_bits_h = div_height,
|
||||
.label_bits = div_bitmap,
|
||||
.label_graphic_w = div_width,
|
||||
.label_graphic_h = div_height,
|
||||
.label_graphic = div_bitmap,
|
||||
.letter = 0,
|
||||
.left = "( )",
|
||||
.highlight = false,
|
||||
|
@ -698,9 +698,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_SHIFT_LEFT,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = shl_width,
|
||||
.label_bits_h = shl_height,
|
||||
.label_bits = shl_bitmap,
|
||||
.label_graphic_w = shl_width,
|
||||
.label_graphic_h = shl_height,
|
||||
.label_graphic = shl_bitmap,
|
||||
.letter = 0,
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -713,9 +713,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "4",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "TIME",
|
||||
.highlight = true,
|
||||
|
@ -728,9 +728,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "5",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "STAT",
|
||||
.highlight = true,
|
||||
|
@ -743,9 +743,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "6",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "UNITS",
|
||||
.highlight = true,
|
||||
|
@ -758,9 +758,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = mul_width,
|
||||
.label_bits_h = mul_height,
|
||||
.label_bits = mul_bitmap,
|
||||
.label_graphic_w = mul_width,
|
||||
.label_graphic_h = mul_height,
|
||||
.label_graphic = mul_bitmap,
|
||||
.letter = 0,
|
||||
.left = "[ ]",
|
||||
.highlight = false,
|
||||
|
@ -774,9 +774,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_SHIFT_RIGHT,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = shr_width,
|
||||
.label_bits_h = shr_height,
|
||||
.label_bits = shr_bitmap,
|
||||
.label_graphic_w = shr_width,
|
||||
.label_graphic_h = shr_height,
|
||||
.label_graphic = shr_bitmap,
|
||||
.letter = 0,
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -789,9 +789,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "1",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "RAD",
|
||||
.highlight = false,
|
||||
|
@ -804,9 +804,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "2",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "STACK",
|
||||
.highlight = false,
|
||||
|
@ -819,9 +819,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "3",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "CMD",
|
||||
.highlight = false,
|
||||
|
@ -834,9 +834,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = minus_width,
|
||||
.label_bits_h = minus_height,
|
||||
.label_bits = minus_bitmap,
|
||||
.label_graphic_w = minus_width,
|
||||
.label_graphic_h = minus_height,
|
||||
.label_graphic = minus_bitmap,
|
||||
.letter = 0,
|
||||
.left = "\x0e",
|
||||
.highlight = false,
|
||||
|
@ -850,9 +850,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "ON",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "CONT",
|
||||
.highlight = false,
|
||||
|
@ -865,9 +865,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "0",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "= ",
|
||||
.highlight = false,
|
||||
|
@ -880,9 +880,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = ".",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = ",",
|
||||
.highlight = false,
|
||||
|
@ -895,9 +895,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "SPC",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "\x11 ",
|
||||
.highlight = false,
|
||||
|
@ -910,9 +910,9 @@ button_t buttons_48sx[ NB_HP48_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = plus_width,
|
||||
.label_bits_h = plus_height,
|
||||
.label_bits = plus_bitmap,
|
||||
.label_graphic_w = plus_width,
|
||||
.label_graphic_h = plus_height,
|
||||
.label_graphic = plus_bitmap,
|
||||
.letter = 0,
|
||||
.left = "{ }",
|
||||
.highlight = false,
|
||||
|
|
306
src/ui4x/49g.c
306
src/ui4x/49g.c
|
@ -184,9 +184,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "F1",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "A",
|
||||
.left = "Y=",
|
||||
.highlight = false,
|
||||
|
@ -199,9 +199,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "F2",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "B",
|
||||
.left = "WIN",
|
||||
.highlight = false,
|
||||
|
@ -214,9 +214,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "F3",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "C",
|
||||
.left = "GRAPH",
|
||||
.highlight = false,
|
||||
|
@ -229,9 +229,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "F4",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "D",
|
||||
.left = "2D/3D",
|
||||
.highlight = false,
|
||||
|
@ -244,9 +244,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "F5",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "E",
|
||||
.left = "TBLSET",
|
||||
.highlight = false,
|
||||
|
@ -259,9 +259,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "F6",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "F",
|
||||
.left = "TABLE",
|
||||
.highlight = false,
|
||||
|
@ -275,9 +275,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "APPS",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "G",
|
||||
.left = "FILES",
|
||||
.highlight = false,
|
||||
|
@ -290,9 +290,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "MODE",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "H",
|
||||
.left = "CUSTOM",
|
||||
.highlight = false,
|
||||
|
@ -305,9 +305,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "TOOL",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "I",
|
||||
.left = "i",
|
||||
.highlight = false,
|
||||
|
@ -321,9 +321,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "VAR",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "J",
|
||||
.left = "UPDIR",
|
||||
.highlight = false,
|
||||
|
@ -336,9 +336,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "STO",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "K",
|
||||
.left = "RCL",
|
||||
.highlight = false,
|
||||
|
@ -351,9 +351,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "NXT",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "L",
|
||||
.left = "PREV",
|
||||
.highlight = false,
|
||||
|
@ -367,9 +367,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = left_width,
|
||||
.label_bits_h = left_height,
|
||||
.label_bits = left_bitmap,
|
||||
.label_graphic_w = left_width,
|
||||
.label_graphic_h = left_height,
|
||||
.label_graphic = left_bitmap,
|
||||
.letter = 0,
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -382,9 +382,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = up_width,
|
||||
.label_bits_h = up_height,
|
||||
.label_bits = up_bitmap,
|
||||
.label_graphic_w = up_width,
|
||||
.label_graphic_h = up_height,
|
||||
.label_graphic = up_bitmap,
|
||||
.letter = 0,
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -397,9 +397,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = right_width,
|
||||
.label_bits_h = right_height,
|
||||
.label_bits = right_bitmap,
|
||||
.label_graphic_w = right_width,
|
||||
.label_graphic_h = right_height,
|
||||
.label_graphic = right_bitmap,
|
||||
.letter = 0,
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -412,9 +412,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = down_width,
|
||||
.label_bits_h = down_height,
|
||||
.label_bits = down_bitmap,
|
||||
.label_graphic_w = down_width,
|
||||
.label_graphic_h = down_height,
|
||||
.label_graphic = down_bitmap,
|
||||
.letter = 0,
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -428,9 +428,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "HIST",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "M",
|
||||
.left = "CMD",
|
||||
.highlight = false,
|
||||
|
@ -443,9 +443,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "CAT",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "N",
|
||||
.left = "PRG",
|
||||
.highlight = false,
|
||||
|
@ -458,9 +458,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "EQW",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "O",
|
||||
.left = "MTRW",
|
||||
.highlight = false,
|
||||
|
@ -473,9 +473,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "SYMB",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "P",
|
||||
.left = "MTH",
|
||||
.highlight = false,
|
||||
|
@ -488,9 +488,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = bs_width,
|
||||
.label_bits_h = bs_height,
|
||||
.label_bits = bs_bitmap,
|
||||
.label_graphic_w = bs_width,
|
||||
.label_graphic_h = bs_height,
|
||||
.label_graphic = bs_bitmap,
|
||||
.letter = 0,
|
||||
.left = "DEL",
|
||||
.highlight = false,
|
||||
|
@ -504,9 +504,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = power_width,
|
||||
.label_bits_h = power_height,
|
||||
.label_bits = power_bitmap,
|
||||
.label_graphic_w = power_width,
|
||||
.label_graphic_h = power_height,
|
||||
.label_graphic = power_bitmap,
|
||||
.letter = "Q",
|
||||
.left = "\x16",
|
||||
.highlight = false,
|
||||
|
@ -519,9 +519,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = sqrt_width,
|
||||
.label_bits_h = sqrt_height,
|
||||
.label_bits = sqrt_bitmap,
|
||||
.label_graphic_w = sqrt_width,
|
||||
.label_graphic_h = sqrt_height,
|
||||
.label_graphic = sqrt_bitmap,
|
||||
.letter = "R",
|
||||
.left = "\x13",
|
||||
.highlight = false,
|
||||
|
@ -534,9 +534,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "SIN",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "S",
|
||||
.left = "ASIN",
|
||||
.highlight = false,
|
||||
|
@ -549,9 +549,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "COS",
|
||||
.font_size = 2,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "T",
|
||||
.left = "ACOS",
|
||||
.highlight = false,
|
||||
|
@ -564,9 +564,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "TAN",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "U",
|
||||
.left = "ATAN",
|
||||
.highlight = false,
|
||||
|
@ -580,9 +580,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "EEX",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "V",
|
||||
.left = "\x15",
|
||||
.highlight = false,
|
||||
|
@ -595,9 +595,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = neg_width,
|
||||
.label_bits_h = neg_height,
|
||||
.label_bits = neg_bitmap,
|
||||
.label_graphic_w = neg_width,
|
||||
.label_graphic_h = neg_height,
|
||||
.label_graphic = neg_bitmap,
|
||||
.letter = "W",
|
||||
.left = "/=",
|
||||
.highlight = false,
|
||||
|
@ -610,9 +610,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "X",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = "X",
|
||||
.left = "<=",
|
||||
.highlight = false,
|
||||
|
@ -625,9 +625,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = inv_width,
|
||||
.label_bits_h = inv_height,
|
||||
.label_bits = inv_bitmap,
|
||||
.label_graphic_w = inv_width,
|
||||
.label_graphic_h = inv_height,
|
||||
.label_graphic = inv_bitmap,
|
||||
.letter = "Y",
|
||||
.left = ">=",
|
||||
.highlight = false,
|
||||
|
@ -640,9 +640,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = div_width,
|
||||
.label_bits_h = div_height,
|
||||
.label_bits = div_bitmap,
|
||||
.label_graphic_w = div_width,
|
||||
.label_graphic_h = div_height,
|
||||
.label_graphic = div_bitmap,
|
||||
.letter = "Z",
|
||||
.left = "ABS ",
|
||||
.highlight = false,
|
||||
|
@ -656,9 +656,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = alpha_width,
|
||||
.label_bits_h = alpha_height,
|
||||
.label_bits = alpha_bitmap,
|
||||
.label_graphic_w = alpha_width,
|
||||
.label_graphic_h = alpha_height,
|
||||
.label_graphic = alpha_bitmap,
|
||||
.letter = 0,
|
||||
.left = "USER",
|
||||
.highlight = false,
|
||||
|
@ -671,9 +671,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "7",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "S.SLV",
|
||||
.highlight = false,
|
||||
|
@ -686,9 +686,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "8",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "EXP&LN",
|
||||
.highlight = false,
|
||||
|
@ -701,9 +701,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "9",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "FINANCE",
|
||||
.highlight = false,
|
||||
|
@ -716,9 +716,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = mul_width,
|
||||
.label_bits_h = mul_height,
|
||||
.label_bits = mul_bitmap,
|
||||
.label_graphic_w = mul_width,
|
||||
.label_graphic_h = mul_height,
|
||||
.label_graphic = mul_bitmap,
|
||||
.letter = 0,
|
||||
.left = "\x19 ",
|
||||
.highlight = false,
|
||||
|
@ -732,9 +732,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_SHIFT_LEFT,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = shl_width,
|
||||
.label_bits_h = shl_height,
|
||||
.label_bits = shl_bitmap,
|
||||
.label_graphic_w = shl_width,
|
||||
.label_graphic_h = shl_height,
|
||||
.label_graphic = shl_bitmap,
|
||||
.letter = 0,
|
||||
.left = 0,
|
||||
.highlight = false,
|
||||
|
@ -747,9 +747,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "4",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "CALC",
|
||||
.highlight = false,
|
||||
|
@ -762,9 +762,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "5",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "MATRICES",
|
||||
.highlight = false,
|
||||
|
@ -777,9 +777,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "6",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "CONVERT",
|
||||
.highlight = false,
|
||||
|
@ -792,9 +792,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = minus_width,
|
||||
.label_bits_h = minus_height,
|
||||
.label_bits = minus_bitmap,
|
||||
.label_graphic_w = minus_width,
|
||||
.label_graphic_h = minus_height,
|
||||
.label_graphic = minus_bitmap,
|
||||
.letter = 0,
|
||||
.left = "\x17 ",
|
||||
.highlight = false,
|
||||
|
@ -808,9 +808,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_SHIFT_RIGHT,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = shr_width,
|
||||
.label_bits_h = shr_height,
|
||||
.label_bits = shr_bitmap,
|
||||
.label_graphic_w = shr_width,
|
||||
.label_graphic_h = shr_height,
|
||||
.label_graphic = shr_bitmap,
|
||||
.letter = 0,
|
||||
.left = " ",
|
||||
.highlight = false,
|
||||
|
@ -823,9 +823,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "1",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "ARITH",
|
||||
.highlight = false,
|
||||
|
@ -838,9 +838,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "2",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "DEF",
|
||||
.highlight = false,
|
||||
|
@ -853,9 +853,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "3",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "\x02",
|
||||
.highlight = false,
|
||||
|
@ -868,9 +868,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = 0,
|
||||
.font_size = 0,
|
||||
.label_bits_w = plus_width,
|
||||
.label_bits_h = plus_height,
|
||||
.label_bits = plus_bitmap,
|
||||
.label_graphic_w = plus_width,
|
||||
.label_graphic_h = plus_height,
|
||||
.label_graphic = plus_bitmap,
|
||||
.letter = 0,
|
||||
.left = "\x1d ",
|
||||
.highlight = false,
|
||||
|
@ -884,9 +884,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "ON",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "CONT",
|
||||
.highlight = false,
|
||||
|
@ -899,9 +899,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "0",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "INF ",
|
||||
.highlight = false,
|
||||
|
@ -914,9 +914,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = ".",
|
||||
.font_size = 1,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = ":: ",
|
||||
.highlight = false,
|
||||
|
@ -929,9 +929,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "SPC",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "\x05 ",
|
||||
.highlight = false,
|
||||
|
@ -944,9 +944,9 @@ button_t buttons_49g[ NB_HP49_KEYS ] = {
|
|||
.label_color = UI4X_COLOR_WHITE,
|
||||
.label_text = "ENTER",
|
||||
.font_size = 0,
|
||||
.label_bits_w = 0,
|
||||
.label_bits_h = 0,
|
||||
.label_bits = 0,
|
||||
.label_graphic_w = 0,
|
||||
.label_graphic_h = 0,
|
||||
.label_graphic = 0,
|
||||
.letter = 0,
|
||||
.left = "ANS ",
|
||||
.highlight = false,
|
||||
|
|
|
@ -54,8 +54,8 @@ typedef struct button_t {
|
|||
/* label on the button (text or bitmap) */
|
||||
int label_color;
|
||||
const char* label_text;
|
||||
unsigned char* label_bits;
|
||||
unsigned int label_bits_w, label_bits_h;
|
||||
unsigned char* label_graphic;
|
||||
unsigned int label_graphic_w, label_graphic_h;
|
||||
|
||||
/* label around the button */
|
||||
const char* letter;
|
||||
|
|
|
@ -572,14 +572,14 @@ static SDL_Texture* create_button_texture( int hpkey, bool is_up )
|
|||
y -= 1;
|
||||
|
||||
write_with_big_font( x, y, BUTTONS[ hpkey ].label_text, BUTTONS[ hpkey ].label_color, UI4X_COLOR_BUTTON );
|
||||
} else if ( BUTTONS[ hpkey ].label_bits != ( unsigned char* )0 ) {
|
||||
} else if ( BUTTONS[ hpkey ].label_graphic != ( unsigned char* )0 ) {
|
||||
/* Button has a texture */
|
||||
x = ( 1 + BUTTONS[ hpkey ].w - BUTTONS[ hpkey ].label_bits_w ) / 2;
|
||||
y = ( 1 + BUTTONS[ hpkey ].h - BUTTONS[ hpkey ].label_bits_h ) / 2;
|
||||
x = ( 1 + BUTTONS[ hpkey ].w - BUTTONS[ hpkey ].label_graphic_w ) / 2;
|
||||
y = ( 1 + BUTTONS[ hpkey ].h - BUTTONS[ hpkey ].label_graphic_h ) / 2;
|
||||
if ( is_up )
|
||||
y += 1;
|
||||
|
||||
__draw_bitmap( x, y, BUTTONS[ hpkey ].label_bits_w, BUTTONS[ hpkey ].label_bits_h, BUTTONS[ hpkey ].label_bits,
|
||||
__draw_bitmap( x, y, BUTTONS[ hpkey ].label_graphic_w, BUTTONS[ hpkey ].label_graphic_h, BUTTONS[ hpkey ].label_graphic,
|
||||
BUTTONS[ hpkey ].label_color, UI4X_COLOR_BUTTON );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue