diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-06-28 23:15:47 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-06-28 23:15:47 +0000 |
commit | 7e11acbce9b9a63c28ded055d02301175391e027 (patch) | |
tree | ea8d30e7281e8d720d6dc8ea51804e1749282697 /firmware/export | |
parent | c2bf5dfe12978b44d5d890a37f256c8d9f510660 (diff) |
Second part of graphics api rework. Bitmap drawing and text output converted; some code cleanup and more optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6906 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/lcd.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 7456aa77a9..6a6a8e8697 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h @@ -57,8 +57,8 @@ extern void lcd_icon(int icon, bool enable); #if defined(SIMULATOR) || defined(HAVE_LCD_BITMAP) /* performance function */ -extern void lcd_blit(const unsigned char* p_data, int x, int y, int width, - int height, int stride); +extern void lcd_blit(const unsigned char* data, int x, int by, int width, + int bheight, int stride); extern void lcd_update(void); /* update a fraction of the screen */ @@ -150,8 +150,9 @@ extern void lcd_hline(int x1, int x2, int y); extern void lcd_vline(int x, int y1, int y2); extern void lcd_drawrect(int x, int y, int width, int height); extern void lcd_fillrect(int x, int y, int width, int height); -extern void lcd_bitmap(const unsigned char *src, int x, int y, int nx, int ny, - bool clear); +extern void lcd_bitmap_part(const unsigned char *src, int src_x, int src_y, + int stride, int x, int y, int width, int height); +extern void lcd_bitmap(const unsigned char *src, int x, int y, int nx, int ny); extern void lcd_putsxy(int x, int y, const unsigned char *string); extern void lcd_invertscroll(int x, int y); |