diff options
author | Nicolas Bacca | 2004-01-17 23:40:36 +0000 |
---|---|---|
committer | Nicolas Bacca | 2004-01-17 23:40:36 +0000 |
commit | 76298a9cec9d8c3eba02afee32b22c2a67861a2b (patch) | |
tree | 9370fa41d401b7d50a6d049ed3947a9f6efce5d3 /common | |
parent | a2c0980aab5d3495ab7089f2d71501177aa452d4 (diff) | |
download | scummvm-rg350-76298a9cec9d8c3eba02afee32b22c2a67861a2b.tar.gz scummvm-rg350-76298a9cec9d8c3eba02afee32b22c2a67861a2b.tar.bz2 scummvm-rg350-76298a9cec9d8c3eba02afee32b22c2a67861a2b.zip |
Implements TOGGLE_VIRTUAL_KEYBOARD
svn-id: r12459
Diffstat (limited to 'common')
-rw-r--r-- | common/debugger.cpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/common/debugger.cpp b/common/debugger.cpp index 254296103b..03fd28688d 100644 --- a/common/debugger.cpp +++ b/common/debugger.cpp @@ -26,10 +26,6 @@ #include "gui/console.h" #endif -#ifdef _WIN32_WCE -extern void force_keyboard(bool); -#endif - namespace Common { template <class T> @@ -71,9 +67,9 @@ int Debugger<T>::DebugPrintf(const char *format, ...) { template <class T> void Debugger<T>::attach(const char *entry) { -#ifdef _WIN32_WCE - force_keyboard(true); -#endif + OSystem::Property prop; + prop.show_keyboard = true; + g_system->property(OSystem::PROP_TOGGLE_VIRTUAL_KEYBOARD, &prop); if (entry) { _errStr = strdup(entry); @@ -86,9 +82,9 @@ void Debugger<T>::attach(const char *entry) { template <class T> void Debugger<T>::detach() { -#ifdef _WIN32_WCE - force_keyboard(false); -#endif + OSystem::Property prop; + prop.show_keyboard = false; + g_system->property(OSystem::PROP_TOGGLE_VIRTUAL_KEYBOARD, &prop); _detach_now = false; _isAttached = false; |