diff options
author | Vicent Marti | 2008-08-13 16:50:50 +0000 |
---|---|---|
committer | Vicent Marti | 2008-08-13 16:50:50 +0000 |
commit | 1d9f98d121e51943b4967cf6188062aae9195af4 (patch) | |
tree | 12d431e7b0832c63507c3129a5954339c2b77980 /gui/theme-config.cpp | |
parent | 0dcfb38d49e60881c5727ff8ec4d806f339ab696 (diff) | |
download | scummvm-rg350-1d9f98d121e51943b4967cf6188062aae9195af4.tar.gz scummvm-rg350-1d9f98d121e51943b4967cf6188062aae9195af4.tar.bz2 scummvm-rg350-1d9f98d121e51943b4967cf6188062aae9195af4.zip |
Massive API cleanup (removed legacy code).
Improved theme loading support.
svn-id: r33832
Diffstat (limited to 'gui/theme-config.cpp')
-rw-r--r-- | gui/theme-config.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gui/theme-config.cpp b/gui/theme-config.cpp index 1f52567e3e..f70696e8d5 100644 --- a/gui/theme-config.cpp +++ b/gui/theme-config.cpp @@ -666,18 +666,6 @@ void Theme::setSpecialAlias(const String &alias, const String &name) { } } -bool Theme::isThemeLoadingRequired() { - int x = g_system->getOverlayWidth(), y = g_system->getOverlayHeight(); - - if (_loadedThemeX == x && _loadedThemeY == y) - return false; - - _loadedThemeX = x; - _loadedThemeY = y; - - return true; -} - bool Theme::sectionIsSkipped(Common::ConfigFile &config, const char *name, int w, int h) { if (!config.hasKey("skipFor", name)) return false; |