Commit graph

4 commits

Author SHA1 Message Date
Jonathan Gordon
5a169bb717 commit FS#9027 - conditional viewports
** BREAKS CURRENT WPS's  **
* %P has been removed, merged with the new %pb
* %pb is now %pb or %pb|bitmap|x|y|width|height| (any of those params can be - to use sane defaults... check wiki/task for more explaination)

* New %Vl and %Vd tags which are used to setup and display conditionaly displayed viewports (%Vl|<id>|<usual %V params>| to set up, then %Vd<id> to enable the viewport
* bumps the max allowed viewport count to 24
* you can setup 3 different progressbars in a WPS... max of one per viewport though

http://www.rockbox.org/tracker/task/9027?getfile=16785 is a simple perl script to convert old %P/%pb to the new %pb syntax

I'll commit changes to the cabbie wps soon which shows how to use %Vl/%Vd properly...

Reminder: %m will be removed soonish also so when fixing your WPS's remember to use conditional viewports to replace %m


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17759 a1c6a512-1295-4272-9138-f99709370657
2008-06-23 06:04:17 +00:00
Marianne Arnold
eb020fabae 'Rockboxed' theme: while working on the bitmap strips for the bigger colour displays I noticed that they had an image for 'unknown' or broken battery state. Even though it's probably seldom displayed at all, I thought other ports could have it too. Only the small colour ones for now because I had no idea how to 'translate' this style into a mono or greyscale icon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17074 a1c6a512-1295-4272-9138-f99709370657
2008-04-11 18:46:07 +00:00
Marianne Arnold
9074a282a5 Next chapter of 'Bitmap strips for Rockboxed': the greyscale versions and the ports which use 'small colour' icons (c200 and small H10). To get rid of some more bitmaps I put statically loaded bitmaps into the already existing backdrop, but one of these files can't be deleted yet because it's used in other colour version (will be done once this is ready). Also remove the unnecessary coordinates in the backdrop tag and add the missing codecs in the codec conditional. The volume and battery icons are now made of one graphic (part of a strip) for each step of the conditional, the combining of small images made a really confusing wps code and isn't helpfull anymore (I think it was done to reduce the amount of files in the svn directory...). Also rename the sl-* bmps to shuffle-* and the hd-* to lock-* bmps. - Don't forget to clean up your 'Rockboxed' directory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17067 a1c6a512-1295-4272-9138-f99709370657
2008-04-10 23:18:27 +00:00
Marianne Arnold
d648c0d192 One more... Rockboxed for the Sansa c200s by Roan Horning (FS #7855).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14890 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 19:29:10 +00:00