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:
The Dax committed 2013-11-03 19:21:53 -05:00
1 parent e2e74e81d6
commit 728101aebb
9 files changed
+65 -95

No files matched your search

+1 -1
View File
@@ -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();
}