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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Tue Sep 28 22:31:17 CEST 2010


Revision: 52936
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52936&view=rev
Author:   fingolfin
Date:     2010-09-28 20:31:17 +0000 (Tue, 28 Sep 2010)

Log Message:
-----------
GUI: Replace GUI_ENABLE_BUILTIN_THEME by DISABLE_GUI_BUILTIN_THEME

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

Modified: scummvm/trunk/gui/ThemeEngine.cpp
===================================================================
--- scummvm/trunk/gui/ThemeEngine.cpp	2010-09-28 20:30:50 UTC (rev 52935)
+++ scummvm/trunk/gui/ThemeEngine.cpp	2010-09-28 20:31:17 UTC (rev 52936)
@@ -44,8 +44,6 @@
 #include "gui/ThemeEval.h"
 #include "gui/ThemeParser.h"
 
-#define GUI_ENABLE_BUILTIN_THEME
-
 namespace GUI {
 
 const char * const ThemeEngine::kImageLogo = "logo.bmp";
@@ -714,7 +712,7 @@
 	// file inside the themes directory.
 	// Use the Python script "makedeftheme.py" to convert a normal XML theme
 	// into the "default.inc" file, which is ready to be included in the code.
-#ifdef GUI_ENABLE_BUILTIN_THEME
+#ifndef DISABLE_GUI_BUILTIN_THEME
 	const char *defaultXML =
 #include "themes/default.inc"
 	;
@@ -1595,7 +1593,7 @@
 } // end of anonymous namespace
 
 void ThemeEngine::listUsableThemes(Common::List<ThemeDescriptor> &list) {
-#ifdef GUI_ENABLE_BUILTIN_THEME
+#ifndef DISABLE_GUI_BUILTIN_THEME
 	ThemeDescriptor th;
 	th.name = "ScummVM Classic Theme (Builtin Version)";
 	th.id = "builtin";


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