mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-31 10:14:40 +03:00
Add RTL language property
This doesn't have an effect yet, but it'll do things like right-alignment in textboxes and other design-flipping.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
2003eed2a5
commit
37c4f76988
@@ -67,6 +67,7 @@ static void loadmeta(LangMeta& meta, const std::string& langcode = lang)
|
||||
meta.toupper = true;
|
||||
meta.toupper_i_dot = false;
|
||||
meta.toupper_lower_escape_char = false;
|
||||
meta.rtl = false;
|
||||
meta.menu_select = "[ {label} ]";
|
||||
meta.menu_select_tight = "[{label}]";
|
||||
meta.font_idx = font::get_font_idx_8x8();
|
||||
@@ -107,6 +108,8 @@ static void loadmeta(LangMeta& meta, const std::string& langcode = lang)
|
||||
meta.toupper_i_dot = help.Int(pText);
|
||||
else if (SDL_strcmp(pKey, "toupper_lower_escape_char") == 0)
|
||||
meta.toupper_lower_escape_char = help.Int(pText);
|
||||
else if (SDL_strcmp(pKey, "rtl") == 0)
|
||||
meta.rtl = help.Int(pText);
|
||||
else if (SDL_strcmp(pKey, "menu_select") == 0)
|
||||
meta.menu_select = std::string(pText);
|
||||
else if (SDL_strcmp(pKey, "menu_select_tight") == 0)
|
||||
|
||||
Reference in New Issue
Block a user