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 /gui/themebrowser.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 'gui/themebrowser.cpp')
| -rw-r--r-- | gui/themebrowser.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/gui/themebrowser.cpp b/gui/themebrowser.cpp index b3db9a3405..d20320ad3e 100644 --- a/gui/themebrowser.cpp +++ b/gui/themebrowser.cpp @@ -73,7 +73,7 @@ void ThemeBrowser::handleCommand(CommandSender *sender, uint32 cmd, uint32 data)  			break;  		// TODO:  -		// Currently GuiManager::listUseableThemes uses a +		// Currently ThemeEngine::listUseableThemes uses a  		// list. Thus we can not use operator[] here but  		// need to iterate through the list. We might want  		// to think of changing it, but it should not be @@ -95,7 +95,7 @@ void ThemeBrowser::handleCommand(CommandSender *sender, uint32 cmd, uint32 data)  void ThemeBrowser::updateListing() {  	_themes.clear(); -	GuiManager::listUsableThemes(_themes); +	ThemeEngine::listUsableThemes(_themes);  	Common::StringList list;  	for (ThemeDescList::const_iterator i = _themes.begin(); i != _themes.end(); ++i) | 
