aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/graph
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 /demos/modules/gwin/graph
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 'demos/modules/gwin/graph')
-rw-r--r--demos/modules/gwin/graph/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/modules/gwin/graph/main.c b/demos/modules/gwin/graph/main.c
index 4dd67ae8..7a496fae 100644
--- a/demos/modules/gwin/graph/main.c
+++ b/demos/modules/gwin/graph/main.c
@@ -69,6 +69,7 @@ int main(void) {
{
GWindowInit wi;
+ gwinClearInit(&wi);
wi.show = TRUE;
wi.x = wi.y = 0;
wi.width = gdispGetWidth();