diff options
author | Andrew Hannam <andrewh@inmarket.com.au> | 2013-01-08 18:15:20 -0800 |
---|---|---|
committer | Andrew Hannam <andrewh@inmarket.com.au> | 2013-01-08 18:15:20 -0800 |
commit | 8b5c073ea6f8491ce4176fb2996f74b3222f8188 (patch) | |
tree | eab4bb57fd18e53b85e0d2a8736e0ce5ce5abe86 /demos/modules/gdisp_basics/main.c | |
parent | 2c5d5c51183fbdb01f24afdbb5d29dbf00f4f836 (diff) | |
parent | 7a66e63849f43aae17fb256afadc475ffc578945 (diff) | |
download | uGFX-8b5c073ea6f8491ce4176fb2996f74b3222f8188.tar.gz uGFX-8b5c073ea6f8491ce4176fb2996f74b3222f8188.tar.bz2 uGFX-8b5c073ea6f8491ce4176fb2996f74b3222f8188.zip |
Merge pull request #13 from Tectu/master
Merge Tectu Changes
Diffstat (limited to 'demos/modules/gdisp_basics/main.c')
-rw-r--r-- | demos/modules/gdisp_basics/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/demos/modules/gdisp_basics/main.c b/demos/modules/gdisp_basics/main.c index e18b0e9e..fa0bef45 100644 --- a/demos/modules/gdisp_basics/main.c +++ b/demos/modules/gdisp_basics/main.c @@ -39,9 +39,10 @@ int main(void) { // Code Here
gdispDrawBox(10, 10, width/2, height/2, Yellow);
- gdispFillArea (width/2, height/2, width/2-10, height/2-10, Blue);
- gdispDrawLine (5, 30, width-50, height-40, Red);
- for(i=5, j=0; i < width && j < height; i+=7, j+=i/20)
+ gdispFillArea(width/2, height/2, width/2-10, height/2-10, Blue);
+ gdispDrawLine(5, 30, width-50, height-40, Red);
+
+ for(i = 5, j = 0; i < width && j < height; i += 7, j += i/20)
gdispDrawPixel (i, j, White);
while(TRUE) {
|