From c059f96d24c814fc34d470aa01577f294f9d73a6 Mon Sep 17 00:00:00 2001 From: inmarket Date: Thu, 4 Jul 2013 01:08:47 +1000 Subject: [PATCH] Rename gwin base image function to avoid confusion with the image gwin object. --- include/gwin/gwin.h | 2 +- src/gwin/gwin.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/gwin/gwin.h b/include/gwin/gwin.h index dd8abb0f..4d0deaf0 100644 --- a/include/gwin/gwin.h +++ b/include/gwin/gwin.h @@ -769,7 +769,7 @@ extern "C" { * * @api */ - gdispImageError gwinImageDraw(GHandle gh, gdispImage *img, coord_t x, coord_t y, coord_t cx, coord_t cy, coord_t sx, coord_t sy); + gdispImageError gwinDrawImage(GHandle gh, gdispImage *img, coord_t x, coord_t y, coord_t cx, coord_t cy, coord_t sx, coord_t sy); #endif #ifdef __cplusplus diff --git a/src/gwin/gwin.c b/src/gwin/gwin.c index 9e345523..92b6cc03 100644 --- a/src/gwin/gwin.c +++ b/src/gwin/gwin.c @@ -530,7 +530,7 @@ void gwinBlitArea(GHandle gh, coord_t x, coord_t y, coord_t cx, coord_t cy, coor #endif #if GDISP_NEED_IMAGE - gdispImageError gwinImageDraw(GHandle gh, gdispImage *img, coord_t x, coord_t y, coord_t cx, coord_t cy, coord_t sx, coord_t sy) { + gdispImageError gwinDrawImage(GHandle gh, gdispImage *img, coord_t x, coord_t y, coord_t cx, coord_t cy, coord_t sx, coord_t sy) { if (!((gh->flags & GWIN_FLG_VISIBLE))) return GDISP_IMAGE_ERR_OK;