From 2ab2d77fcba42467b62f2be732cb8dc00510fe19 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sun, 8 Jul 2018 10:54:19 +1000 Subject: Change coord_t to gCoord --- src/gwin/gwin_graph.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/gwin/gwin_graph.h') diff --git a/src/gwin/gwin_graph.h b/src/gwin/gwin_graph.h index d13fd1c5..eaaa82ab 100644 --- a/src/gwin/gwin_graph.h +++ b/src/gwin/gwin_graph.h @@ -33,7 +33,7 @@ typedef enum GGraphPointType_e { typedef struct GGraphPointStyle_t { GGraphPointType type; - coord_t size; + gCoord size; color_t color; } GGraphPointStyle; @@ -43,15 +43,15 @@ typedef enum GGraphLineType_e { typedef struct GGraphLineStyle_t { GGraphLineType type; - coord_t size; + gCoord size; color_t color; } GGraphLineStyle; typedef struct GGraphGridStyle_t { GGraphLineType type; - coord_t size; + gCoord size; color_t color; - coord_t spacing; + gCoord spacing; } GGraphGridStyle; typedef struct GGraphStyle_t { @@ -77,8 +77,8 @@ typedef struct GGraphStyle_t { typedef struct GGraphObject { GWindowObject g; GGraphStyle style; - coord_t xorigin, yorigin; - coord_t lastx, lasty; + gCoord xorigin, yorigin; + gCoord lastx, lasty; } GGraphObject; /*===========================================================================*/ @@ -130,7 +130,7 @@ void gwinGraphSetStyle(GHandle gh, const GGraphStyle *pstyle); * * @api */ -void gwinGraphSetOrigin(GHandle gh, coord_t x, coord_t y); +void gwinGraphSetOrigin(GHandle gh, gCoord x, gCoord y); /** * @brief Draw the axis and the background grid. @@ -161,7 +161,7 @@ void gwinGraphStartSet(GHandle gh); * * @api */ -void gwinGraphDrawPoint(GHandle gh, coord_t x, coord_t y); +void gwinGraphDrawPoint(GHandle gh, gCoord x, gCoord y); /** * @brief Draw multiple graph points. -- cgit v1.2.3