[Scummvm-cvs-logs] CVS: scummvm/backends/wince/CEgui Panel.cpp,1.4,1.4.2.1

Nicolas Bacca arisme at users.sourceforge.net
Tue Feb 24 13:41:09 CET 2004


Update of /cvsroot/scummvm/scummvm/backends/wince/CEgui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26573

Modified Files:
      Tag: branch-0-6-0
	Panel.cpp 
Log Message:
Fix hide toolbar

Index: Panel.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/Panel.cpp,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- Panel.cpp	5 Feb 2004 00:19:53 -0000	1.4
+++ Panel.cpp	24 Feb 2004 21:25:58 -0000	1.4.2.1
@@ -64,7 +64,7 @@
 	bool Panel::action(int x, int y, bool pushed) {
 		ItemMap::const_iterator iterator;
 		bool result = false;
-		if (!checkInside(x, y))
+		if (!_visible || !checkInside(x, y))
 			return false;
 
 		for (iterator = _itemsMap.begin(); !result && iterator != _itemsMap.end(); ++iterator) 





More information about the Scummvm-git-logs mailing list