diff options
author | Franklin Wei <frankhwei536@gmail.com> | 2015-04-08 14:15:20 -0400 |
---|---|---|
committer | Gerrit Rockbox <gerrit@rockbox.org> | 2016-12-18 18:35:52 +0100 |
commit | 90f1370bbf7c3a6a21cfb41b637758178da9d553 (patch) | |
tree | 1028cd6ed98bcc7d6558e6d202c8b81502fb4138 /apps/plugins/lib/xlcd.h | |
parent | c6996ab7312a5d113b3b9221324d2d203462c025 (diff) | |
download | rockbox-90f1370bbf7c3a6a21cfb41b637758178da9d553.tar.gz rockbox-90f1370bbf7c3a6a21cfb41b637758178da9d553.zip |
Add circle drawing/filling to xlcd
Change-Id: I5d28ade42145d9d82babcf62c0db7948927cafec
Diffstat (limited to 'apps/plugins/lib/xlcd.h')
-rw-r--r-- | apps/plugins/lib/xlcd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/lib/xlcd.h b/apps/plugins/lib/xlcd.h index b6d0867e01..abd5cff62b 100644 --- a/apps/plugins/lib/xlcd.h +++ b/apps/plugins/lib/xlcd.h | |||
@@ -31,6 +31,11 @@ | |||
31 | void xlcd_filltriangle(int x1, int y1, int x2, int y2, int x3, int y3); | 31 | void xlcd_filltriangle(int x1, int y1, int x2, int y2, int x3, int y3); |
32 | void xlcd_filltriangle_screen(struct screen* display, | 32 | void xlcd_filltriangle_screen(struct screen* display, |
33 | int x1, int y1, int x2, int y2, int x3, int y3); | 33 | int x1, int y1, int x2, int y2, int x3, int y3); |
34 | void xlcd_fillcircle(int cx, int cy, int radius); | ||
35 | void xlcd_fillcircle_screen(struct screen* display, int cx, int cy, int radius); | ||
36 | void xlcd_drawcircle(int cx, int cy, int radius); | ||
37 | void xlcd_drawcircle_screen(struct screen* display, int cx, int cy, int radius); | ||
38 | |||
34 | #if LCD_DEPTH >= 8 | 39 | #if LCD_DEPTH >= 8 |
35 | void xlcd_gray_bitmap_part(const unsigned char *src, int src_x, int src_y, | 40 | void xlcd_gray_bitmap_part(const unsigned char *src, int src_x, int src_y, |
36 | int stride, int x, int y, int width, int height); | 41 | int stride, int x, int y, int width, int height); |