diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-06-23 13:02:07 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-06-23 13:02:07 +1000 |
commit | 41271d632b74f5cf47c30d3b699eb6b2786f2136 (patch) | |
tree | 78bcb729c6d6177ca598f28908fefd186c50e9b6 /demos/modules/gwin/textedit_virtual_keyboard | |
parent | 3b97fb798e96514057bcf17263c1e5dbdcd7da26 (diff) | |
download | uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.gz uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.bz2 uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.zip |
Added new type definitions - moving towards V3.0
Diffstat (limited to 'demos/modules/gwin/textedit_virtual_keyboard')
-rw-r--r-- | demos/modules/gwin/textedit_virtual_keyboard/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/modules/gwin/textedit_virtual_keyboard/main.c b/demos/modules/gwin/textedit_virtual_keyboard/main.c index 6bc29a57..a7af1e08 100644 --- a/demos/modules/gwin/textedit_virtual_keyboard/main.c +++ b/demos/modules/gwin/textedit_virtual_keyboard/main.c @@ -41,7 +41,7 @@ static void guiCreate(void) gwinWidgetClearInit(&wi); // TextEdit1 - wi.g.show = TRUE; + wi.g.show = gTrue; wi.g.x = 10; wi.g.y = 20; wi.g.width = 200; @@ -50,7 +50,7 @@ static void guiCreate(void) ghTextedit1 = gwinTexteditCreate(0, &wi, 100); // TextEdit2 - wi.g.show = TRUE; + wi.g.show = gTrue; wi.g.x = 10; wi.g.y = 100; wi.g.width = 200; @@ -59,7 +59,7 @@ static void guiCreate(void) ghTextedit2 = gwinTexteditCreate(0, &wi, 20); // TextEdit3 - wi.g.show = TRUE; + wi.g.show = gTrue; wi.g.x = 10; wi.g.y = 180; wi.g.width = 200; @@ -68,7 +68,7 @@ static void guiCreate(void) ghTextedit3 = gwinTexteditCreate(0, &wi, 100); // Virtual keyboard - wi.g.show = TRUE; + wi.g.show = gTrue; wi.g.x = 0; wi.g.y = (gdispGetHeight()/2); wi.g.width = gdispGetWidth(); @@ -82,7 +82,7 @@ int main(void) gdispClear(GFX_SILVER); gwinSetDefaultFont(gdispOpenFont("DejaVuSans16")); - gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); + gwinSetDefaultStyle(&WhiteWidgetStyle, gFalse); gwinSetDefaultColor(GFX_BLACK); gwinSetDefaultBgColor(GFX_WHITE); |