mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
1fbdc280d7
commit
685cf59008
12 changed files with 76 additions and 6 deletions
|
@ -167,6 +167,10 @@ struct screen
|
|||
unsigned start, unsigned end);
|
||||
#endif
|
||||
#endif
|
||||
#if defined(HAVE_LCD_BITMAP)
|
||||
void (*nine_segment_bmp)(const struct bitmap* bm, int x, int y,
|
||||
int width, int height);
|
||||
#endif
|
||||
};
|
||||
|
||||
#if defined(HAVE_LCD_BITMAP) || defined(HAVE_REMOTE_LCD)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue