aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-07-08 10:43:30 +1000
committerinmarket <andrewh@inmarket.com.au>2018-07-08 10:43:30 +1000
commit7e95acb7310d83284288a6e89a6b3fe4bf4e8668 (patch)
treeab75f4037108ce704be60589e1ff830ef75bc5c4 /demos
parente8b789bfb166ee3218e9dbb4c6ddf74bdba79510 (diff)
downloaduGFX-7e95acb7310d83284288a6e89a6b3fe4bf4e8668.tar.gz
uGFX-7e95acb7310d83284288a6e89a6b3fe4bf4e8668.tar.bz2
uGFX-7e95acb7310d83284288a6e89a6b3fe4bf4e8668.zip
Change point and point_t to gPoint
Diffstat (limited to 'demos')
-rw-r--r--demos/modules/gdisp/polygons/main.c6
-rw-r--r--demos/modules/gwin/graph/main.c2
2 files changed, 4 insertions, 4 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
diff --git a/demos/modules/gwin/graph/main.c b/demos/modules/gwin/graph/main.c
index c184a939..19c6c76c 100644
--- a/demos/modules/gwin/graph/main.c
+++ b/demos/modules/gwin/graph/main.c
@@ -31,7 +31,7 @@
#include "math.h"
// A set of data points that will be displayed in the graph
-static const point data[5] = {
+static const gPoint data[5] = {
{ -40, -40 },
{ 70, 40 },
{ 140, 60 },