diff options
author | Joel Bodenmann <joel@embedded.pro> | 2016-12-15 11:31:50 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@embedded.pro> | 2016-12-15 11:31:50 +0100 |
commit | baa20c4e60f542ec70b554fadec3be7fea74fe7e (patch) | |
tree | c32b43e5c116d242ab46da030c52e5af164c7614 /src/gwin | |
parent | 2f0e05f9cb23b65eaa28f6566e5814ab2216b29a (diff) | |
download | uGFX-baa20c4e60f542ec70b554fadec3be7fea74fe7e.tar.gz uGFX-baa20c4e60f542ec70b554fadec3be7fea74fe7e.tar.bz2 uGFX-baa20c4e60f542ec70b554fadec3be7fea74fe7e.zip |
Removing obsolete color parameters from gwinFillDualCircle()
Fixes T27
Diffstat (limited to 'src/gwin')
-rw-r--r-- | src/gwin/gwin.c | 2 | ||||
-rw-r--r-- | src/gwin/gwin.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/gwin/gwin.c b/src/gwin/gwin.c index 7d0ecaeb..c5082ea0 100644 --- a/src/gwin/gwin.c +++ b/src/gwin/gwin.c @@ -282,7 +282,7 @@ void gwinBlitArea(GHandle gh, coord_t x, coord_t y, coord_t cx, coord_t cy, coor #endif #if GDISP_NEED_DUALCIRCLE - void gwinFillDualCircle(GHandle gh, coord_t x, coord_t y, coord_t radius1, color_t color1, coord_t radius2, color_t color2) { + void gwinFillDualCircle(GHandle gh, coord_t x, coord_t y, coord_t radius1, coord_t radius2) { if (!_gwinDrawStart(gh)) return; gdispGFillDualCircle(gh->display, gh->x+x, gh->y+y, radius1, gh->bgcolor, radius2, gh->color); _gwinDrawEnd(gh); diff --git a/src/gwin/gwin.h b/src/gwin/gwin.h index e603f017..c3d18c31 100644 --- a/src/gwin/gwin.h +++ b/src/gwin/gwin.h @@ -729,13 +729,11 @@ extern "C" { * @param[in] gh The window handle * @param[in] x,y The center of the circle * @param[in] radius1 The radius of the larger circle - * @param[in] color1 The color to use for the larger circle * @param[in] radius2 The radius of the smaller circle - * @param[in] color2 The color to use for the smaller circle * * @api */ - void gwinFillDualCircle(GHandle gh, coord_t x, coord_t y, coord_t radius1, color_t color1, coord_t radius2, color_t color2); + void gwinFillDualCircle(GHandle gh, coord_t x, coord_t y, coord_t radius1, coord_t radius2); #endif #if GDISP_NEED_ELLIPSE || defined(__DOXYGEN__) |