diff options
author | Vicent Marti | 2008-07-03 10:26:55 +0000 |
---|---|---|
committer | Vicent Marti | 2008-07-03 10:26:55 +0000 |
commit | 48fd843e759ab3a8a23ba2be902a8a815a41e8f8 (patch) | |
tree | eeebd2d5368071bc596347736dfeb4e59cbf6b21 /gui/newgui.cpp | |
parent | 8dbec866d6350c044297e16aa8ede432a3bd174b (diff) | |
download | scummvm-rg350-48fd843e759ab3a8a23ba2be902a8a815a41e8f8.tar.gz scummvm-rg350-48fd843e759ab3a8a23ba2be902a8a815a41e8f8.tar.bz2 scummvm-rg350-48fd843e759ab3a8a23ba2be902a8a815a41e8f8.zip |
Rendering pipeline. WIP.
svn-id: r32882
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r-- | gui/newgui.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp index 0bf61d084f..4d0b3905b9 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -31,6 +31,7 @@ #include "gui/eval.h" #include "gui/ThemeModern.h" #include "gui/ThemeClassic.h" +#include "gui/ThemeRenderer.h" #include "common/config-manager.h" @@ -142,7 +143,7 @@ bool NewGui::loadNewTheme(const Common::String &style) { delete _theme; _theme = 0; - if (style.compareToIgnoreCase("classic (builtin)") == 0 || +/* if (style.compareToIgnoreCase("classic (builtin)") == 0 || style.compareToIgnoreCase("classic") == 0) { _theme = new ThemeClassic(_system, style); } else { @@ -159,7 +160,9 @@ bool NewGui::loadNewTheme(const Common::String &style) { warning("Config '%s' is NOT usable for themes or not found", style.c_str()); } } - cfg.clear(); + cfg.clear(); */ + + _theme = new ThemeRenderer(style, GUI::ThemeRenderer::kGfxAntialias16bit); if (!_theme) return (!oldTheme.empty() ? loadNewTheme(oldTheme) : false); |