Commit Graph

656 Commits

Author SHA1 Message Date
Bodmer 611ca4b223
Update Sprite.cpp 2020-03-20 02:30:26 +00:00
Bodmer cb87759bad
Update README.md 2020-03-20 00:50:56 +00:00
Bodmer 16b717d006 Merge branch 'master' of https://github.com/Bodmer/TFT_eSPI 2020-03-20 00:49:06 +00:00
Bodmer 1118b45470 Update README.md 2020-03-20 00:48:50 +00:00
Bodmer b3db931dc5
Move label 2020-03-20 00:34:26 +00:00
Bodmer 7f7cc24b00 Add new animated dial example
See Sprite "Animated_dial" example.
2020-03-20 00:30:12 +00:00
Bodmer bdf2c9ba75
Fix #572 2020-03-19 22:20:48 +00:00
Bodmer ac8845d589 Fix #566 plus others
Fix image rendering issue.
Deprecate use of pushColors.
Improve ES8266 image rendering performance for ESP8266 and ILI9488.
Add getTextPadding().
2020-03-07 16:26:44 +00:00
Bodmer 65ccbf0139 STM32 update
Boost performance for ILI9488 display with STM32 processors.
Enable smooth fonts in setup files (smooth fonts for STM32 processors is now supported with fonts in program memory)
2020-03-02 22:25:39 +00:00
Bodmer ed160f6476 Raise version 2020-03-01 18:42:01 +00:00
Bodmer 0161814c9a Add smooth font wrapping in a Sprite
See #558
2020-03-01 18:40:54 +00:00
Bodmer ef21c44a28 Add more smooth font examples
The extra examples use smooth fonts stored in arrays and thus can run on STM32 processors which do not support SPIFFS.
2020-02-18 01:41:34 +00:00
Bodmer 8d163618bb Add parallel TFT readRectRGB(), fix #548 2020-02-17 21:43:13 +00:00
Bodmer 55e97ffe33
Fix #539 2020-02-16 18:50:39 +00:00
Bodmer da9de94fb1 Raise version 2020-02-16 17:07:55 +00:00
Bodmer db7a9987d3 Increase precision for Sprite to Sprite rotations
Based on pull request #543
2020-02-16 17:06:58 +00:00
Bodmer 83d202dd08
Merge pull request #543 from lovyan03/master
update: pushRotated tweak.
2020-02-16 16:57:28 +00:00
Bodmer 0fd8803ba2 Add smooth fonts in program memory for ESP32/8266
The 4 new smooth font  "Font_Demo_1/2/3/4_Array" examples now work on ESP32 and ESP8266.
2020-02-15 23:58:21 +00:00
Bodmer 771b52f841
Fix #546 2020-02-15 11:28:31 +00:00
Bodmer eac96793a1 Update ReadMe
Delete data folders.
Ass missing headers to Font_Demo_1_Array example.
2020-02-15 00:02:01 +00:00
Bodmer c689b4211d Add FLASH based anti-aliased fonts
Processors (such as STM32) that are not supported by a SPIFFS library can now use anti-aliased (smooth) fonts stored in FLASH (program) memory.
2020-02-14 23:54:37 +00:00
lovyan03 39fe08f987 update: pushRotated tweak. 2020-02-11 12:50:04 +09:00
Bodmer d2270c3611
Update Setup29_ILI9341_STM32.h 2020-02-09 06:48:15 +00:00
Bodmer 91574c87e9
Update Setup30_ILI9341_Parallel_STM32.h 2020-02-09 06:28:29 +00:00
Bodmer 4941ae55ed Update Setup31_ST7796_Parallel_STM32.h 2020-02-09 06:26:12 +00:00
Bodmer 73ff949364 Update Setup32_ILI9341_STM32F103.h 2020-02-09 06:23:21 +00:00
Bodmer 938d2ee5d2
Correct comment 2020-02-09 06:18:47 +00:00
Bodmer 443be934a7 Add PSRAM switch
Typical use to disable use of PSRAM for the sprite storage:
sprite.setAttribute(PSRAM_ENABLE, false); // true to enable
Minor update for recent button class update
2020-02-06 20:34:36 +00:00
Bodmer 87aca91218 Merge branch 'master' of https://github.com/Bodmer/TFT_eSPI 2020-02-06 13:38:13 +00:00
Bodmer 15c137633a Raise version add comments for button update 2020-02-06 13:38:03 +00:00
Bodmer 135604b59c
Merge pull request #541 from justcallmekoko/master
Fixes button text alignment and added keyword
2020-02-06 13:20:53 +00:00
Bodmer 7841015043 Revert "Revert "Merge pull request #540 from justcallmekoko/master""
This reverts commit 38a057762f.
2020-02-06 13:20:17 +00:00
Just Call Me Koko ec6739c013 Add setLabelDatum to keywords 2020-02-05 22:24:33 -05:00
Just Call Me Koko b734b81e6b Fix center aligned button text 2020-02-05 22:21:02 -05:00
Bodmer 38a057762f Revert "Merge pull request #540 from justcallmekoko/master"
This reverts commit 6dec790e8d, reversing
changes made to 8146ac3015.
2020-02-06 01:43:42 +00:00
Bodmer 6dec790e8d
Merge pull request #540 from justcallmekoko/master
Add setLabelDatum
2020-02-05 20:05:31 +00:00
justcallmekoko 2b1147c6e8 Add setLabelDatum 2020-02-05 14:13:58 -05:00
Bodmer 8146ac3015
Move include for User_Setup_Select.h (#537)
Requested change in #537
2020-02-02 17:32:46 +00:00
Bodmer c8530d7ae4 4 bpp Sprite bug fix
OR has precedence over AND so brackets needed.
Remove unused varaible.
2020-02-01 01:43:16 +00:00
Bodmer 8209c00316 Add new alphaBlend functions
Added 24 bit colour handling alphaBlend to reduce precision loss in multiple blend stages (e.g. in 2D colour gradients). Added option for alpha dither to reduce colour banding in gradients with 16 bit colours.

Get rid of compile warnings.
2020-01-30 16:01:36 +00:00
Bodmer 0e0fd75277 Raise to version 2.0.0
The library has been cleaned up as it has got a bit untidy due to the large number of small incremental changes.

4bit Sprite examples renaed to be consistent with others.

alphaBlend example moved to generic folder (alphaBlend fn was moved to TFT_eSPI class).
Added sections + explanatory comments to functions prototypes.

Temporary comments added for potential gotchas for noobs when using DMA.

spi_begin/end functions renamed to reflect functionality. Old fns  retained for backwards compatibility with user setup.h files.
2020-01-26 21:17:49 +00:00
Bodmer b954372859
Merge pull request #528 from kamorris/add_color_maps
Add Sprite 4 bit color depth option with a defined palette of 16 colors. Add new Sprite examples.
2020-01-25 23:01:42 +00:00
kamorris 7fd29d509f Suggested changes from code review
Set font for Transparent_Sprite_Demo_Colormap to correct value (4)
renamed setColorMap to createPalette
renamed cmpPixel to readPixelValue
added setPaletteColor / getPaletteColor
added error check to createPalette
2020-01-25 12:49:29 -08:00
kamorris e019b6dcf6 added color maps and examples 2020-01-24 22:07:45 -08:00
Bodmer 04eacf56c9
Update library.json 2020-01-19 23:55:20 +00:00
Bodmer d129512a2c
Update library.json 2020-01-19 23:50:15 +00:00
Bodmer b6a8f6a8a4
Update library.json 2020-01-14 01:45:02 +00:00
Bodmer 811ee7b8ed
Remove STM32 branch news item 2020-01-12 23:53:34 +00:00
Bodmer 561b488b3c
Remove test setups 2020-01-12 00:10:30 +00:00
Bodmer 7f53a571f4 Add STM32 and generic processor support 2020-01-11 23:32:10 +00:00