aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gdisp
diff options
context:
space:
mode:
Diffstat (limited to 'demos/modules/gdisp')
-rw-r--r--demos/modules/gdisp/arcsectors/main.c2
-rw-r--r--demos/modules/gdisp/basics/main.c4
-rw-r--r--demos/modules/gdisp/circles/main.c2
-rw-r--r--demos/modules/gdisp/fonts/main.c4
-rw-r--r--demos/modules/gdisp/images/main.c2
-rw-r--r--demos/modules/gdisp/images_animated/main.c2
-rw-r--r--demos/modules/gdisp/multiple_displays/main.c8
-rw-r--r--demos/modules/gdisp/pixmap/main.c4
-rw-r--r--demos/modules/gdisp/polygons/main.c2
-rw-r--r--demos/modules/gdisp/streaming/main.c6
10 files changed, 18 insertions, 18 deletions
diff --git a/demos/modules/gdisp/arcsectors/main.c b/demos/modules/gdisp/arcsectors/main.c
index 7c73201c..6a9a2737 100644
--- a/demos/modules/gdisp/arcsectors/main.c
+++ b/demos/modules/gdisp/arcsectors/main.c
@@ -30,7 +30,7 @@
#include "gfx.h"
int main(void) {
- coord_t width, height, r1, r2, cx, cy;
+ gCoord width, height, r1, r2, cx, cy;
uint8_t sectors;
// Initialize and clear the display
diff --git a/demos/modules/gdisp/basics/main.c b/demos/modules/gdisp/basics/main.c
index 9517e0a6..ac7870f1 100644
--- a/demos/modules/gdisp/basics/main.c
+++ b/demos/modules/gdisp/basics/main.c
@@ -30,8 +30,8 @@
#include "gfx.h"
int main(void) {
- coord_t width, height;
- coord_t i, j;
+ gCoord width, height;
+ gCoord i, j;
// Initialize and clear the display
gfxInit();
diff --git a/demos/modules/gdisp/circles/main.c b/demos/modules/gdisp/circles/main.c
index e631da1a..bd7d5c2e 100644
--- a/demos/modules/gdisp/circles/main.c
+++ b/demos/modules/gdisp/circles/main.c
@@ -30,7 +30,7 @@
#include "gfx.h"
int main(void) {
- coord_t width, height;
+ gCoord width, height;
// Initialize and clear the display
gfxInit();
diff --git a/demos/modules/gdisp/fonts/main.c b/demos/modules/gdisp/fonts/main.c
index a0d888dc..d7852a93 100644
--- a/demos/modules/gdisp/fonts/main.c
+++ b/demos/modules/gdisp/fonts/main.c
@@ -30,9 +30,9 @@
#include "gfx.h"
int main(void) {
- coord_t width, y;
+ gCoord width, y;
font_t font1, font2;
- coord_t fheight1, fheight2;
+ gCoord fheight1, fheight2;
const char *line1, *line2;
char buf[8];
diff --git a/demos/modules/gdisp/images/main.c b/demos/modules/gdisp/images/main.c
index 6a2e4418..a394bd2e 100644
--- a/demos/modules/gdisp/images/main.c
+++ b/demos/modules/gdisp/images/main.c
@@ -39,7 +39,7 @@
static gdispImage myImage;
int main(void) {
- coord_t swidth, sheight;
+ gCoord swidth, sheight;
// Initialize uGFX and the underlying system
gfxInit();
diff --git a/demos/modules/gdisp/images_animated/main.c b/demos/modules/gdisp/images_animated/main.c
index a50e593f..09d46304 100644
--- a/demos/modules/gdisp/images_animated/main.c
+++ b/demos/modules/gdisp/images_animated/main.c
@@ -54,7 +54,7 @@ static gdispImage myImage;
* Orange - Decoding a frame has produced an error.
*/
int main(void) {
- coord_t swidth, sheight, errx, erry, errcx, errcy;
+ gCoord swidth, sheight, errx, erry, errcx, errcy;
delaytime_t delay;
gfxInit(); // Initialize the display
diff --git a/demos/modules/gdisp/multiple_displays/main.c b/demos/modules/gdisp/multiple_displays/main.c
index ea05507b..b753fc04 100644
--- a/demos/modules/gdisp/multiple_displays/main.c
+++ b/demos/modules/gdisp/multiple_displays/main.c
@@ -45,8 +45,8 @@
#if USE_METHOD_1
int main(void) {
- coord_t width, height;
- coord_t display, i, j, cnt;
+ gCoord width, height;
+ gCoord display, i, j, cnt;
font_t f;
GDisplay *g;
char buf[16];
@@ -89,8 +89,8 @@
}
#else
int main(void) {
- coord_t width, height;
- coord_t display, i, j, cnt;
+ gCoord width, height;
+ gCoord display, i, j, cnt;
font_t f;
char buf[16];
diff --git a/demos/modules/gdisp/pixmap/main.c b/demos/modules/gdisp/pixmap/main.c
index 975611c8..ce9a4a13 100644
--- a/demos/modules/gdisp/pixmap/main.c
+++ b/demos/modules/gdisp/pixmap/main.c
@@ -36,8 +36,8 @@ static GDisplay* pixmap;
static pixel_t* surface;
int main(void) {
- coord_t width, height;
- coord_t i, j;
+ gCoord width, height;
+ gCoord i, j;
// Initialize and clear the display
gfxInit();
diff --git a/demos/modules/gdisp/polygons/main.c b/demos/modules/gdisp/polygons/main.c
index f91a5cdd..6b3896fe 100644
--- a/demos/modules/gdisp/polygons/main.c
+++ b/demos/modules/gdisp/polygons/main.c
@@ -69,7 +69,7 @@ static gPoint oldresult[NUM_POINTS];
int main(void) {
- coord_t width, height;
+ gCoord width, height;
mtype scalex, scaley;
mtype scaleincx, scaleincy;
mtype translatex, translatey;
diff --git a/demos/modules/gdisp/streaming/main.c b/demos/modules/gdisp/streaming/main.c
index a360ecc2..695b15b6 100644
--- a/demos/modules/gdisp/streaming/main.c
+++ b/demos/modules/gdisp/streaming/main.c
@@ -57,9 +57,9 @@
#define SHADOWALPHA (255-255*0.2)
int main(void) {
- coord_t width, height, x, y, radius, ballx, bally, dx, floor;
- coord_t minx, miny, maxx, maxy;
- coord_t ballcx, ballcy;
+ gCoord width, height, x, y, radius, ballx, bally, dx, floor;
+ gCoord minx, miny, maxx, maxy;
+ gCoord ballcx, ballcy;
color_t colour;
float ii, spin, dy, spinspeed, h, f, g;