aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Persson2006-02-13 21:02:31 +0000
committerLars Persson2006-02-13 21:02:31 +0000
commitd91b49c15c187cd2cf67492fd31afc16d40eebca (patch)
tree44fc5bd30787886c22a5977909d797b39aa6b2bf
parentd1c341ea617d19b0cd31ce28435179600524481b (diff)
downloadscummvm-rg350-d91b49c15c187cd2cf67492fd31afc16d40eebca.tar.gz
scummvm-rg350-d91b49c15c187cd2cf67492fd31afc16d40eebca.tar.bz2
scummvm-rg350-d91b49c15c187cd2cf67492fd31afc16d40eebca.zip
Added define to disable new theme support.
svn-id: r20676
-rw-r--r--gui/newgui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index 814387fff1..61bed6817e 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -68,13 +68,17 @@ NewGui::NewGui() : _needRedraw(false),
// 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