From 8d760acc0c0b53811de1cb003f4bcb087d0d4430 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Thu, 15 Dec 2016 11:31:50 +0100 Subject: [PATCH] Removing obsolete color parameters from gwinFillDualCircle() Fixes T27 --- src/gwin/gwin.c | 2 +- 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__)