Commit graph

16 commits

Author SHA1 Message Date
Jonathan Gordon
b71dc1f952 fix FS#11384, skinupdater barfed on %Xd and %Vi
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26691 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 14:43:30 +00:00
Jonathan Gordon
57ad6f9b03 change the %Cl tag to be cleaner. it it now %Cl(x, y, width, height [, xalign][, yalign])
d,i,s modifiers are no longer supported (were there for origional compatability) and +,- modifiers are not supported anymore either. 
Legal values for xalign are: l,c,r (left, center, right)
Legal values for xalign are: t,c,b (top, center, bottom) 


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26475 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 09:51:03 +00:00
Jonathan Gordon
bbe6c5a5e2 we need to escape more chars now, so fix that. test skins with this update parse correctly with the themeditor :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26468 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 08:18:47 +00:00
Jonathan Gordon
68f4d91825 add support for the possible viewport colour tags (%Vf and %Vb). use -c to disable them
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26408 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 11:54:52 +00:00
Jonathan Gordon
8e078532c7 and woops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26404 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 02:32:44 +00:00
Jonathan Gordon
d24cc39c75 zip up the output after doing all the skins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26403 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 02:32:24 +00:00
Jonathan Gordon
e8ec20476f make the script zip the output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26373 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 14:00:55 +00:00
Jonathan Gordon
04130c2c7e be smarter about %xd so it only eats 2 letters if that image has subimages
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26371 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 09:35:05 +00:00
Jonathan Gordon
8cd3f8452c fix error when a comment is on the last line of the file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26370 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 09:09:45 +00:00
Jonathan Gordon
bdb6bf5535 Add the beggingings of a perl script to run the update over a whole theme zip file... someoene who knows perl please finish this :D
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26351 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 05:25:48 +00:00
Jonathan Gordon
71cec646e6 dead simple Makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26348 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 03:26:58 +00:00
Jonathan Gordon
9262a83e4f fix %Xl tag... this shuold be useable now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26347 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 03:06:51 +00:00
Jonathan Gordon
20dcf0b523 %aX should have been %ax..
setup the skinupdater to allow options (currently only -m to set mono display because the viewport definition is different on mono).
still not completly working


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26346 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 02:30:27 +00:00
Jonathan Gordon
fc3335584b handle # comments and fix some printfs which should be fprintf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26334 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 15:55:39 +00:00
Jonathan Gordon
4e0f7f6517 make it slightyl more useful.. read in a up to 10Kb file, dump to stdout or outfile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26333 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 15:47:32 +00:00
Jonathan Gordon
e7ef935448 first go at a general skin updater program. not very useful yet
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26332 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 15:35:22 +00:00