Commit Graph

19 Commits

Author SHA1 Message Date
Bodmer 715b4de525 Fix #1148 (RP2040 pgmspace.h warnings) 2021-04-21 22:48:21 +01:00
Bodmer 91c34afc49 Replace deprecated boolean type
Note that Processing sketches (pde type) do not accept bool, so boolean is correct.
2021-03-31 13:52:42 +01:00
Bodmer a7a19be467 Correct typos 2021-03-06 20:05:34 +00:00
Bodmer 9fec44b6ea Implement #896 plus minor changes
When rendering a smooth font in a sprite the anti-aliasing will pick up the sprite background colour if the text background colour is not set.
2020-12-31 17:58:28 +00:00
Bodmer aaf96fa870
Update TFT_Clock_Digital.ino
Fix #795
2020-10-21 16:16:06 +01:00
Bodmer b1f8cae069 Finalise viewport changes 2020-10-13 13:35:03 +01:00
Bodmer 505ca81a70 Complete viewport update 2020-10-11 22:36:02 +01:00
Bodmer d7fdcc0991 Fix #740 and #704
#740: To avoid ambiguity the pushSprite for writing a sprite to another sprite has been renamed pushToSprite

#704: Change to 18 bit colurs for SSD1963 with SPI interface

Remove outdated TFT_SPIFFS_Jpeg example
2020-09-07 22:04:42 +01:00
Bodmer caef4519f3 Improve bounds checking update CS management
Add bounds checking to graphics functions
Rationalise variable types and style used to minimse type casting needs
(this change ended up being a more extensive refactoring than
anticipated - but once started...)
Add version reporting to diagnostic sketch
Boost PDQ graphicstest performance
2019-01-25 14:25:40 +00:00
Bodmer 054a824eb8 Add ESP32 VSPI or HSPI port option + others
If the VSPI port is in use and pins are not accessible (e.g. TTGO
T-Beam)
then add or uncomment the following line in the setup header file:
//#define USE_HSPI_PORT

Minor performance tweaks for ESP32 to minimise the occurence of the slow
transaction overhead.

setAddrWindow now takes xstart, ystart, width and height as inputs

Multi-sample raw touch x and y for noisy displays

Example update for setAddrWindow change compatibility
2019-01-22 18:41:31 +00:00
Bodmer 96228cbf44 Add Sprite rotation and examples
Sprites can be rendered rotated with defined pivot points, 3 new
examples have been added "Rotated_Sprite_1/2/3".
The FLASH bitmap example has been moved to the Generic examples folder.
Boundary checks have been added to pushImage()
A new scrolling and wrapping in a Sprite example has been added.
2019-01-06 01:14:10 +00:00
Bodmer bbacd3a8a3 Fix issue in #110
Array name close[] clashes with a ESP32 function name.
Renamed array to closeX[]
2018-03-22 22:27:09 +00:00
Bodmer ca13757c9b
Allow larger images
width or height over 127 pixels got converted to a negative number!
2017-12-16 01:36:16 +00:00
Bodmer 312b7c1128 Tidy up 8 bit sprite code and fix gugs
Minor tweaks and speed improvements
2017-11-24 14:12:29 +00:00
Bodmer 167dcd5373 Revert 160 x 128 jpeg code 2017-10-17 00:11:13 +01:00
Bodmer 0bcf7eaa6b Correct jpeg decoder image edge rendering
Revert setup file and add setup 10
2017-10-17 00:07:49 +01:00
Bodmer 80b5d91ba4 Fix right edge jpeg image corruption
Jpeg images with non integer number of MCU pixels showed corrupted right
edge. Fix is to concatenate pixels into a contiguous block. Examples
corrected.
2017-10-11 00:59:14 +01:00
Bodmer 15dcc77909 Add jpeg examples for 160x128 display 2017-07-15 23:39:57 +01:00
Bodmer 40d35b1892 Examples menu now based on resolution
Reference to particular drivers in examples have been removed as
multiple display drivers are now supported.
Tabs replaced by spaces in header file by file editor.
RPi TFT with write strobe SPI clock rate dropped to 20MHz (display
cannot cope with new high rate siWriteBlock() function)
2017-04-24 22:35:11 +01:00