diff options
author | Lars Persson | 2006-02-13 21:02:31 +0000 |
---|---|---|
committer | Lars Persson | 2006-02-13 21:02:31 +0000 |
commit | d91b49c15c187cd2cf67492fd31afc16d40eebca (patch) | |
tree | 44fc5bd30787886c22a5977909d797b39aa6b2bf | |
parent | d1c341ea617d19b0cd31ce28435179600524481b (diff) | |
download | scummvm-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.cpp | 4 |
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 |