diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gwin/gwin.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gwin/gwin.c b/src/gwin/gwin.c index f5d78ac6..16f06b0c 100644 --- a/src/gwin/gwin.c +++ b/src/gwin/gwin.c @@ -489,18 +489,6 @@ void gwinBlitArea(GHandle gh, coord_t x, coord_t y, coord_t cx, coord_t cy, coor } #endif -#if GDISP_NEED_IMAGE - 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; - - #if GDISP_NEED_CLIP - gdispSetClip(gh->x, gh->y, gh->width, gh->height); - #endif - return gdispImageDraw(img, gh->x+x, gh->y+y, cx, cy, sx, sy); - } -#endif - #endif /* GFX_USE_GWIN */ /** @} */ |