diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-07-01 17:40:31 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2013-07-01 17:40:31 +0200 |
commit | 6e59a6cf6ca75bf3ca72649f3f57e03e3e321c36 (patch) | |
tree | d6e4095d68df5ca4b21959199a793007c3c7cef6 /src/gwin/gwin.c | |
parent | 4afd5ec74429232e4db96001ed89757b0ba55ee7 (diff) | |
download | uGFX-6e59a6cf6ca75bf3ca72649f3f57e03e3e321c36.tar.gz uGFX-6e59a6cf6ca75bf3ca72649f3f57e03e3e321c36.tar.bz2 uGFX-6e59a6cf6ca75bf3ca72649f3f57e03e3e321c36.zip |
image widget first release
Diffstat (limited to 'src/gwin/gwin.c')
-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 c1122b3f..75f1b2d3 100644 --- a/src/gwin/gwin.c +++ b/src/gwin/gwin.c @@ -479,18 +479,6 @@ 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) { - 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 */ /** @} */ |