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

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


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

Modified Files:
	about.cpp 
Log Message:
Clarified/corrected my own comment, otherwise I'll probably forget exactly
why this was necessary.


Index: about.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/about.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- about.cpp	16 Apr 2005 13:09:34 -0000	1.29
+++ about.cpp	16 Apr 2005 16:29:11 -0000	1.30
@@ -212,8 +212,11 @@
 
 
 void AboutDialog::handleTickle() {
-	// We're in the process of doing a full redraw. This will be used as
-	// background for the text, so we don't want any text on it.
+	// We're in the process of doing a full redraw to re-create the
+	// background image for the text. That means we need to wait for the
+	// GUI itself to clear the overlay and call drawDialog() in all of the
+	// dialogs, otherwise we'll only redraw this one and it'll still have
+	// the remains of the old image, including the text that was on it.
 	if (!_canvas.pixels)
 		return;
 





More information about the Scummvm-git-logs mailing list