1
0
Fork 0
forked from len0rd/rockbox

lcd drivers: split lcd_gradient_rect so it is actually useful

lcd_gradient_rect() was only usable to draw list lines, so split
it up and make a generic gradient draw function available to apps/

Change-Id: I665911a90fef239b5e06592ea2763cbeeb74c83f
This commit is contained in:
Jonathan Gordon 2012-02-29 23:43:50 +11:00
parent f0ecce9ee5
commit 8efb8f97c4
2 changed files with 48 additions and 14 deletions

View file

@ -523,6 +523,8 @@ 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_gradient_fillrect(int x, int y, int width, int height,
unsigned start_rgb, unsigned end_rgb);
extern void lcd_draw_border_viewport(void);
extern void lcd_fill_viewport(void);
extern void lcd_bitmap_part(const fb_data *src, int src_x, int src_y,