aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeEngine.cpp
diff options
context:
space:
mode:
authorMax Horn2009-06-28 19:57:27 +0000
committerMax Horn2009-06-28 19:57:27 +0000
commita882a6f46779768f15d38e350781785d975e5007 (patch)
tree84a9524aa63cc8bfbf5cae69c4312ca778ce4bbb /gui/ThemeEngine.cpp
parent531e7a8c78d1374e1a5aba606339fd8155eb3dee (diff)
downloadscummvm-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.cpp2
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;