Bertrik Sikken
5565a28c7d
Remove some redundant #include's
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27183 a1c6a512-1295-4272-9138-f99709370657
2010-06-29 20:13:22 +00:00
Jonathan Gordon
2e75dae5d6
dont reuse vairbale names
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26845 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 11:30:00 +00:00
Jonathan Gordon
b49577b381
some tags need special handling when they are in the wrong branch of a conditional, so go ahead and make that work :p
...
also replace malloc with skin_alloc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26842 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 10:00:22 +00:00
Jonathan Gordon
3f5851f41f
make the next line after a viewport (if it is on the same skin line) auto-eat the \n
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26837 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 01:08:39 +00:00
Jonathan Gordon
dfce357474
duh, this is needed also
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26834 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 14:42:47 +00:00
Jonathan Gordon
17c3484325
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
2010-06-13 14:42:09 +00:00
Jonathan Gordon
21cbdac55f
get the renderer working more better! "handle" sublines correctly, dont "draw" in the first viewport if we are using viewports, get rid of the idea of a linear token array (i.e we are going to use the parse tree directly)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26831 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 13:54:34 +00:00
Jonathan Gordon
3f06273e7c
count line numbers correctly, handle the VIEWPORT change so it only ever has one child
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26824 a1c6a512-1295-4272-9138-f99709370657
2010-06-13 02:27:13 +00:00
Jonathan Gordon
b4a9564790
Add my new parser playground to svn.
...
Currently it can load a skin, and walk the parse tree and output the tags as required. It always chooses the first value for a conditional and subline, but a good working start
there seems to be a error in the new parser if ROCKBOX is defined... need to fix that
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26757 a1c6a512-1295-4272-9138-f99709370657
2010-06-11 04:47:46 +00:00