[Scummvm-cvs-logs] CVS: scummvm/gui ThemeNew.cpp,1.5,1.6 theme.cpp,1.2,1.3

Johannes Schickel lordhoto at users.sourceforge.net
Fri Jan 27 15:15:00 CET 2006


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

Modified Files:
	ThemeNew.cpp theme.cpp 
Log Message:
This should fix bug # 1416862 (new theme: changing overlay size).


Index: ThemeNew.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/ThemeNew.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ThemeNew.cpp	27 Jan 2006 19:04:15 -0000	1.5
+++ ThemeNew.cpp	27 Jan 2006 23:13:51 -0000	1.6
@@ -224,6 +224,8 @@
 }
 
 void ThemeNew::enable() {
+	init();
+	resetDrawArea();
 	_system->showOverlay();
 	clearAll();
 }

Index: theme.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/theme.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- theme.cpp	27 Jan 2006 19:04:15 -0000	1.2
+++ theme.cpp	27 Jan 2006 23:13:51 -0000	1.3
@@ -77,6 +77,8 @@
 }
 
 void ThemeClassic::enable() {
+	init();
+	resetDrawArea();
 	_system->showOverlay();
 	clearAll();
 }





More information about the Scummvm-git-logs mailing list