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

anotherguest at users.sourceforge.net anotherguest at users.sourceforge.net
Mon Feb 13 13:04:02 CET 2006


Revision: 20676
Author:   anotherguest
Date:     2006-02-13 13:02:31 -0800 (Mon, 13 Feb 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm?rev=20676&view=rev

Log Message:
-----------
Added define to disable new theme support.

Modified Paths:
--------------
    scummvm/trunk/gui/newgui.cpp
Modified: scummvm/trunk/gui/newgui.cpp
===================================================================
--- scummvm/trunk/gui/newgui.cpp	2006-02-13 20:58:39 UTC (rev 20675)
+++ scummvm/trunk/gui/newgui.cpp	2006-02-13 21:02:31 UTC (rev 20676)
@@ -68,13 +68,17 @@
 	// Reset key repeat
 	_currentKeyDown.keycode = 0;
 
+#ifndef DISABLE_FANCY_THEMES
 	ConfMan.registerDefault("gui_theme", "default-theme");
 	Common::String style = ConfMan.get("gui_theme");
 	if (scumm_stricmp(style.c_str(), "classic") == 0) {
+#endif
 		_theme = new ThemeClassic(_system);
+#ifndef DISABLE_FANCY_THEMES
 	} else {
 		_theme = new ThemeNew(_system, style.c_str());
 	}
+#endif
 	assert(_theme);
 
 	// Init the theme







More information about the Scummvm-git-logs mailing list