aboutsummaryrefslogtreecommitdiff
path: root/gui/newgui.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2008-10-29 19:48:15 +0000
committerJohannes Schickel2008-10-29 19:48:15 +0000
commit98b0c4b33cd2a994be2f0756ac5ab1421b223269 (patch)
treeedc2261e62e237a4f9b8e9077d650053d7f248f6 /gui/newgui.cpp
parent08f1e004151ab25f098b1a1de3fda90e00457164 (diff)
downloadscummvm-rg350-98b0c4b33cd2a994be2f0756ac5ab1421b223269.tar.gz
scummvm-rg350-98b0c4b33cd2a994be2f0756ac5ab1421b223269.tar.bz2
scummvm-rg350-98b0c4b33cd2a994be2f0756ac5ab1421b223269.zip
Committed my patch from -devel, which reintroduces DISABLE_FANCY_THEMES to strip functionallity in theme renderer uneeded by small devices.
svn-id: r34864
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r--gui/newgui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index 4aaf65bcab..6f3b2e28fd 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -93,7 +93,11 @@ NewGui::NewGui() : _redrawStatus(kRedrawDisabled),
if (themefile.compareToIgnoreCase("default") == 0)
themefile = "builtin";
+#ifndef DISABLE_FANCY_THEMES
ConfMan.registerDefault("gui_renderer", 2);
+#else
+ ConfMan.registerDefault("gui_renderer", 1);
+#endif
ThemeEngine::GraphicsMode gfxMode = (ThemeEngine::GraphicsMode)ConfMan.getInt("gui_renderer");
loadNewTheme(themefile, gfxMode);