diff options
author | Max Horn | 2009-06-28 19:57:27 +0000 |
---|---|---|
committer | Max Horn | 2009-06-28 19:57:27 +0000 |
commit | a882a6f46779768f15d38e350781785d975e5007 (patch) | |
tree | 84a9524aa63cc8bfbf5cae69c4312ca778ce4bbb /gui/ThemeEngine.cpp | |
parent | 531e7a8c78d1374e1a5aba606339fd8155eb3dee (diff) | |
download | scummvm-rg350-a882a6f46779768f15d38e350781785d975e5007.tar.gz scummvm-rg350-a882a6f46779768f15d38e350781785d975e5007.tar.bz2 scummvm-rg350-a882a6f46779768f15d38e350781785d975e5007.zip |
GUI: Replaced ThemeParser::_drawFunction hashmap by a static function getDrawingFunctionCallback which maps strings to draw funcs
svn-id: r41931
Diffstat (limited to 'gui/ThemeEngine.cpp')
-rw-r--r-- | gui/ThemeEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp index 4628ec436b..166b11afe3 100644 --- a/gui/ThemeEngine.cpp +++ b/gui/ThemeEngine.cpp @@ -1447,7 +1447,7 @@ void ThemeEngine::listUsableThemes(Common::List<ThemeDescriptor> &list) { output.clear(); } -void ThemeEngine::listUsableThemes(Common::FSNode node, Common::List<ThemeDescriptor> &list, int depth) { +void ThemeEngine::listUsableThemes(const Common::FSNode &node, Common::List<ThemeDescriptor> &list, int depth) { if (!node.exists() || !node.isReadable() || !node.isDirectory()) return; |