diff options
| author | Vicent Marti | 2008-11-10 11:24:55 +0000 | 
|---|---|---|
| committer | Vicent Marti | 2008-11-10 11:24:55 +0000 | 
| commit | b98f89c7f0c6ada45cb33dd650f1502c09fe6aa8 (patch) | |
| tree | e33b48cbfb98bc453f8f1c229649e48b0e3d9d15 /gui/themebrowser.cpp | |
| parent | 631c679e404c895eecd50cdba0c40a16a539106e (diff) | |
| download | scummvm-rg350-b98f89c7f0c6ada45cb33dd650f1502c09fe6aa8.tar.gz scummvm-rg350-b98f89c7f0c6ada45cb33dd650f1502c09fe6aa8.tar.bz2 scummvm-rg350-b98f89c7f0c6ada45cb33dd650f1502c09fe6aa8.zip | |
Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.
Massive cleanup.
svn-id: r34983
Diffstat (limited to 'gui/themebrowser.cpp')
| -rw-r--r-- | gui/themebrowser.cpp | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/gui/themebrowser.cpp b/gui/themebrowser.cpp index 19ac97ada3..d19aa09142 100644 --- a/gui/themebrowser.cpp +++ b/gui/themebrowser.cpp @@ -25,7 +25,8 @@  #include "gui/themebrowser.h"  #include "gui/ListWidget.h"  #include "gui/widget.h" -#include "gui/theme.h" +#include "common/config-manager.h" +  #include "common/fs.h"  #ifdef MACOSX @@ -54,7 +55,7 @@ ThemeBrowser::ThemeBrowser() : Dialog("Browser") {  	_fileList->setNumberingMode(kListNumberingOff);  	_fileList->setEditable(false); -	_backgroundType = GUI::Theme::kDialogBackgroundPlain; +	_backgroundType = GUI::ThemeEngine::kDialogBackgroundPlain;  	// Buttons  	new ButtonWidget(this, "Browser.Cancel", "Cancel", kCloseCmd, 0); @@ -196,7 +197,7 @@ bool ThemeBrowser::isTheme(const Common::FSNode &node, Entry &out) {  		return false;  #endif -	if (!Theme::themeConfigUseable(node, out.name)) +	if (!ThemeEngine::themeConfigUseable(node, out.name))  		return false;  	return true; | 
