forked from len0rd/rockbox
Add new lcd_bmp and lcd_bmp_part APIs.
This new APIs wrap around lcd_[mono|transparent]_bitmap/_part calls and handle all kinds bitmaps. The intended use is to draw bitmaps that come from read_bmp_fd/_file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30936 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6223ad266e
commit
13209604c1
10 changed files with 68 additions and 79 deletions
|
|
@ -543,6 +543,9 @@ extern void lcd_bitmap_transparent_part(const fb_data *src,
|
|||
int height);
|
||||
extern void lcd_bitmap_transparent(const fb_data *src, int x, int y,
|
||||
int width, int height);
|
||||
extern void lcd_bmp_part(const struct bitmap* bm, int src_x, int src_y,
|
||||
int x, int y, int width, int height);
|
||||
extern void lcd_bmp(const struct bitmap* bm, int x, int y);
|
||||
#else /* LCD_DEPTH == 1 */
|
||||
#define lcd_mono_bitmap lcd_bitmap
|
||||
#define lcd_mono_bitmap_part lcd_bitmap_part
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue