aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeNew.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2006-03-07 03:31:31 +0000
committerEugene Sandulenko2006-03-07 03:31:31 +0000
commitebd583333556b2d13b1de280aabce2561ae97c4d (patch)
tree9a6eae89daf49382ee9306cb56c9e221838c40d0 /gui/ThemeNew.cpp
parent4c16b73bd1181f1e7daa5ff206af153ae2ef7b7f (diff)
downloadscummvm-rg350-ebd583333556b2d13b1de280aabce2561ae97c4d.tar.gz
scummvm-rg350-ebd583333556b2d13b1de280aabce2561ae97c4d.tar.bz2
scummvm-rg350-ebd583333556b2d13b1de280aabce2561ae97c4d.zip
WIP for arbitrary widget positions. See
http://wiki.scummvm.org/index.php/GUI_Themes Code is not yet used. svn-id: r21115
Diffstat (limited to 'gui/ThemeNew.cpp')
-rw-r--r--gui/ThemeNew.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp
index e9d0a51c8a..24a31e5454 100644
--- a/gui/ThemeNew.cpp
+++ b/gui/ThemeNew.cpp
@@ -301,6 +301,11 @@ bool ThemeNew::init() {
_font = FontMan.getFontByUsage(Graphics::FontManager::kGUIFont);
}
}
+
+ if (isThemeLoadingRequired()) {
+ loadTheme(_defaultConfig);
+ loadTheme(_configFile, false); // Don't reset
+ }
return true;
}