mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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
This commit is contained in:
parent
e763eb73b8
commit
14caf67642
4 changed files with 14 additions and 18 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue