[Scummvm-cvs-logs] CVS: scummvm/gui widget.cpp,1.35,1.36

Nicolas Bacca arisme at users.sourceforge.net
Mon Jan 26 20:11:59 CET 2004


Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7508

Modified Files:
	widget.cpp 
Log Message:
Revert old change - proper fix is to avoid playing in portrait mode :)

Index: widget.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/widget.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- widget.cpp	19 Jan 2004 20:34:54 -0000	1.35
+++ widget.cpp	26 Jan 2004 07:37:41 -0000	1.36
@@ -167,12 +167,7 @@
 }
 
 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();
 	}
 }





More information about the Scummvm-git-logs mailing list