aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin.c
diff options
context:
space:
mode:
authorPaul Shamray <pashamray@gmail.com>2014-07-12 11:04:08 +0300
committerPaul Shamray <pashamray@gmail.com>2014-07-12 11:04:08 +0300
commit1cda0bc1810f3d89ff38572abdf8cdf00a4ef91b (patch)
treea6d12287acddd8c7f427bde4e0ad06c4a280b420 /src/gwin/gwin.c
parent94bc703fe24996b063d8f800a485a26a04f0d234 (diff)
parentcae7b197b38ec33b92bab5554ce2156867ae45d5 (diff)
downloaduGFX-1cda0bc1810f3d89ff38572abdf8cdf00a4ef91b.tar.gz
uGFX-1cda0bc1810f3d89ff38572abdf8cdf00a4ef91b.tar.bz2
uGFX-1cda0bc1810f3d89ff38572abdf8cdf00a4ef91b.zip
Merged master into pcf8812
Diffstat (limited to 'src/gwin/gwin.c')
-rw-r--r--src/gwin/gwin.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gwin/gwin.c b/src/gwin/gwin.c
index e1625b13..ab2e2981 100644
--- a/src/gwin/gwin.c
+++ b/src/gwin/gwin.c
@@ -226,6 +226,12 @@ void gwinDrawLine(GHandle gh, coord_t x0, coord_t y0, coord_t x1, coord_t y1) {
_gwinDrawEnd(gh);
}
+void gwinDrawThickLine(GHandle gh, coord_t x0, coord_t y0, coord_t x1, coord_t y1, coord_t width, bool_t round) {
+ if (!_gwinDrawStart(gh)) return;
+ gdispGDrawThickLine(gh->display, gh->x+x0, gh->y+y0, gh->x+x1, gh->y+y1, gh->color, width, round);
+ _gwinDrawEnd(gh);
+}
+
void gwinDrawBox(GHandle gh, coord_t x, coord_t y, coord_t cx, coord_t cy) {
if (!_gwinDrawStart(gh)) return;
gdispGDrawBox(gh->display, gh->x+x, gh->y+y, cx, cy, gh->color);