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: GraphicsDisplayGIF.cpp
- Revision:
- 198:9b6851107426
- Parent:
- 197:853d08e2fb53
diff -r 853d08e2fb53 -r 9b6851107426 GraphicsDisplayGIF.cpp --- a/GraphicsDisplayGIF.cpp Tue Feb 11 21:51:42 2020 +0000 +++ b/GraphicsDisplayGIF.cpp Sat Mar 28 15:01:38 2020 +0000 @@ -486,15 +486,14 @@ INFO(""); } #else - rect_t restore = windowrect; - window(ScreenX + gif_image_descriptor.image_left_position, + rect_t restore = SetWindow(ScreenX + gif_image_descriptor.image_left_position, ScreenY + gif_image_descriptor.image_top_position, - gif_image_descriptor.image_width, - gif_image_descriptor.image_height); + ScreenX + gif_image_descriptor.image_left_position + gif_image_descriptor.image_width, + ScreenY + gif_image_descriptor.image_top_position + gif_image_descriptor.image_height); pixelStream(cbmp, screen_descriptor.width * screen_descriptor.height, ScreenX + gif_image_descriptor.image_left_position, ScreenY + gif_image_descriptor.image_top_position); - window(restore); + SetWindow(restore); #endif // end write free(cbmp);