Receive language change message in another screen

This commit is contained in:
shenweip
2013-09-14 11:52:59 +02:00
committed by Henrik Rydgard
parent 9907f4a740
commit 42c5061e18
5 changed files with 15 additions and 1 deletions
+6
View File
@@ -212,6 +212,12 @@ void ControlMappingScreen::CreateViews() {
}
}
void ControlMappingScreen::sendMessage(const char *message, const char *value) {
if (!strcmp(message, "language")) {
screenManager()->RecreateAllViews();
}
}
UI::EventReturn ControlMappingScreen::OnBack(UI::EventParams &e) {
// If we're in-game, return to the game via DR_CANCEL.
if(PSP_IsInited()) {