Commit graph

13 commits

Author SHA1 Message Date
Jonathan Gordon
2309d6d1e1 change to %Cd to display albumart (instead of %C to make it more consistant with %Vd/%Vl and %xd/%xl)
Also assume ; in skins are for sublines.. this means if you want ; in text you need to manually escape it (%;) far less false positives then


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26693 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 14:52:03 +00:00
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
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
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