diff options
author | Joel Bodenmann <joel@unormal.org> | 2014-05-20 10:35:50 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2014-05-20 10:35:50 +0200 |
commit | 9781c31f3b2923b2dc397adf2dd12235f039ce56 (patch) | |
tree | fd9ba2b9506ca37a8cf8aabcdde27ac6d74a0f56 /demos/modules | |
parent | 5c14057e33f63ef218e97b4bb611ef7c09f0bcf2 (diff) | |
download | uGFX-9781c31f3b2923b2dc397adf2dd12235f039ce56.tar.gz uGFX-9781c31f3b2923b2dc397adf2dd12235f039ce56.tar.bz2 uGFX-9781c31f3b2923b2dc397adf2dd12235f039ce56.zip |
added missing gwinWidgetClearInit() to label and imagebox demo
Diffstat (limited to 'demos/modules')
-rw-r--r-- | demos/modules/gwin/imagebox/main.c | 3 | ||||
-rw-r--r-- | demos/modules/gwin/label/main.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/demos/modules/gwin/imagebox/main.c b/demos/modules/gwin/imagebox/main.c index d8ebbe73..4b864f00 100644 --- a/demos/modules/gwin/imagebox/main.c +++ b/demos/modules/gwin/imagebox/main.c @@ -35,8 +35,9 @@ GHandle ghImage1; static void createWidgets(void) { GWidgetInit wi; - + // Apply some default values for GWIN + gwinWidgetClearInit(&wi); wi.g.show = TRUE; // create the first image widget diff --git a/demos/modules/gwin/label/main.c b/demos/modules/gwin/label/main.c index 918f2787..aab9cd76 100644 --- a/demos/modules/gwin/label/main.c +++ b/demos/modules/gwin/label/main.c @@ -36,9 +36,7 @@ static void createWidgets(void) { GWidgetInit wi; // Apply some default values for GWIN - wi.customDraw = 0; - wi.customParam = 0; - wi.customStyle = 0; + gwinWidgetClearInit(&wi); wi.g.show = TRUE; // Create the IP label |