summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2012-12-03 20:43:58 +1100
committerJonathan Gordon <rockbox@jdgordon.info>2012-12-09 17:11:19 +1100
commit685cf5900825b10c952f36301abbbd9968567435 (patch)
tree41cdfed9e5a2943c80ac0d4ffe09c45519a3ecf3 /apps/screen_access.c
parent1fbdc280d7e4b4ffb7ec8dccbfd1c1fc67f1c123 (diff)
downloadrockbox-685cf5900825b10c952f36301abbbd9968567435.tar.gz
rockbox-685cf5900825b10c952f36301abbbd9968567435.tar.bz2
rockbox-685cf5900825b10c952f36301abbbd9968567435.zip
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
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index fc92210981..79ab459475 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -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,