commit FS#9027 - conditional viewports
commite0cd2f7021b680089e5db59f77d03dd55f1fbb4f
authorjdgordon <jdgordon@a1c6a512-1295-4272-9138-f99709370657>
Mon, 23 Jun 2008 06:04:17 +0000 (23 06:04 +0000)
committerjdgordon <jdgordon@a1c6a512-1295-4272-9138-f99709370657>
Mon, 23 Jun 2008 06:04:17 +0000 (23 06:04 +0000)
treee6823f6addf964c292383182e1cbb077328c770d
parentd9dd9d81fbd03c3400b43d628c76d7db06376d2f
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
52 files changed:
apps/gui/gwps-common.c
apps/gui/gwps.h
apps/gui/wps_debug.c
apps/gui/wps_parser.c
apps/settings.c
wps/Rockboxed.112x64x1.wps
wps/Rockboxed.128x128x16.wps
wps/Rockboxed.132x80x16.wps
wps/Rockboxed.138x110x2.wps
wps/Rockboxed.160x128x16.wps
wps/Rockboxed.160x128x2.wps
wps/Rockboxed.176x132x16.wps
wps/Rockboxed.176x220x16.wps
wps/Rockboxed.220x176x16.wps
wps/Rockboxed.240x320x16.wps
wps/Rockboxed.320x240x16.wps
wps/UniCatcher.128x96x1.wps
wps/UniCatcher.160x128x16.wps
wps/UniCatcher.160x128x2.wps
wps/UniCatcher.176x132x16.wps
wps/UniCatcher.176x220x16.wps
wps/UniCatcher.220x176x16.wps
wps/UniCatcher.240x320x16.wps
wps/UniCatcher.320x240x16.wps
wps/boxes.220x176x16.wps
wps/cabbiev2.112x64x1.wps
wps/cabbiev2.128x128x16.wps
wps/cabbiev2.128x64x1.wps
wps/cabbiev2.128x96x2.wps
wps/cabbiev2.132x80x16.wps
wps/cabbiev2.138x110x2.wps
wps/cabbiev2.160x128x1.wps
wps/cabbiev2.160x128x16.wps
wps/cabbiev2.160x128x2.wps
wps/cabbiev2.176x132x16.wps
wps/cabbiev2.176x220x16.wps
wps/cabbiev2.220x176x16.wps
wps/cabbiev2.240x320x16.wps
wps/cabbiev2.320x240x16.wps
wps/iCatcher.112x64x1.wps
wps/iCatcher.128x128x16.wps
wps/iCatcher.128x64x1.160x128x2.wps
wps/iCatcher.128x96x1.wps
wps/iCatcher.132x80x16.wps
wps/iCatcher.138x110x2.wps
wps/iCatcher.160x128x16.wps
wps/iCatcher.160x128x2.wps
wps/iCatcher.176x132x16.wps
wps/iCatcher.176x220x16.wps
wps/iCatcher.220x176x16.wps
wps/iCatcher.240x320x16.wps
wps/iCatcher.320x240x16.wps