1
0
Fork 0
forked from len0rd/rockbox

skin_engine: New param "noborder" for the bar tags.

By specifying this param the bar will not have a border/box. Instead
the inner part that fills up is maximized on the bar area.

Note that this only affects bars using foreground and background colors,
not those constructed with images.

Change-Id: Ib8dd49ecbaf9e16b96de840f5f365871b73d4fa4
This commit is contained in:
Thomas Martitz 2014-01-12 15:11:46 +01:00
parent 6e882b43b6
commit 3ae73433ab
5 changed files with 38 additions and 12 deletions

View file

@ -30,6 +30,7 @@ enum orientation {
HORIZONTAL = 0x0001, /* Horizontal orientation */
INVERTFILL = 0x0002, /* Invert the fill direction */
INNER_NOFILL = 0x0004, /* Do not fill inner part */
BORDER_NOFILL = 0x0008, /* Do not fill border part */
#ifdef HAVE_LCD_COLOR
FOREGROUND = 0x0020, /* Do not clear background pixels */
INNER_FILL = 0x0040, /* Fill inner part even if FOREGROUND */