mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-20 10:32:42 -05:00
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:
parent
6e882b43b6
commit
3ae73433ab
5 changed files with 38 additions and 12 deletions
|
|
@ -202,6 +202,11 @@ void draw_progressbar(struct gui_wps *gwps, int line, struct progressbar *pb)
|
|||
flags |= INNER_NOFILL;
|
||||
}
|
||||
|
||||
if (pb->noborder)
|
||||
{
|
||||
flags |= BORDER_NOFILL;
|
||||
}
|
||||
|
||||
if (SKINOFFSETTOPTR(get_skin_buffer(gwps->data), pb->slider))
|
||||
{
|
||||
struct gui_img *img = SKINOFFSETTOPTR(get_skin_buffer(gwps->data), pb->slider);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue