Browse Source

added missing gwinWidgetClearInit() to label and imagebox demo

remotes/origin_old/ugfx_release_2.6
Joel Bodenmann 9 years ago
parent
commit
9781c31f3b
  1. 3
      demos/modules/gwin/imagebox/main.c
  2. 4
      demos/modules/gwin/label/main.c

3
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

4
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

Loading…
Cancel
Save