From 7e95acb7310d83284288a6e89a6b3fe4bf4e8668 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sun, 8 Jul 2018 10:43:30 +1000 Subject: Change point and point_t to gPoint --- demos/modules/gdisp/polygons/main.c | 6 +++--- demos/modules/gwin/graph/main.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'demos') 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 }, -- cgit v1.2.3