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.zip
rockbox-90f1370bbf7c3a6a21cfb41b637758178da9d553.tar.gz
rockbox-90f1370bbf7c3a6a21cfb41b637758178da9d553.tar.bz2
rockbox-90f1370bbf7c3a6a21cfb41b637758178da9d553.tar.xz
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 b6d0867..abd5cff 100644
--- a/apps/plugins/lib/xlcd.h
+++ b/apps/plugins/lib/xlcd.h
@@ -31,6 +31,11 @@
void xlcd_filltriangle(int x1, int y1, int x2, int y2, int x3, int y3);
void xlcd_filltriangle_screen(struct screen* display,
int x1, int y1, int x2, int y2, int x3, int y3);
+void xlcd_fillcircle(int cx, int cy, int radius);
+void xlcd_fillcircle_screen(struct screen* display, int cx, int cy, int radius);
+void xlcd_drawcircle(int cx, int cy, int radius);
+void xlcd_drawcircle_screen(struct screen* display, int cx, int cy, int radius);
+
#if LCD_DEPTH >= 8
void xlcd_gray_bitmap_part(const unsigned char *src, int src_x, int src_y,
int stride, int x, int y, int width, int height);