diff options
author | Vicent Marti | 2008-08-13 23:07:26 +0000 |
---|---|---|
committer | Vicent Marti | 2008-08-13 23:07:26 +0000 |
commit | c4f2a691ce3feed23b28ba8b657e94baa9d2301b (patch) | |
tree | 4a1212087e6bccc2bf02e5a34cd1cac2b5265eb8 /gui/theme.h | |
parent | 80e059f2bb61f58e02d44d9dd125d23627d38b83 (diff) | |
download | scummvm-rg350-c4f2a691ce3feed23b28ba8b657e94baa9d2301b.tar.gz scummvm-rg350-c4f2a691ce3feed23b28ba8b657e94baa9d2301b.tar.bz2 scummvm-rg350-c4f2a691ce3feed23b28ba8b657e94baa9d2301b.zip |
Finished theme loading support.
Added "themerc" file to default theme.
svn-id: r33851
Diffstat (limited to 'gui/theme.h')
-rw-r--r-- | gui/theme.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/theme.h b/gui/theme.h index 72495b3a22..4c1ab2e195 100644 --- a/gui/theme.h +++ b/gui/theme.h @@ -35,6 +35,7 @@ #include "graphics/fontman.h" #define THEME_VERSION 23 +#define SCUMMVM_THEME_VERSION_STR "SCUMMVM_THEME_V23" namespace GUI { @@ -304,7 +305,8 @@ public: bool isThemeLoadingRequired(); virtual ThemeEval *evaluator() = 0; - static bool themeConfigUseable(const Common::String &file); + static bool themeConfigUseable(const Common::String &file, Common::String &themeName); + static bool themeConfigParseHeader(Common::String header, Common::String &themeName); virtual const Common::String &getThemeFileName() const = 0; virtual const Common::String &getThemeName() const = 0; |