diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-10-28 00:42:38 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2013-10-28 00:42:38 +0100 |
commit | 630989d6b4a367ed16517be44f282b13a001c611 (patch) | |
tree | ff4b8751f62d2719eaa83c7d18a3f0b5558311d6 /demos/modules/gwin/basic/main.c | |
parent | cf616ae80412f20ddf0a534284b67010b4937969 (diff) | |
download | uGFX-630989d6b4a367ed16517be44f282b13a001c611.tar.gz uGFX-630989d6b4a367ed16517be44f282b13a001c611.tar.bz2 uGFX-630989d6b4a367ed16517be44f282b13a001c611.zip |
updated GDISP and GWIN demos
Diffstat (limited to 'demos/modules/gwin/basic/main.c')
-rw-r--r-- | demos/modules/gwin/basic/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/modules/gwin/basic/main.c b/demos/modules/gwin/basic/main.c index c46e6969..eee22f29 100644 --- a/demos/modules/gwin/basic/main.c +++ b/demos/modules/gwin/basic/main.c @@ -37,7 +37,7 @@ int main(void) { /* Initialize and clear the display */ gfxInit(); - gdispClear(Lime); + gdispClear(White); /* Create two windows */ { @@ -60,7 +60,7 @@ int main(void) { gwinClear(GW2); gwinDrawLine(GW1, 5, 30, 150, 110); - for(i=5, j=0; i < 200 && j < 150; i+=3, j+=i/20) + for(i = 5, j = 0; i < 200 && j < 150; i += 3, j += i/20) gwinDrawPixel(GW1, i, j); /* |