diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-07-08 10:43:30 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-07-08 10:43:30 +1000 |
commit | 7e95acb7310d83284288a6e89a6b3fe4bf4e8668 (patch) | |
tree | ab75f4037108ce704be60589e1ff830ef75bc5c4 /src/gwin/gwin.c | |
parent | e8b789bfb166ee3218e9dbb4c6ddf74bdba79510 (diff) | |
download | uGFX-7e95acb7310d83284288a6e89a6b3fe4bf4e8668.tar.gz uGFX-7e95acb7310d83284288a6e89a6b3fe4bf4e8668.tar.bz2 uGFX-7e95acb7310d83284288a6e89a6b3fe4bf4e8668.zip |
Change point and point_t to gPoint
Diffstat (limited to 'src/gwin/gwin.c')
-rw-r--r-- | src/gwin/gwin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gwin/gwin.c b/src/gwin/gwin.c index 7bc257bf..9fbc304e 100644 --- a/src/gwin/gwin.c +++ b/src/gwin/gwin.c @@ -384,13 +384,13 @@ void gwinBlitArea(GHandle gh, coord_t x, coord_t y, coord_t cx, coord_t cy, coor #endif #if GDISP_NEED_CONVEX_POLYGON - void gwinDrawPoly(GHandle gh, coord_t tx, coord_t ty, const point *pntarray, unsigned cnt) { + void gwinDrawPoly(GHandle gh, coord_t tx, coord_t ty, const gPoint *pntarray, unsigned cnt) { if (!_gwinDrawStart(gh)) return; gdispGDrawPoly(gh->display, tx+gh->x, ty+gh->y, pntarray, cnt, gh->color); _gwinDrawEnd(gh); } - void gwinFillConvexPoly(GHandle gh, coord_t tx, coord_t ty, const point *pntarray, unsigned cnt) { + void gwinFillConvexPoly(GHandle gh, coord_t tx, coord_t ty, const gPoint *pntarray, unsigned cnt) { if (!_gwinDrawStart(gh)) return; gdispGFillConvexPoly(gh->display, tx+gh->x, ty+gh->y, pntarray, cnt, gh->color); _gwinDrawEnd(gh); |