summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/models/parsetreenode.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-07-02 05:17:57 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-07-02 05:17:57 +0000
commit14caf676424f2c2a5ce44c69d41862660fa71be6 (patch)
tree51d65bd3250fcf0afe55712cb5490ab83933d365 /utils/themeeditor/models/parsetreenode.cpp
parente763eb73b844ee1bffa70aeb6d619dd23345a0ab (diff)
downloadrockbox-14caf676424f2c2a5ce44c69d41862660fa71be6.tar.gz
rockbox-14caf676424f2c2a5ce44c69d41862660fa71be6.tar.bz2
rockbox-14caf676424f2c2a5ce44c69d41862660fa71be6.zip
Theme Editor: Switched the last two parameters of the Vp tag back to their original orientation, made the playlist display the first half with ID3 info, the second half without, as if the list were mid-way through loading
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27234 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/models/parsetreenode.cpp')
-rw-r--r--utils/themeeditor/models/parsetreenode.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp
index f786819b17..08ce703859 100644
--- a/utils/themeeditor/models/parsetreenode.cpp
+++ b/utils/themeeditor/models/parsetreenode.cpp
@@ -518,13 +518,7 @@ void ParseTreeNode::render(const RBRenderInfo &info, RBViewport* viewport,
{
for(int i = 0; i < children.count(); i++)
children[i]->render(info, viewport);
- /* TODO
- * The second element of this if is a temporary hack to allow Vf and Vb
- * tags in a viewport without forcing the first line of text down. A
- * proper solution to this problem needs to be worked out in the parser
- * as soon as possible
- */
- if(!noBreak && element->line != viewport->declarationLine())
+ if(!noBreak)
viewport->newLine();
}
else if(element->type == TEXT)
@@ -787,8 +781,8 @@ bool ParseTreeNode::execTag(const RBRenderInfo& info, RBViewport* viewport)
case 'p':
/* %Vp */
viewport->showPlaylist(info, element->params[0].data.numeric,
- element->params[2].data.code,
- element->params[1].data.code);
+ element->params[1].data.code,
+ element->params[2].data.code);
return true;
case 'I':