aboutsummaryrefslogtreecommitdiff
path: root/backends/events/wincesdl/wincesdl-events.cpp
diff options
context:
space:
mode:
authorCeRiAl2011-06-27 02:00:33 +0200
committerCeRiAl2011-06-27 02:22:24 +0200
commit0a9b9fe08f3b5fa8f9a505887fccd88b42f7f1b9 (patch)
tree2af39db9644fa802f700fb0eca5f52d5e96ed16b /backends/events/wincesdl/wincesdl-events.cpp
parent7983b1cce3fb5831f7437ea689b951ac7cd9c5a3 (diff)
downloadscummvm-rg350-0a9b9fe08f3b5fa8f9a505887fccd88b42f7f1b9.tar.gz
scummvm-rg350-0a9b9fe08f3b5fa8f9a505887fccd88b42f7f1b9.tar.bz2
scummvm-rg350-0a9b9fe08f3b5fa8f9a505887fccd88b42f7f1b9.zip
WINCE: Added option to disable panel toggling with double tap on top of screen
Diffstat (limited to 'backends/events/wincesdl/wincesdl-events.cpp')
-rw-r--r--backends/events/wincesdl/wincesdl-events.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/events/wincesdl/wincesdl-events.cpp b/backends/events/wincesdl/wincesdl-events.cpp
index 4fab47a58e..1116cbbb8d 100644
--- a/backends/events/wincesdl/wincesdl-events.cpp
+++ b/backends/events/wincesdl/wincesdl-events.cpp
@@ -183,7 +183,8 @@ bool WINCESdlEventSource::pollEvent(Common::Event &event) {
if (_tapTime) { // second tap
if (_closeClick && (GetTickCount() - _tapTime < 1000)) {
if (event.mouse.y <= 20 &&
- _graphicsMan->_panelInitialized) {
+ _graphicsMan->_panelInitialized &&
+ !_graphicsMan->_noDoubleTapPT) {
// top of screen (show panel)
_graphicsMan->swap_panel_visibility();
} else if (!_graphicsMan->_noDoubleTapRMB) {