From 6a839479a7822fd9d885f6adca3dd80e25727edd Mon Sep 17 00:00:00 2001 From: Bodmer Date: Tue, 13 Oct 2020 13:53:49 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 926c500..fe41dff 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ The Sprite class has been updated to remove an inconsistency for the setSwapBytes() function. Although all the examples are unchanged, user sketches may be affected. If the colors of the sprite change when loading this new version 2.2.16 then it may be necessary to change the swap bytes setting, e.g. for a sprite instance "spr" use either: spr.setSwapBytes(true) or spr.setSwapBytes(false) to correct the colour. # News -1. The library now provides a "viewport" capability. See "Viewport_Demo" and "Viewport_graphicstest" examples. When a viewport is defined grpahics will only appear within that window. The coordinate datum by default moves to the top left corner of the viewport, but can optionally remain at top left corner of TFT. The GUIslice library will make use of this feature to speed up the rendering of GUI objects (see #769). +1. The library now provides a "viewport" capability. See "Viewport_Demo" and "Viewport_graphicstest" examples. When a viewport is defined graphics will only appear within that window. The coordinate datum by default moves to the top left corner of the viewport, but can optionally remain at top left corner of TFT. The GUIslice library will make use of this feature to speed up the rendering of GUI objects ([see #769](https://github.com/Bodmer/TFT_eSPI/issues/769)). 2. The library now supports SSD1963 based screen, this has been tested on a [480x800 screen](https://www.buydisplay.com/7-tft-screen-touch-lcd-display-module-w-ssd1963-controller-board-mcu) with an ESP32. The interface is 8 bit parallel only as that controller does not support a SPI interface. From 126aa7dff55437d3eafad82d34fdc4fdaa78a3a2 Mon Sep 17 00:00:00 2001 From: Bodmer Date: Wed, 14 Oct 2020 09:09:40 +0100 Subject: [PATCH 2/2] Update Viewport_Demo.ino Viewport does not need to be constrained to be within TFT area. --- examples/Generic/Viewport_Demo/Viewport_Demo.ino | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/Generic/Viewport_Demo/Viewport_Demo.ino b/examples/Generic/Viewport_Demo/Viewport_Demo.ino index 9e894a2..8391652 100644 --- a/examples/Generic/Viewport_Demo/Viewport_Demo.ino +++ b/examples/Generic/Viewport_Demo/Viewport_Demo.ino @@ -22,9 +22,6 @@ // makes it easier to reposition groups of graphical objects (for example GUI buttons) that have // fixed relative positions. -// The viewport position x, and y coordinates and viewport bounds must be constrained by the -// user sketch to be within the screen boundaries. - #include #include