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 --- demos/modules/gwin/widgets/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/modules/gwin/widgets/main.c') diff --git a/demos/modules/gwin/widgets/main.c b/demos/modules/gwin/widgets/main.c index 8e56af90..fd0bee1a 100644 --- a/demos/modules/gwin/widgets/main.c +++ b/demos/modules/gwin/widgets/main.c @@ -171,7 +171,7 @@ static gdispImage imgYesNo; #endif // Wrap buttons onto the next line if they don't fit. -static void setbtntext(GWidgetInit *pwi, coord_t maxwidth, char *txt) { +static void setbtntext(GWidgetInit *pwi, gCoord maxwidth, char *txt) { if (pwi->g.x >= maxwidth) { pwi->g.x = 5; pwi->g.y += pwi->g.height+1; @@ -194,7 +194,7 @@ static void setbtntext(GWidgetInit *pwi, coord_t maxwidth, char *txt) { */ static void createWidgets(void) { GWidgetInit wi; - coord_t border, pagewidth; + gCoord border, pagewidth; gwinWidgetClearInit(&wi); -- cgit v1.2.3