diff options
author | Max Horn | 2010-09-28 20:31:17 +0000 |
---|---|---|
committer | Max Horn | 2010-09-28 20:31:17 +0000 |
commit | a0c0b934c75bc93f467b9b30f765e31aaf1a1536 (patch) | |
tree | ff27db2cd64a2058018512adaae6bdb14909123a | |
parent | 484bf9c269889f205d7db58e88518e55ea615675 (diff) | |
download | scummvm-rg350-a0c0b934c75bc93f467b9b30f765e31aaf1a1536.tar.gz scummvm-rg350-a0c0b934c75bc93f467b9b30f765e31aaf1a1536.tar.bz2 scummvm-rg350-a0c0b934c75bc93f467b9b30f765e31aaf1a1536.zip |
GUI: Replace GUI_ENABLE_BUILTIN_THEME by DISABLE_GUI_BUILTIN_THEME
svn-id: r52936
-rw-r--r-- | gui/ThemeEngine.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp index 92ecf0346f..3d3aca5c5a 100644 --- a/gui/ThemeEngine.cpp +++ b/gui/ThemeEngine.cpp @@ -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 @@ bool ThemeEngine::loadDefaultXML() { // 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 @@ struct TDComparator { } // 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"; |