[Scummvm-cvs-logs] CVS: scummvm/gui about.cpp,1.30,1.31

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Sat Apr 16 09:56:55 CEST 2005


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

Modified Files:
	about.cpp 
Log Message:
Clarified the second comment, and removed the overlap between the two.


Index: about.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/about.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- about.cpp	16 Apr 2005 16:29:11 -0000	1.30
+++ about.cpp	16 Apr 2005 16:56:16 -0000	1.31
@@ -243,8 +243,10 @@
 }
 
 void AboutDialog::handleScreenChanged() {
-	// The screen has changed. Reset the canvas, and issue a full redraw.
-	// Until we have a new canvas, don't draw any credits text.
+	// The screen has changed. That means the overlay colors in the canvas
+	// may no longer be correct. Reset it, and issue a full redraw.
+	// TODO: We could check if the bit format has changed, like we do in
+	// the MPEG player.
 	free(_canvas.pixels);
 	_canvas.pixels = NULL;
 	draw();





More information about the Scummvm-git-logs mailing list