Commit graph

6 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
Nicolas Pennequin
7b1e24771c Fix properties on WPS files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17419 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 17:11:04 +00:00
Marianne Arnold
c5c40d1651 Finally convert the two monochrome cabbiev2 WPSs to using bitmap strips. Changed the background image of the Archos version a bit for it and used a blank space for the 'mute' volume bitmap part for consistency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16796 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 13:50:52 +00:00
Marianne Arnold
eae6641bdb Oops, vhanged one thing too many - the m:robe100's monochrome version doesn't use the wps backdrop tag (%X) at all, so revert this change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16745 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 14:30:06 +00:00
Marianne Arnold
48f7d7d057 Cabbiev2 cleanup and a few corrections: (1) Get rid of two completely unused bitmaps. (2) Combine the two bitmaps used as background on the Iriver remote into one, name it consistently and change the .wps file accordingly. (3) Add the missing '0dB' volume image to the greyscale versions, including .wps file changes. Rename those greyscale volume images while at it, so that they are consistent with the rest - the 'vol08' one is now 'vol-9', because it is used for above line level. (4) Use the %X tag correctly, currently there were coordinates specified with it in most .wps files. (5) Set the bitmap's mime-type correctly for conformity.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16742 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 14:17:28 +00:00
Marianne Arnold
29d9ee40f3 Cabbiev2 for the m:robe 100. It seems that just adding the WPS already makes it show as default and no other chaanges were needed (worked in the sim). The default font was already set correctly to helvR10 because this is what all 160x128 screens use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16554 a1c6a512-1295-4272-9138-f99709370657
2008-03-08 12:49:04 +00:00