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 2013-11-02 20:24:19 -04:00
parent e2e74e81d6
commit 728101aebb
9 changed files with 65 additions and 95 deletions

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();
}