1
0
Fork 0
forked from len0rd/rockbox

9 segment bitmap drawing:

Use %x9(id) to draw an image in the whole current viewport using the
9 segment drawer (which draws the corners as normal and *tiles*
the middle segments to the needed width/height).

Future work is to make it scale instead of tile

Change-Id: Ic3ed1cad93f96091694801eb442e0da5a2401203
This commit is contained in:
Jonathan Gordon 2012-12-03 20:43:58 +11:00
parent 1fbdc280d7
commit 685cf59008
12 changed files with 76 additions and 6 deletions

View file

@ -195,6 +195,7 @@ struct screen screens[NB_SCREENS] =
#endif
.bmp = &lcd_bmp,
.bmp_part = &lcd_bmp_part,
.nine_segment_bmp = &lcd_nine_segment_bmp,
#if LCD_DEPTH > 1
#if defined(HAVE_LCD_COLOR) && defined(LCD_REMOTE_DEPTH) && LCD_REMOTE_DEPTH > 1
.color_to_native=&lcd_color_to_native,