(Menu/intl) Create MENU_VALUE_BACK
This commit is contained in:
parent
8dbc3ce0b1
commit
45e008d3b0
|
@ -424,7 +424,7 @@ static void glui_frame(void)
|
||||||
title_color, TEXT_ALIGN_CENTER);
|
title_color, TEXT_ALIGN_CENTER);
|
||||||
|
|
||||||
if (menu_entries_show_back())
|
if (menu_entries_show_back())
|
||||||
glui_blit_line(glui->margin, 0, "BACK",
|
glui_blit_line(glui->margin, 0, menu_hash_to_str(MENU_VALUE_BACK),
|
||||||
title_color, TEXT_ALIGN_LEFT);
|
title_color, TEXT_ALIGN_LEFT);
|
||||||
|
|
||||||
glui_render_quad(gl,
|
glui_render_quad(gl,
|
||||||
|
|
|
@ -476,7 +476,8 @@ static void rgui_render(void)
|
||||||
if (menu_entries_show_back())
|
if (menu_entries_show_back())
|
||||||
blit_line(menu,
|
blit_line(menu,
|
||||||
RGUI_TERM_START_X, RGUI_TERM_START_X,
|
RGUI_TERM_START_X, RGUI_TERM_START_X,
|
||||||
"BACK", TITLE_COLOR(settings));
|
menu_hash_to_str(MENU_VALUE_BACK),
|
||||||
|
TITLE_COLOR(settings));
|
||||||
|
|
||||||
blit_line(menu,
|
blit_line(menu,
|
||||||
RGUI_TERM_START_X + (RGUI_TERM_WIDTH - strlen(title_buf)) * FONT_WIDTH_STRIDE / 2,
|
RGUI_TERM_START_X + (RGUI_TERM_WIDTH - strlen(title_buf)) * FONT_WIDTH_STRIDE / 2,
|
||||||
|
|
|
@ -734,6 +734,8 @@ const char *menu_hash_to_str_nl(uint32_t hash)
|
||||||
return "Nee";
|
return "Nee";
|
||||||
case MENU_LABEL_VALUE_SCREEN_RESOLUTION:
|
case MENU_LABEL_VALUE_SCREEN_RESOLUTION:
|
||||||
return "Scherm Resolutie";
|
return "Scherm Resolutie";
|
||||||
|
case MENU_VALUE_BACK:
|
||||||
|
return "TERUG";
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1295,6 +1295,8 @@ const char *menu_hash_to_str_us(uint32_t hash)
|
||||||
return "Yes";
|
return "Yes";
|
||||||
case MENU_LABEL_VALUE_NO:
|
case MENU_LABEL_VALUE_NO:
|
||||||
return "No";
|
return "No";
|
||||||
|
case MENU_VALUE_BACK:
|
||||||
|
return "BACK";
|
||||||
case MENU_LABEL_VALUE_SCREEN_RESOLUTION:
|
case MENU_LABEL_VALUE_SCREEN_RESOLUTION:
|
||||||
return "Screen Resolution";
|
return "Screen Resolution";
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -898,6 +898,8 @@ extern "C" {
|
||||||
#define MENU_LABEL_VALUE_YES 0x957cbc05U
|
#define MENU_LABEL_VALUE_YES 0x957cbc05U
|
||||||
#define MENU_LABEL_VALUE_NO 0x521b0c11U
|
#define MENU_LABEL_VALUE_NO 0x521b0c11U
|
||||||
|
|
||||||
|
#define MENU_VALUE_BACK 0x7c825df6U
|
||||||
|
|
||||||
const char *menu_hash_to_str_de(uint32_t hash);
|
const char *menu_hash_to_str_de(uint32_t hash);
|
||||||
|
|
||||||
const char *menu_hash_to_str_en(uint32_t hash);
|
const char *menu_hash_to_str_en(uint32_t hash);
|
||||||
|
|
Loading…
Reference in New Issue