aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gdisp
diff options
context:
space:
mode:
authorJoel Bodenmann <joel.bodenmann@simulton.com>2019-04-10 17:33:15 +0200
committerJoel Bodenmann <joel.bodenmann@simulton.com>2019-04-10 17:33:15 +0200
commit785047b0aa1d43d5f33ae69d7e0ed708df6db0bd (patch)
treee05a8c17ec9565e458b1cfce8b17e46b84381f57 /demos/modules/gdisp
parent509fc7501e7bd30b1b314fc0d4838d7cdf6ac621 (diff)
downloaduGFX-785047b0aa1d43d5f33ae69d7e0ed708df6db0bd.tar.gz
uGFX-785047b0aa1d43d5f33ae69d7e0ed708df6db0bd.tar.bz2
uGFX-785047b0aa1d43d5f33ae69d7e0ed708df6db0bd.zip
Introduce type gImage to replace v2.x gdispImage
Diffstat (limited to 'demos/modules/gdisp')
-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/images_palettes/main.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/demos/modules/gdisp/images/main.c b/demos/modules/gdisp/images/main.c
index a394bd2e..cdedc52d 100644
--- a/demos/modules/gdisp/images/main.c
+++ b/demos/modules/gdisp/images/main.c
@@ -36,7 +36,7 @@
* The ROMFS uses the file "romfs_files.h" to describe the set of files in the ROMFS.
*/
-static gdispImage myImage;
+static gImage myImage;
int main(void) {
gCoord swidth, sheight;
diff --git a/demos/modules/gdisp/images_animated/main.c b/demos/modules/gdisp/images_animated/main.c
index 0503bcd3..b20c7174 100644
--- a/demos/modules/gdisp/images_animated/main.c
+++ b/demos/modules/gdisp/images_animated/main.c
@@ -39,7 +39,7 @@
#define USE_IMAGE_CACHE GFXOFF // Only if you want to get performance at the expense of RAM
#define MY_BG_COLOR RGB2COLOR(220, 220, 255) // Pale blue so we can see the transparent parts
-static gdispImage myImage;
+static gImage myImage;
#define SHOW_ERROR(color) gdispFillArea(errx, erry, errcx, errcy, color)
diff --git a/demos/modules/gdisp/images_palettes/main.c b/demos/modules/gdisp/images_palettes/main.c
index b9327e52..5ea78107 100644
--- a/demos/modules/gdisp/images_palettes/main.c
+++ b/demos/modules/gdisp/images_palettes/main.c
@@ -40,7 +40,7 @@
#include "gfx.h"
-static gdispImage _imgHome;
+static gImage _imgHome;
int main(void)
{