1
0
Fork 0
forked from len0rd/rockbox

Committing FS#11345 by JdGordon. Theme editor parser now includes full tag information in the skin_element struct

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26448 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Bieber 2010-06-01 16:44:52 +00:00
parent 2267bd37b2
commit 0a054b288b
6 changed files with 19 additions and 13 deletions

View file

@ -22,6 +22,7 @@
extern "C"
{
#include "symbols.h"
#include "tag_table.h"
}
#include "parsetreenode.h"
@ -140,7 +141,7 @@ QString ParseTreeNode::genCode() const
/* When generating code, we DO NOT insert the leading TAGSYM, leave
* the calling functions to handle that
*/
buffer.append(element->name);
buffer.append(element->tag->name);
if(element->params_count > 0)
{
@ -294,7 +295,7 @@ QVariant ParseTreeNode::data(int column) const
return QString(element->text);
case TAG:
return QString(element->name);
return QString(element->tag->name);
}
}
else if(param)