Jonathan Gordon
9ac4b44610
SKIN BREAK: %pb, %bl and %pv (bar types) changed so the image is the last param instead of the first. skin updater, skins and manual all updated.
...
NEW PARSER: add an 'N' param type which will accept any number of strings, will cause very big problems if this isnt the last param for a tag.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26727 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 16:15:01 +00:00
Jonathan Gordon
45ed0b86eb
fix %Vp updating...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26722 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 13:30:10 +00:00
Jonathan Gordon
50356d8387
The real reason to change the %C was to remove a very nasty hack!
...
%CL - load the AA
%C - check if AA is avilable
%Cd - display the AA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26696 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 15:09:32 +00:00
Jonathan Gordon
360ed994a3
fix %Vi again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26695 a1c6a512-1295-4272-9138-f99709370657
2010-06-08 14:55:37 +00:00
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
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