aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-05-09 21:25:31 +1000
committerinmarket <andrewh@inmarket.com.au>2014-05-09 21:25:31 +1000
commit9e8b38ba943b339b966b1011bab899720d6305fc (patch)
treef0b169569f380857e4ed7c3927d0197bcb5ec6ae /tools
parentca1a83abca9ecc159ff6f0d9e27ab133fb947997 (diff)
downloaduGFX-9e8b38ba943b339b966b1011bab899720d6305fc.tar.gz
uGFX-9e8b38ba943b339b966b1011bab899720d6305fc.tar.bz2
uGFX-9e8b38ba943b339b966b1011bab899720d6305fc.zip
Add gwinClearInit() and gwinWidgetClearInit() to clear gwin initialisation structures.
Incorporate into demo's
Diffstat (limited to 'tools')
-rw-r--r--tools/touch_driver_test/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/touch_driver_test/main.c b/tools/touch_driver_test/main.c
index adfafa0f..a8318edd 100644
--- a/tools/touch_driver_test/main.c
+++ b/tools/touch_driver_test/main.c
@@ -66,6 +66,7 @@ int main(void) {
{
GWindowInit wi;
+ gwinClearInit(&wi);
wi.show = TRUE; wi.x = 0; wi.y = bHeight; wi.width = swidth; wi.height = sheight-bHeight;
ghc = gwinConsoleCreate(&gc, &wi);
}