diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-07-08 10:54:19 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-07-08 10:54:19 +1000 |
commit | 2ab2d77fcba42467b62f2be732cb8dc00510fe19 (patch) | |
tree | 8dbd616faa116a2946ad47c62c20d4a34fb749b2 /demos/modules/gwin | |
parent | 7e95acb7310d83284288a6e89a6b3fe4bf4e8668 (diff) | |
download | uGFX-2ab2d77fcba42467b62f2be732cb8dc00510fe19.tar.gz uGFX-2ab2d77fcba42467b62f2be732cb8dc00510fe19.tar.bz2 uGFX-2ab2d77fcba42467b62f2be732cb8dc00510fe19.zip |
Change coord_t to gCoord
Diffstat (limited to 'demos/modules/gwin')
-rw-r--r-- | demos/modules/gwin/basic/main.c | 2 | ||||
-rw-r--r-- | demos/modules/gwin/widgets/main.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/demos/modules/gwin/basic/main.c b/demos/modules/gwin/basic/main.c index 901f9e6d..00404aae 100644 --- a/demos/modules/gwin/basic/main.c +++ b/demos/modules/gwin/basic/main.c @@ -33,7 +33,7 @@ GHandle GW1, GW2; int main(void) { - coord_t i, j; + gCoord i, j; /* Initialize and clear the display */ gfxInit(); 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); |