FS#11084 - Custom variables for WPS
Opened by Jens Theeß (punkt) - Sunday, 07 March 2010, 18:07 GMT
Last edited by Jonathan Gordon (jdgordon) - Sunday, 27 March 2011, 08:02 GMT
This patch adds support for custom variables for the wps. This could be used e.g. to toggle between album art, playlist info and song info.
New tags are:
* %vd|identifier|number of states|
Defines a variable. The value is a number between 0 and number-of-states -1.
Displays the content of the variable, can be used as a conditional.
* New action for %T: vt'identifier'
Toggles (increases) the variable with the given identifier. If the maximum state for the variable is reached, it is reset to 0.
Currently a variable can only be changed using a touch-region.
Related forum topic: http://forums.rockbox.org/index.php?topic=23083.0
Patch for the manual will follow if there are no objections to this patch.
Attached is a theme used for testing the patch on the Cowon D2.
Sunday, 27 March 2011, 08:02 GMT
Reason for closing: Accepted
Additional comments about closing: sort of accepted in r29655