aboutsummaryrefslogtreecommitdiff
path: root/gui/newgui.cpp
diff options
context:
space:
mode:
authorMax Horn2006-04-14 13:20:39 +0000
committerMax Horn2006-04-14 13:20:39 +0000
commit1eb526f71aa5967e010960842dd3f4b49a2e6324 (patch)
tree06ef4ec25939ec75c877e088af9be943f5e094aa /gui/newgui.cpp
parent7a74eeda082ab0a842976194aadee85843cfa8fb (diff)
downloadscummvm-rg350-1eb526f71aa5967e010960842dd3f4b49a2e6324.tar.gz
scummvm-rg350-1eb526f71aa5967e010960842dd3f4b49a2e6324.tar.bz2
scummvm-rg350-1eb526f71aa5967e010960842dd3f4b49a2e6324.zip
Instead of calling our main them 'default-theme', call it 'modern' and reserve the gui theme name 'default' to indicate, well, the *default* theme, whatever that is
svn-id: r21887
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r--gui/newgui.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index 881b12766e..ea43be07b1 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -96,8 +96,12 @@ NewGui::NewGui() : _needRedraw(false),
_currentKeyDown.keycode = 0;
#ifndef DISABLE_FANCY_THEMES
- ConfMan.registerDefault("gui_theme", "default-theme");
+ ConfMan.registerDefault("gui_theme", "default");
Common::String style = ConfMan.get("gui_theme");
+ // The default theme for now is the 'modern' theme.
+ if (scumm_stricmp(style.c_str(), "default") == 0)
+ style = "modern";
+
if (scumm_stricmp(style.c_str(), "classic") == 0) {
#endif
_theme = new ThemeClassic(_system);