summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/xlcd.h
diff options
context:
space:
mode:
authorFranklin Wei <frankhwei536@gmail.com>2015-04-08 14:15:20 -0400
committerGerrit Rockbox <gerrit@rockbox.org>2016-12-18 18:35:52 +0100
commit90f1370bbf7c3a6a21cfb41b637758178da9d553 (patch)
tree1028cd6ed98bcc7d6558e6d202c8b81502fb4138 /apps/plugins/lib/xlcd.h
parentc6996ab7312a5d113b3b9221324d2d203462c025 (diff)
downloadrockbox-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.h5
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 @@
31void xlcd_filltriangle(int x1, int y1, int x2, int y2, int x3, int y3); 31void xlcd_filltriangle(int x1, int y1, int x2, int y2, int x3, int y3);
32void xlcd_filltriangle_screen(struct screen* display, 32void 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);
34void xlcd_fillcircle(int cx, int cy, int radius);
35void xlcd_fillcircle_screen(struct screen* display, int cx, int cy, int radius);
36void xlcd_drawcircle(int cx, int cy, int radius);
37void xlcd_drawcircle_screen(struct screen* display, int cx, int cy, int radius);
38
34#if LCD_DEPTH >= 8 39#if LCD_DEPTH >= 8
35void xlcd_gray_bitmap_part(const unsigned char *src, int src_x, int src_y, 40void 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);