diff options
| author | Marcus Comstedt | 2005-10-15 15:46:12 +0000 |
|---|---|---|
| committer | Marcus Comstedt | 2005-10-15 15:46:12 +0000 |
| commit | ee1553995291e645b846aec1b301a7130527c2a2 (patch) | |
| tree | cef289969b1b16a3286fc152d52779943bfa832c /sword1/control.cpp | |
| parent | 1ee05972af8dd0d14bb6eedb713ce9b6adf5a1c4 (diff) | |
| download | scummvm-rg350-ee1553995291e645b846aec1b301a7130527c2a2.tar.gz scummvm-rg350-ee1553995291e645b846aec1b301a7130527c2a2.tar.bz2 scummvm-rg350-ee1553995291e645b846aec1b301a7130527c2a2.zip | |
Try do display the virtual keyboard only when a string input widget has focus.
svn-id: r19102
Diffstat (limited to 'sword1/control.cpp')
| -rw-r--r-- | sword1/control.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sword1/control.cpp b/sword1/control.cpp index 6cb75e8222..0beda6890f 100644 --- a/sword1/control.cpp +++ b/sword1/control.cpp @@ -276,10 +276,10 @@ uint8 Control::runPanel(void) { break; case BUTTON_SAVE_PANEL: if (fullRefresh) { - _system->setFeatureState(OSystem::kFeatureVirtualKeyboard, true); setupSaveRestorePanel(true); } if (_selectedSavegame < 255) { + _system->setFeatureState(OSystem::kFeatureVirtualKeyboard, true); bool visible = _cursorVisible; if (_cursorTick == 0) _cursorVisible = true; @@ -291,6 +291,8 @@ uint8 Control::runPanel(void) { showSavegameNames(); if (++_cursorTick > 5) _cursorTick = 0; + } else { + _system->setFeatureState(OSystem::kFeatureVirtualKeyboard, false); } break; case BUTTON_RESTORE_PANEL: |
