summaryrefslogtreecommitdiffstats
path: root/firmware/export/lcd.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2012-02-29 23:43:50 +1100
committerJonathan Gordon <rockbox@jdgordon.info>2012-03-01 00:10:17 +1100
commit8efb8f97c4882e3142f62bf35c822cae6fb120c3 (patch)
treecfb805f4d6e105eb574f82f8836d707e7c2bc029 /firmware/export/lcd.h
parentf0ecce9ee540591493b6d104d62f26fe73af0a73 (diff)
downloadrockbox-8efb8f97c4882e3142f62bf35c822cae6fb120c3.tar.gz
rockbox-8efb8f97c4882e3142f62bf35c822cae6fb120c3.zip
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
Diffstat (limited to 'firmware/export/lcd.h')
-rw-r--r--firmware/export/lcd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index 7e0e979821..dbb3a781b8 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -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,