aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorNicolas Bacca2004-01-26 07:37:41 +0000
committerNicolas Bacca2004-01-26 07:37:41 +0000
commit1cbefa8e21e386a28386a9cd4e67ede115e3815b (patch)
tree9159dbc649ee4825dc123d85c09aa401c4767dc2 /gui
parent387860213ea987ee192cdac3fc1b1d1a91057ceb (diff)
downloadscummvm-rg350-1cbefa8e21e386a28386a9cd4e67ede115e3815b.tar.gz
scummvm-rg350-1cbefa8e21e386a28386a9cd4e67ede115e3815b.tar.bz2
scummvm-rg350-1cbefa8e21e386a28386a9cd4e67ede115e3815b.zip
Revert old change - proper fix is to avoid playing in portrait mode :)
svn-id: r12605
Diffstat (limited to 'gui')
-rw-r--r--gui/widget.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp
index 45f725a48f..6c7f2f91f6 100644
--- a/gui/widget.cpp
+++ b/gui/widget.cpp
@@ -167,12 +167,7 @@ CheckboxWidget::CheckboxWidget(GuiObject *boss, int x, int y, int w, int h, cons
}
void CheckboxWidget::handleMouseUp(int x, int y, int button, int clickCount) {
-#ifndef _WIN32_WCE
if (isEnabled() && x >= 0 && x < _w && y >= 0 && y < _h) {
-#else
- // Limit the active zone on the checkbox for stylus users
- if (isEnabled() && x >= 0 && x < 14 && y >= 0 && y < 14) {
-#endif
toggleState();
}
}