summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-08-03 05:47:59 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-08-03 05:47:59 +0000
commitdad9810fe5fe813c4960d8790651a5ad6adf2651 (patch)
tree4a5377cb3fab8850f76a422bc0cd07be291c19f3 /utils/themeeditor
parent436ed78b6facdf52136c6ae78bf200c12d5fef42 (diff)
downloadrockbox-dad9810fe5fe813c4960d8790651a5ad6adf2651.tar.gz
rockbox-dad9810fe5fe813c4960d8790651a5ad6adf2651.tar.bz2
rockbox-dad9810fe5fe813c4960d8790651a5ad6adf2651.zip
Theme Editor: Implemented Sx tag in renderer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27674 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor')
-rw-r--r--utils/themeeditor/models/parsetreenode.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp
index 338f88525b..1349ba9ad6 100644
--- a/utils/themeeditor/models/parsetreenode.cpp
+++ b/utils/themeeditor/models/parsetreenode.cpp
@@ -923,6 +923,8 @@ QVariant ParseTreeNode::evalTag(const RBRenderInfo& info, bool conditional,
{
if(!conditional)
{
+ if(QString(element->tag->name) == "Sx")
+ return element->params[0].data.text;
return info.device()->data(QString(element->tag->name),
element->params_count, element->params);
}