diff options
author | Kostas Nakos | 2007-06-03 18:44:03 +0000 |
---|---|---|
committer | Kostas Nakos | 2007-06-03 18:44:03 +0000 |
commit | 5df28554acb998b7df686122bb26cb897e40e075 (patch) | |
tree | dc7fed374aa6ea9161a56c92bf78a2f8aacd0245 /engines/agi | |
parent | cd6f145577453c8025b9b4cb2b062fe80d5034f7 (diff) | |
download | scummvm-rg350-5df28554acb998b7df686122bb26cb897e40e075.tar.gz scummvm-rg350-5df28554acb998b7df686122bb26cb897e40e075.tar.bz2 scummvm-rg350-5df28554acb998b7df686122bb26cb897e40e075.zip |
Adding the new kFeatureDisableKeyFiltering OSystem feature.
This feature is used by agi's prediction dialog and is a hint to the backend
to temporarily switch off any keyboard mapping, used in devices with limited
keyboard input. Also, supply some comments to the newly added event & feature.
svn-id: r27069
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/predictive.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/agi/predictive.cpp b/engines/agi/predictive.cpp index e3f38463ac..230c15de58 100644 --- a/engines/agi/predictive.cpp +++ b/engines/agi/predictive.cpp @@ -120,6 +120,7 @@ bool AgiEngine::predictiveDialog(void) { AgiBlock tmpwindow; _predictiveDialogRunning = true; + _system->setFeatureState(OSystem::kFeatureDisableKeyFiltering, true); // FIXME: Move this to a more appropriate place. initAsciiToNumTable(); @@ -405,6 +406,7 @@ processkey: _gfx->doUpdate(); } + _system->setFeatureState(OSystem::kFeatureDisableKeyFiltering, false); _predictiveDialogRunning = false; return rc; |