Revise how the language system works.
On Win32, the Language menubar is eliminated in favour of displaying a NewLanguageScreen on screens that are of type UIDialogScreenWithBackground/UIScreenWithBackground; UIScreen inheriting screens (e.g. GamePauseScreen) still require manual additions.
This commit is contained in:
parent
e2e74e81d6
commit
728101aebb
9 changed files with 65 additions and 95 deletions
|
@ -435,7 +435,7 @@ UI::EventReturn GameSettingsScreen::OnLanguage(UI::EventParams &e) {
|
|||
|
||||
UI::EventReturn GameSettingsScreen::OnLanguageChange(UI::EventParams &e) {
|
||||
RecreateViews();
|
||||
OnLanguageChanged.Trigger(e);
|
||||
|
||||
if (host) {
|
||||
host->UpdateUI();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue