Library to control a Graphics TFT connected to 4-wire SPI - revised for the Raio RA8875 Display Controller.
Dependents: FRDM_RA8875_mPaint RA8875_Demo RA8875_KeyPadDemo SignalGenerator ... more
Fork of SPI_TFT by
See Components - RA8875 Based Display
Enhanced touch-screen support - where it previous supported both the Resistive Touch and Capacitive Touch based on the FT5206 Touch Controller, now it also has support for the GSL1680 Touch Controller.
Offline Help Manual (Windows chm)
/media/uploads/WiredHome/ra8875.zip.bin (download, rename to .zip and unzip)
Diff: GraphicsDisplay.cpp
- Revision:
- 152:a013ac0133e4
- Parent:
- 146:373d59f08357
- Child:
- 153:8a85efb3eb71
--- a/GraphicsDisplay.cpp Sun Sep 24 02:09:57 2017 +0000 +++ b/GraphicsDisplay.cpp Mon Nov 06 01:41:55 2017 +0000 @@ -89,6 +89,9 @@ : TextDisplay(name) { font = NULL; + global_color_table = NULL; + local_color_table = NULL; + screen_descriptor_isvalid = false; } //GraphicsDisplay::~GraphicsDisplay() @@ -406,6 +409,8 @@ return RenderJpegFile(x,y,FileName); } else if (mystrnicmp(FileName + strlen(FileName) - 4, ".ico", 4) == 0) { return RenderIconFile(x,y,FileName); + } else if (mystrnicmp(FileName + strlen(FileName) - 4, ".gif", 4) == 0) { + return RenderGIFFile(x,y,FileName); } else { return not_supported_format; }