[Scummvm-cvs-logs] SF.net SVN: scummvm:[38520] scummvm/trunk/gui/widget.cpp

tanoku at users.sourceforge.net tanoku at users.sourceforge.net
Thu Feb 19 01:17:09 CET 2009


Revision: 38520
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38520&view=rev
Author:   tanoku
Date:     2009-02-19 00:17:08 +0000 (Thu, 19 Feb 2009)

Log Message:
-----------
Last minute fix (enabling/disabling widgets mid-frame).

Modified Paths:
--------------
    scummvm/trunk/gui/widget.cpp

Modified: scummvm/trunk/gui/widget.cpp
===================================================================
--- scummvm/trunk/gui/widget.cpp	2009-02-19 00:11:56 UTC (rev 38519)
+++ scummvm/trunk/gui/widget.cpp	2009-02-19 00:17:08 UTC (rev 38520)
@@ -150,6 +150,8 @@
 		setFlags(WIDGET_ENABLED);
 	else
 		clearFlags(WIDGET_ENABLED);
+
+	_boss->draw();
 }
 
 bool Widget::isEnabled() const {
@@ -164,6 +166,8 @@
 		clearFlags(WIDGET_INVISIBLE);
 	else
 		setFlags(WIDGET_INVISIBLE);
+
+	_boss->draw();
 }
 
 bool Widget::isVisible() const {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list