From 1d9f98d121e51943b4967cf6188062aae9195af4 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Wed, 13 Aug 2008 16:50:50 +0000 Subject: Massive API cleanup (removed legacy code). Improved theme loading support. svn-id: r33832 --- gui/theme-config.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'gui/theme-config.cpp') 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; -- cgit v1.2.3