diff options
author | Max Horn | 2004-02-24 22:39:42 +0000 |
---|---|---|
committer | Max Horn | 2004-02-24 22:39:42 +0000 |
commit | d158280425efac5f4ec72e00fb2b7389cdfb5a75 (patch) | |
tree | f1bdab69e381b2a28320fdeb30936482565e5099 /sky/control.cpp | |
parent | 70f910cbe19e9c7320a56fa48669f7a5e9df00e6 (diff) | |
download | scummvm-rg350-d158280425efac5f4ec72e00fb2b7389cdfb5a75.tar.gz scummvm-rg350-d158280425efac5f4ec72e00fb2b7389cdfb5a75.tar.bz2 scummvm-rg350-d158280425efac5f4ec72e00fb2b7389cdfb5a75.zip |
the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
svn-id: r13036
Diffstat (limited to 'sky/control.cpp')
-rw-r--r-- | sky/control.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sky/control.cpp b/sky/control.cpp index dbeff2c5e5..61def9a1ce 100644 --- a/sky/control.cpp +++ b/sky/control.cpp @@ -803,11 +803,9 @@ uint16 Control::saveRestorePanel(bool allowSave) { uint16 cnt; uint8 lookListLen; if (allowSave) { - OSystem::Property prop; lookList = _savePanLookList; lookListLen = 6; - prop.show_keyboard = true; - _system->property(OSystem::PROP_TOGGLE_VIRTUAL_KEYBOARD, &prop); + _system->setFeatureState(OSystem::kFeatureVirtualKeyboard, true); } else { lookList = _restorePanLookList; if (autoSaveExists()) @@ -915,9 +913,7 @@ uint16 Control::saveRestorePanel(bool allowSave) { free(saveGameTexts); if (allowSave) { - OSystem::Property prop; - prop.show_keyboard = false; - _system->property(OSystem::PROP_TOGGLE_VIRTUAL_KEYBOARD, &prop); + _system->setFeatureState(OSystem::kFeatureVirtualKeyboard, false); } return clickRes; |