Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#11998 - skin variables

Attached to Project: Rockbox
Opened by Jonathan Gordon (jdgordon) - Tuesday, 08 March 2011, 12:46 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Sunday, 27 March 2011, 10:02 GMT+2
Task Type Patches
Category Themes
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Release 3.8
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

adds skin variables to the syntax.

%vs(label, set|inc|dec, value, [max]) - set the variable
%vg(label) - get the current value
%vl(label, [timeout]) - has it been "timeout" since the value last changed

Origional idea/implementation in  FS#11084 
   skin_vars.patch (11.6 KiB)
 b/apps/gui/skin_engine/skin_parser.c   |  100 +++++++++++++++++++++++++++++++--
 b/apps/gui/skin_engine/skin_render.c   |   17 +++++
 b/apps/gui/skin_engine/skin_tokens.c   |   21 ++++++
 b/apps/gui/skin_engine/wps_internals.h |   40 +++++++++----
 b/lib/skin_parser/tag_table.c          |    5 +
 b/lib/skin_parser/tag_table.h          |    4 +
 6 files changed, 172 insertions(+), 15 deletions(-)

This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Sunday, 27 March 2011, 10:02 GMT+2
Reason for closing:  Accepted
Additional comments about closing:  r29655

Loading...