diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-05-10 01:11:30 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-05-10 01:11:30 +1000 |
commit | cb606359cccd09f00f27db93bb99fb06a3b49abd (patch) | |
tree | 73ad7fd5a73ff43e3ba074a609cc2385372ee01c /src/gwin/gimage.c | |
parent | 21aac3d8532c9aa1decab30c00d9f5a37067aa13 (diff) | |
download | uGFX-cb606359cccd09f00f27db93bb99fb06a3b49abd.tar.gz uGFX-cb606359cccd09f00f27db93bb99fb06a3b49abd.tar.bz2 uGFX-cb606359cccd09f00f27db93bb99fb06a3b49abd.zip |
Multiple changes to GWIN to support containers.
Diffstat (limited to 'src/gwin/gimage.c')
-rw-r--r-- | src/gwin/gimage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gwin/gimage.c b/src/gwin/gimage.c index 9d6363ba..baf14ad1 100644 --- a/src/gwin/gimage.c +++ b/src/gwin/gimage.c @@ -30,7 +30,7 @@ static void _destroy(GWindowObject *gh) { #define gh ((GHandle)param) // We need to re-test the visibility in case it has been made invisible since the last frame. - if ((gh->flags & GWIN_FLG_VISIBLE)) { + if ((gh->flags & GWIN_FLG_SYSVISIBLE)) { // Setting the clip here shouldn't be necessary if the redraw doesn't overdraw // but we put it in for safety anyway #if GDISP_NEED_CLIP @@ -160,7 +160,7 @@ bool_t gwinImageOpenGFile(GHandle gh, GFILE *f) { if ((gdispImageOpenGFile(&widget(gh)->image, f) & GDISP_IMAGE_ERR_UNRECOVERABLE)) return FALSE; - if ((gh->flags & GWIN_FLG_VISIBLE)) { + if ((gh->flags & GWIN_FLG_SYSVISIBLE)) { // Setting the clip here shouldn't be necessary if the redraw doesn't overdraw // but we put it in for safety anyway #if GDISP_NEED_CLIP |