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

tanoku at users.sourceforge.net tanoku at users.sourceforge.net
Fri Mar 27 13:04:43 CET 2009


Revision: 39706
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39706&view=rev
Author:   tanoku
Date:     2009-03-27 12:04:43 +0000 (Fri, 27 Mar 2009)

Log Message:
-----------
Fixed bug where screen wasn't automatically updated when changing theme, unless you moved the mouse.

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

Modified: scummvm/trunk/gui/GuiManager.cpp
===================================================================
--- scummvm/trunk/gui/GuiManager.cpp	2009-03-27 05:57:19 UTC (rev 39705)
+++ scummvm/trunk/gui/GuiManager.cpp	2009-03-27 12:04:43 UTC (rev 39706)
@@ -127,6 +127,10 @@
 	redraw();
 	_system->updateScreen();
 
+	Common::Event event;
+	event.type = Common::EVENT_SCREEN_CHANGED;
+	_system->getEventManager()->pushEvent(event);
+
 	return true;
 }
 


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