diff options
author | Kostas Nakos | 2008-01-10 22:04:00 +0000 |
---|---|---|
committer | Kostas Nakos | 2008-01-10 22:04:00 +0000 |
commit | 1f6237567eb0025f1412cf6ab5d6ac65d4a390ff (patch) | |
tree | cef894d3a6579bae46a365384b3bc5398e3b30b6 | |
parent | b14da0b02c67a7d1d64a0e9ab46f0af0bdc9ae35 (diff) | |
download | scummvm-rg350-1f6237567eb0025f1412cf6ab5d6ac65d4a390ff.tar.gz scummvm-rg350-1f6237567eb0025f1412cf6ab5d6ac65d4a390ff.tar.bz2 scummvm-rg350-1f6237567eb0025f1412cf6ab5d6ac65d4a390ff.zip |
add virtual keyboard show/hide calls
svn-id: r30388
-rw-r--r-- | engines/touche/menu.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/touche/menu.cpp b/engines/touche/menu.cpp index 2dacab4132..6d2d90a572 100644 --- a/engines/touche/menu.cpp +++ b/engines/touche/menu.cpp @@ -286,6 +286,7 @@ void ToucheEngine::handleMenuAction(void *menu, int actionId) { menuData->mode = kMenuLoadStateMode; break; case kActionSaveMenu: + _system->setFeatureState(OSystem::kFeatureVirtualKeyboard, true); menuData->mode = kMenuSaveStateMode; break; case kActionRestartGame: @@ -334,6 +335,7 @@ void ToucheEngine::handleMenuAction(void *menu, int actionId) { menuData->quit = true; } } else if (menuData->mode == kMenuSaveStateMode) { + _system->setFeatureState(OSystem::kFeatureVirtualKeyboard, false); const char *description = menuData->saveLoadDescriptionsTable[_saveLoadCurrentSlot]; if (strlen(description) > 0) { if (saveGameState(_saveLoadCurrentSlot, description)) { @@ -343,6 +345,7 @@ void ToucheEngine::handleMenuAction(void *menu, int actionId) { } break; case kActionCancelSaveLoad: + _system->setFeatureState(OSystem::kFeatureVirtualKeyboard, false); menuData->mode = kMenuSettingsMode; break; default: @@ -545,6 +548,7 @@ void ToucheEngine::clearStatusString() { int ToucheEngine::displayQuitDialog() { debug(kDebugMenu, "ToucheEngine::displayQuitDialog()"); + _system->setFeatureState(OSystem::kFeatureVirtualKeyboard, true); printStatusString(getString(-85)); int ret = 0; bool quitLoop = false; @@ -596,6 +600,7 @@ int ToucheEngine::displayQuitDialog() { _system->updateScreen(); } clearStatusString(); + _system->setFeatureState(OSystem::kFeatureVirtualKeyboard, false); return ret; } |