Rockbox

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

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#12224 - add text draw styles to the skin engine

Attached to Project: Rockbox
Opened by Jonathan Gordon (jdgordon) - Tuesday, 09 August 2011, 14:34 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Monday, 15 August 2011, 08:06 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.9
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

New tag: %Vs(mode, [colour1, colour2, colour3])
sets the viewport text style, mode can be any of:
clear - disable the style so none is used
invert - enable the inverted style (need to make this work with other modes as should be possible)
colour - (also can be spelt color for the yanks), sets the text colour to the colour1 param
gradient - draw a gradient like the list selection, colour1 is the start colour, colour2 is the end colour, colour3 is optional and is the text colour

other modes can be added... have a play.
   skin_text_colors.0.diff (12.1 KiB)
 b/apps/gui/skin_engine/skin_display.c  |   24 +++++-------
 b/apps/gui/skin_engine/skin_display.h  |    6 +--
 b/apps/gui/skin_engine/skin_parser.c   |   63 +++++++++++++++++++++++++++++++++
 b/apps/gui/skin_engine/skin_render.c   |   34 ++++++++++++++---
 b/apps/gui/skin_engine/wps_internals.h |   12 ++++++
 b/lib/skin_parser/tag_table.c          |    1 
 b/lib/skin_parser/tag_table.h          |    2 +
 7 files changed, 119 insertions(+), 23 deletions(-)

This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Monday, 15 August 2011, 08:06 GMT+2
Reason for closing:  Out of Date
Additional comments about closing:  in svn

Loading...