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:
Dav999
2024-01-03 19:07:28 +01:00
committed by Misa Elizabeth Kai
parent 2003eed2a5
commit 37c4f76988
24 changed files with 69 additions and 0 deletions

View File

@@ -96,6 +96,8 @@ static void sync_lang_file(const std::string& langcode)
pElem->SetText((int) langmeta.toupper_i_dot);
else if (SDL_strcmp(pKey, "toupper_lower_escape_char") == 0)
pElem->SetText((int) langmeta.toupper_lower_escape_char);
else if (SDL_strcmp(pKey, "rtl") == 0)
pElem->SetText((int) langmeta.rtl);
else if (SDL_strcmp(pKey, "menu_select") == 0)
pElem->SetText(langmeta.menu_select.c_str());
else if (SDL_strcmp(pKey, "menu_select_tight") == 0)