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/basic | |
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/basic')
-rw-r--r-- | demos/modules/gwin/basic/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/modules/gwin/basic/main.c b/demos/modules/gwin/basic/main.c index e5b66f17..901f9e6d 100644 --- a/demos/modules/gwin/basic/main.c +++ b/demos/modules/gwin/basic/main.c @@ -44,9 +44,9 @@ int main(void) { GWindowInit wi; gwinClearInit(&wi); - wi.show = TRUE; wi.x = 20; wi.y = 10; wi.width = 200; wi.height = 150; + wi.show = gTrue; 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; + wi.show = gTrue; wi.x = 50; wi.y = 190; wi.width = 150; wi.height = 100; GW2 = gwinWindowCreate(0, &wi); } @@ -72,7 +72,7 @@ int main(void) { gwinFillCircle(GW1, 20, 20, 15); gwinFillCircle(GW2, 20, 20, 15); - while(TRUE) { + while(1) { gfxSleepMilliseconds(500); } } |