[Scummvm-cvs-logs] SF.net SVN: scummvm:[46879] scummvm/trunk/engines/saga/saveload.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Sat Jan 2 12:03:12 CET 2010


Revision: 46879
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46879&view=rev
Author:   sev
Date:     2010-01-02 11:03:12 +0000 (Sat, 02 Jan 2010)

Log Message:
-----------
Implement FR #2827944: "SAGA: Hide in-game GUI on thumbnails"

Modified Paths:
--------------
    scummvm/trunk/engines/saga/saveload.cpp

Modified: scummvm/trunk/engines/saga/saveload.cpp
===================================================================
--- scummvm/trunk/engines/saga/saveload.cpp	2010-01-02 09:39:17 UTC (rev 46878)
+++ scummvm/trunk/engines/saga/saveload.cpp	2010-01-02 11:03:12 UTC (rev 46879)
@@ -194,8 +194,15 @@
 	out->write(title, TITLESIZE);
 
 	// Thumbnail
+	// First draw scene without save dialog
+	int oldMode = _interface->getMode();
+	_interface->setMode(kPanelMain);
+	_render->drawScene();
+
 	Graphics::saveThumbnail(*out);
 
+	_interface->setMode(oldMode);
+
 	// Date / time
 	TimeDate curTime;
 	_system->getTimeAndDate(curTime);


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