diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-05-09 21:25:31 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-05-09 21:25:31 +1000 |
commit | 9e8b38ba943b339b966b1011bab899720d6305fc (patch) | |
tree | f0b169569f380857e4ed7c3927d0197bcb5ec6ae /demos/modules/gwin/basic | |
parent | ca1a83abca9ecc159ff6f0d9e27ab133fb947997 (diff) | |
download | uGFX-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 'demos/modules/gwin/basic')
-rw-r--r-- | demos/modules/gwin/basic/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/modules/gwin/basic/main.c b/demos/modules/gwin/basic/main.c index 4d8fa33c..fca150c9 100644 --- a/demos/modules/gwin/basic/main.c +++ b/demos/modules/gwin/basic/main.c @@ -43,6 +43,7 @@ int main(void) { { GWindowInit wi; + gwinClearInit(&wi); wi.show = TRUE; wi.x = 20; wi.y = 10; wi.width = 200; wi.height = 150; GW1 = gwinWindowCreate(0, &wi); wi.show = TRUE; wi.x = 50; wi.y = 190; wi.width = 150; wi.height = 100; |