Commit Graph

430 Commits

Author SHA1 Message Date
Just Call Me Koko 1200c655f2 Update User_Setup.h 2020-02-05 13:25:34 -05:00
Just Call Me Koko e98b872c11 Remove commented method 2020-02-05 13:25:21 -05:00
Just Call Me Koko d46ec7dded Fix indentation in Button.cpp 2020-02-05 13:25:16 -05:00
Just Call Me Koko 89101c5554 Add setLabelDatum
Adjust label datum and x, y deltas for labels in buttons
2020-02-05 13:23:46 -05:00
Just Call Me Koko ea6c47d928 Create TFT_Button_Label_Datum.ino 2020-02-05 13:23:09 -05:00
Just Call Me Koko 6ef97612ed Update User_Setup.h 2020-02-05 13:23:09 -05:00
Just Call Me Koko 8d2149cac2 Create TFT_Button_Label_Datum.ino 2020-02-05 13:23:08 -05:00
Bodmer dfe9fcea4d Move include for User_Setup_Select.h (#537)
Requested change in #537
2020-02-05 13:23:08 -05:00
Just Call Me Koko c569c8725a Update drawButton comments 2020-02-01 13:58:48 -05:00
Just Call Me Koko 5d345138d7 Add default padding argument 2020-02-01 13:49:17 -05:00
Just Call Me Koko 9b392630f7 Add default padding argument 2020-02-01 13:47:39 -05:00
Just Call Me Koko 225eb1668b Add configurable drawButton function 2020-02-01 13:26:45 -05: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
Bodmer 8342507233 Remove scrap drivers, fix Sprite destructor 2020-01-11 01:27:51 +00:00
Bodmer 3e82aafd2d
Typo 2020-01-11 01:14:32 +00:00
Bodmer 1476da56ba Restructured code, added ST7796
RPi MHS-4.0 inch Display-B type display now supported.
2020-01-11 00:58:38 +00:00
Bodmer b6574ff373
Typo 2020-01-07 17:09:46 +00:00
Bodmer cb59388353
Amend 2020-01-06 22:28:30 +00:00
Bodmer 0d7d8e06ce
Typo 2020-01-06 22:27:01 +00:00
Bodmer 39f859f6e2
Add further tip 2020-01-06 22:25:46 +00:00
Bodmer e94c24e303
Edit tips format 2020-01-05 12:28:21 +00:00
Bodmer fbf4592fc1
Tips typo 2020-01-05 12:26:16 +00:00
Bodmer c54131d9f0
Add tips 2020-01-05 12:23:45 +00:00
Bodmer 6459ddbeea
#503 additional update 2020-01-02 12:38:50 +00:00
Bodmer d02fe55c46
Fix #503
The s60sc Adafruit_Touch library fork for the ESP32 parallel mode uses the TFT_WR pin as an analogue input to read the screen resistance.  The TFT_eSPI library kept TFT_CS low permanently for performance reasons, but when used with the touch library a low analogue value on the TFT_WR pin will write spurious data to the display. 

This change toggle TFT_CS so it is only low during TFT parallel bus writes. The performance reduction is small.
2020-01-02 11:53:50 +00:00
Bodmer 308b46e125
edit 2020-01-02 01:03:02 +00:00
Bodmer bfd6287f19
edit 2020-01-02 01:02:34 +00:00
Bodmer c7af5dd304
Update news 2020-01-02 01:01:05 +00:00
Bodmer 3115285b05
Issue #505
ILI9488 not compliant to datasheet with extra clock pulse?
2020-01-02 00:50:49 +00:00
Bodmer 962cec85aa
Merge pull request #488 from lewisxhe/master
Add TTGO T-Wristband config
2019-12-06 10:34:01 +00:00
lewis 6f972dc980 Add T-Wristband headfile to User_Setup_Select.h 2019-12-05 10:00:04 +08:00
lewis de787e669e Add TTGO T-Wristband config 2019-12-05 09:15:10 +08:00
Bodmer 10078c8325
Fix #473
Update to accommodate smooth font rendering, which need a background colour specified.
2019-11-27 02:36:17 +00:00
Bodmer 34117e4830
Merge pull request #475 from lovyan03/master
Add: Destructor of TFT_eSprite.
2019-11-26 19:10:27 +00:00
lovyan03 7b71a3d8b5 Add: TFT_eSprite destructor. 2019-11-21 15:19:33 +09:00
Bodmer c6faa24494 Update notes for #268 2019-11-11 22:17:14 +00:00
Bodmer 27cde1520d Add #define to set font 2 character 0x60
By default the grave accent will be drawn as a degree symbol, a #define
has been added so it can be swapped back to the grave accent.
2019-11-11 21:53:37 +00:00
Bodmer 7a9c5a8e7d
Merge pull request #469 from lovyan03/lovyan03
Fix TextFont 2 (Font16.c) backslash(0x5c) looks like slash.
2019-11-11 21:30:27 +00:00
lovyan03 943b95ec79 Fix TextFont 2 (Font16.c) backslash(0x5c) looks like slash. 2019-11-11 11:43:18 +09:00