diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-08-03 05:47:59 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-08-03 05:47:59 +0000 |
commit | dad9810fe5fe813c4960d8790651a5ad6adf2651 (patch) | |
tree | 4a5377cb3fab8850f76a422bc0cd07be291c19f3 | |
parent | 436ed78b6facdf52136c6ae78bf200c12d5fef42 (diff) | |
download | rockbox-dad9810fe5fe813c4960d8790651a5ad6adf2651.tar.gz 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
-rw-r--r-- | utils/themeeditor/models/parsetreenode.cpp | 2 |
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, | |||
923 | { | 923 | { |
924 | if(!conditional) | 924 | if(!conditional) |
925 | { | 925 | { |
926 | if(QString(element->tag->name) == "Sx") | ||
927 | return element->params[0].data.text; | ||
926 | return info.device()->data(QString(element->tag->name), | 928 | return info.device()->data(QString(element->tag->name), |
927 | element->params_count, element->params); | 929 | element->params_count, element->params); |
928 | } | 930 | } |