diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2012-12-03 20:43:58 +1100 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2012-12-09 17:11:19 +1100 |
commit | 685cf5900825b10c952f36301abbbd9968567435 (patch) | |
tree | 41cdfed9e5a2943c80ac0d4ffe09c45519a3ecf3 /firmware/export | |
parent | 1fbdc280d7e4b4ffb7ec8dccbfd1c1fc67f1c123 (diff) | |
download | rockbox-685cf5900825b10c952f36301abbbd9968567435.tar.gz 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 'firmware/export')
-rw-r--r-- | firmware/export/lcd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index dbb3a781b8..a82c00534d 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -568,6 +568,8 @@ extern void lcd_bitmap_transparent(const fb_data *src, int x, int y, | |||
568 | extern void lcd_bmp_part(const struct bitmap* bm, int src_x, int src_y, | 568 | extern void lcd_bmp_part(const struct bitmap* bm, int src_x, int src_y, |
569 | int x, int y, int width, int height); | 569 | int x, int y, int width, int height); |
570 | extern void lcd_bmp(const struct bitmap* bm, int x, int y); | 570 | extern void lcd_bmp(const struct bitmap* bm, int x, int y); |
571 | extern void lcd_nine_segment_bmp(const struct bitmap* bm, int x, int y, | ||
572 | int width, int height); | ||
571 | #endif /* HAVE_LCD_BITMAP */ | 573 | #endif /* HAVE_LCD_BITMAP */ |
572 | 574 | ||
573 | 575 | ||