From 1eb526f71aa5967e010960842dd3f4b49a2e6324 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 14 Apr 2006 13:20:39 +0000 Subject: 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 --- gui/newgui.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gui/newgui.cpp') 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); -- cgit v1.2.3