diff options
author | Johannes Schickel | 2009-01-02 21:24:13 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-01-02 21:24:13 +0000 |
commit | 1d2c446395abe6c8e4bc5639259204701a42b4d9 (patch) | |
tree | 9988951d8c7f9388768574017a7d7be25cc426f5 /base/commandLine.cpp | |
parent | 105d2189124cd7993cf13725fec4d52a4d253586 (diff) | |
download | scummvm-rg350-1d2c446395abe6c8e4bc5639259204701a42b4d9.tar.gz scummvm-rg350-1d2c446395abe6c8e4bc5639259204701a42b4d9.tar.bz2 scummvm-rg350-1d2c446395abe6c8e4bc5639259204701a42b4d9.zip |
- Moved theme listing code from GuiManager to ThemeEngine
- Only show builtin theme in theme list if GUI_ENABLE_BUILTIN_THEME is defined
- Introduced _themeFile to ThemeEngine again and changed _themeId to store the basename of the theme
svn-id: r35684
Diffstat (limited to 'base/commandLine.cpp')
-rw-r--r-- | base/commandLine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/commandLine.cpp b/base/commandLine.cpp index 9cab249adb..da1ca25f58 100644 --- a/base/commandLine.cpp +++ b/base/commandLine.cpp @@ -34,7 +34,7 @@ #include "sound/mididrv.h" -#include "gui/GuiManager.h" +#include "gui/ThemeEngine.h" #define DETECTOR_TESTING_HACK @@ -625,9 +625,9 @@ static void listSaves(const char *target) { /** Lists all usable themes */ static void listThemes() { - typedef Common::List<GUI::GuiManager::ThemeDescriptor> ThList; + typedef Common::List<GUI::ThemeEngine::ThemeDescriptor> ThList; ThList thList; - GUI::GuiManager::listUsableThemes(thList); + GUI::ThemeEngine::listUsableThemes(thList); printf("Theme Description\n"); printf("-------------- ------------------------------------------------\n"); |