diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-07-08 10:43:30 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-07-08 10:43:30 +1000 |
commit | 7e95acb7310d83284288a6e89a6b3fe4bf4e8668 (patch) | |
tree | ab75f4037108ce704be60589e1ff830ef75bc5c4 /demos/modules/gdisp/polygons | |
parent | e8b789bfb166ee3218e9dbb4c6ddf74bdba79510 (diff) | |
download | uGFX-7e95acb7310d83284288a6e89a6b3fe4bf4e8668.tar.gz uGFX-7e95acb7310d83284288a6e89a6b3fe4bf4e8668.tar.bz2 uGFX-7e95acb7310d83284288a6e89a6b3fe4bf4e8668.zip |
Change point and point_t to gPoint
Diffstat (limited to 'demos/modules/gdisp/polygons')
-rw-r--r-- | demos/modules/gdisp/polygons/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/modules/gdisp/polygons/main.c b/demos/modules/gdisp/polygons/main.c index 277fd0bf..f91a5cdd 100644 --- a/demos/modules/gdisp/polygons/main.c +++ b/demos/modules/gdisp/polygons/main.c @@ -33,7 +33,7 @@ #define FRAME_DELAY 100 /* The interframe delay in milliseconds */ // Our shape definition -static const point shape[] = { +static const gPoint shape[] = { { 10, 10 }, { 10, 15 }, { 17, 17 }, @@ -49,8 +49,8 @@ static const point shape[] = { #define NUM_POINTS (sizeof(shape)/sizeof(shape[0])) // Where we put our calculated points -static point result[NUM_POINTS]; -static point oldresult[NUM_POINTS]; +static gPoint result[NUM_POINTS]; +static gPoint oldresult[NUM_POINTS]; // Make fixed point and floating point options look pretty similar #if GMISC_NEED_MATRIXFLOAT2D |