Commit graph

8 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
3d13d72c01 Add a 'mod' codec icon to all included WPSs that use bitmaps for it (changed the bmp and the .wps files accordingly). While at it, reduce the few black-and-white graphics in the 'boxes' directory that were not yet 1-bit to mono bitmaps to make them show correctly on the 160x128 colour screens.iCatcher/codec.bmp
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17610 a1c6a512-1295-4272-9138-f99709370657
2008-05-22 21:37:23 +00:00
Marianne Arnold
fcd57603a5 The next included WPS using bitmap strips: 'boxes', including some cleanup, small improvements and adding missing icons. (1) All colour ports now use a backdrop to free space in the image buffer (was really near the limit on e.g. the 320x240 screen). I tried to use the same colours as the already existing 220x176 backdrop. (2) The H300 now uses a viewport instead of the frame bitmap (gets rid of the bmp and better when lines need to scroll). For simplicity it's only one viewport so that the peakmeters are now only at viewport width and the time/date info is a bit off the screen's border though. (3) Complete codec icons (I could reuse the engineer2 ones), the repeat icons and added coloured rating bitmaps. (4) Small tweeks in the virtual led, progressbar and Archos background bitmaps. (5) Correct mime-type for all.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16970 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 21:41:15 +00:00
Marianne Arnold
482a2032e2 Fixes for the boxes.wps. Add missing closing of conditionals that made the Archos (and iriver remotes/iFP) version fail completely and fix the defintion of the progress bar coordinate in the 220x176x16 version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13289 a1c6a512-1295-4272-9138-f99709370657
2007-04-29 23:49:54 +00:00
Nicolas Pennequin
536c5d9e74 RTC tags for the WPS: Accept FS#6998 and FS#7001 by Alexander Levin with changes by me. CUSTOM WPS FILES NEED TO BE UPDATED !
The RTC tags are now atomic, i.e. instead of using one tag with the format (e.g. %cd m yc), we use several separate tags, one for each value (e.g. %cd %cm %cy).
Also, %cP produces an uppercase AM/PM indicator and %cp a lowercase one, which is the opposite from what they did before.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13093 a1c6a512-1295-4272-9138-f99709370657
2007-04-10 13:37:08 +00:00
Michael Sevakis
88278794d5 Had to update some WPS files to make them compatible with the changed audio format order.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11475 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 03:32:19 +00:00
Christi Scarborough
d6af987b4b New improved boxes wps for H3xx. Virtual LED and locks untested as I don't own a H3xx to test on.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9948 a1c6a512-1295-4272-9138-f99709370657
2006-05-16 01:38:00 +00:00
Christi Scarborough
cc9292fda3 Fixes sundry problems with the WPS bundling script. For best results, delete your .rocbox/wps and ./rockbox/themes dirs before upgrading. Note that within CVS, no distinction is made any more between a .wps and .rwps, that's all fixed up at make zip stage. wpses are now all named with a .<width>x<height>x<depth> suffix and the appropriate ones for the platform are installed. Text wpses have a .txt suffix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9907 a1c6a512-1295-4272-9138-f99709370657
2006-05-11 14:27:12 +00:00
Renamed from wps/boxes-220x176c.wps (Browse further)