diff options
author | Tectu <joel@unormal.org> | 2012-11-29 06:55:49 -0800 |
---|---|---|
committer | Tectu <joel@unormal.org> | 2012-11-29 06:55:49 -0800 |
commit | f2c74cf431880102e12933b2a5c53e6d01a0ce73 (patch) | |
tree | 1b178ba8e62f300a9d1e2b0b5c99346e25f339e6 /src/gwin.c | |
parent | 5bfa0f26220588359342d4bf14add6dc53b4788b (diff) | |
parent | a123ba7c4e57ff19b557c6402f3d5dc96a0ff2cc (diff) | |
download | uGFX-f2c74cf431880102e12933b2a5c53e6d01a0ce73.tar.gz uGFX-f2c74cf431880102e12933b2a5c53e6d01a0ce73.tar.bz2 uGFX-f2c74cf431880102e12933b2a5c53e6d01a0ce73.zip |
Merge pull request #24 from inmarket/master
New GINPUT touch driver test demo + fixes
Diffstat (limited to 'src/gwin.c')
-rw-r--r-- | src/gwin.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -152,6 +152,13 @@ void gwinClear(GHandle gh) { gdispSetClip(gh->x, gh->y, gh->width, gh->height);
#endif
gdispFillArea(gh->x, gh->y, gh->width, gh->height, gh->bgcolor);
+
+ #if GWIN_NEED_CONSOLE
+ if (gh->type == GW_CONSOLE) {
+ ((GConsoleObject *)gh)->cx = 0;
+ ((GConsoleObject *)gh)->cy = 0;
+ }
+ #endif
}
/**
|