forked from len0rd/rockbox
Start dealing with LINE elements... setup a flag which lets tags tell the renderer to not start a new line in the viewport (i.e %we/d/i %X/x/xd etc)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26833 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a8c073216d
commit
17c3484325
4 changed files with 37 additions and 11 deletions
|
@ -29,7 +29,7 @@
|
|||
#include "tag_table.h"
|
||||
#include "skin_structs.h"
|
||||
|
||||
int handle_tree(struct skin *skin, struct skin_element* tree);
|
||||
int handle_tree(struct skin *skin, struct skin_element* tree, struct line* line);
|
||||
void skin_render(struct skin_element* root);
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
|
@ -73,7 +73,7 @@ int main(int argc, char* argv[])
|
|||
|
||||
struct skin_element* tree = skin_parse(buffer);
|
||||
struct skin skin;
|
||||
handle_tree(&skin, tree);
|
||||
handle_tree(&skin, tree, NULL);
|
||||
skin_render(tree);
|
||||
|
||||
skin_free_tree(tree);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue