aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorNicolas Bacca2004-01-26 07:42:58 +0000
committerNicolas Bacca2004-01-26 07:42:58 +0000
commit9b09669143a2fef7fca7b655348b58bc7610ebaa (patch)
tree372dbb21b9be0652a8910f6895eef94593cbca90 /simon
parent5606ec3f45e435e8effb3b34295db2fd9f37d090 (diff)
downloadscummvm-rg350-9b09669143a2fef7fca7b655348b58bc7610ebaa.tar.gz
scummvm-rg350-9b09669143a2fef7fca7b655348b58bc7610ebaa.tar.bz2
scummvm-rg350-9b09669143a2fef7fca7b655348b58bc7610ebaa.zip
One forgotten PROP_TOGGLE_VIRTUAL_KEYBOARD
svn-id: r12609
Diffstat (limited to 'simon')
-rw-r--r--simon/simon.cpp16
1 files changed, 3 insertions, 13 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 880230b855..1826365540 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -46,11 +46,6 @@
#include "globals.h"
#endif
-#ifdef _WIN32_WCE
-extern bool toolbar_drawn;
-extern bool draw_keyboard;
-#endif
-
extern uint16 g_debugLevel;
struct SimonGameSettings {
@@ -2894,14 +2889,9 @@ get_out:;
delay(10);
} while (i == _timer_4);
-#ifdef _WIN32_WCE
-
- if (draw_keyboard) {
- draw_keyboard = false;
- toolbar_drawn = false;
- }
-
-#endif
+ OSystem::Property prop;
+ prop.show_keyboard = false;
+ g_system->property(OSystem::PROP_TOGGLE_VIRTUAL_KEYBOARD, &prop);
}
void SimonEngine::o_file_error(FillOrCopyStruct *fcs, bool save_error) {