forked from len0rd/rockbox
Theme Editor: Made Viewport the top level parse tree element, along with a bugfix to the tag parsing function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26442 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
acb524e51a
commit
d1659d69df
7 changed files with 114 additions and 13 deletions
|
@ -91,6 +91,16 @@ void skin_debug_tree(struct skin_element* root)
|
|||
switch(current->type)
|
||||
{
|
||||
|
||||
case VIEWPORT:
|
||||
printf("[ Viewport \n");
|
||||
|
||||
debug_indent_level++;
|
||||
skin_debug_tree(current->children[0]);
|
||||
debug_indent_level--;
|
||||
|
||||
printf("]");
|
||||
break;
|
||||
|
||||
case TEXT:
|
||||
printf("[ Plain text on line %d : %s ]\n", current->line,
|
||||
current->text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue