circuitpython/shared-module/displayio
Jeff Epler 28bd29eb42 displayio: ColorConverter: fix logic errors about transparent pixels
The transparent_color field was never initialized.  I _think_ this means
its value was always set to 0, or the blackest of blacks.  Instead,
initialize it to the sentinel value, newly given the name
NO_TRANSPARENT_COLOR.

This exposed a second problem: The test for whether there was an existing
transparent color was wrong (backwards).  I am guessing that this was not
found due to the first bug; since the converter had a transparent color,
the correct test would have led to always getting the error "Only one
color can be transparent at a time".

Closes #3723
2020-12-16 13:48:27 -06:00
..
__init__.c remove remaining top level displayio background check 2020-09-30 17:25:58 -05:00
__init__.h sharpmemory: Implement support for Sharp Memory Displays in framebufferio 2020-08-12 07:32:18 -05:00
area.h Add partial display update support. 2019-06-12 11:32:39 -07:00
Bitmap.c Merge adafruit/main latest 2020-08-21 14:37:32 -05:00
Bitmap.h Track a dirty area for in-memory bitmaps 2019-07-18 16:47:28 -07:00
ColorConverter.c displayio: ColorConverter: fix logic errors about transparent pixels 2020-12-16 13:48:27 -06:00
ColorConverter.h displayio: Pass transparent_color to ColorConverter 2020-10-12 20:48:04 -05:00
display_core.c Add grayscale EInk support 2020-10-26 16:59:59 -07:00
display_core.h Merge pull request #3449 from FoamyGuy/sdcard_odb_fix 2020-10-01 10:13:13 -07:00
Display.c displayio: further ensure just one start_terminal call 2020-10-15 15:24:19 -05:00
Display.h Mostly-working-version with comments 2020-09-24 22:07:33 -04:00
EPaperDisplay.c EPaperDisplay: add rotation property 2020-11-18 18:06:31 -06:00
EPaperDisplay.h Add board.DISPLAY to MagTag. Fix luma computation 2020-11-13 18:57:52 -08:00
FourWire.c Add board.DISPLAY to MagTag. Fix luma computation 2020-11-13 18:57:52 -08:00
FourWire.h Add support for grayscale displays that are < 8 bit depth. 2019-07-19 16:06:11 -07:00
Group.c vectorio: clean up after group removal 2020-05-10 15:36:23 -07:00
Group.h Bitpack bools in TileGrid and Group 2019-09-04 10:27:21 -07:00
I2CDisplay.c Add board.DISPLAY to MagTag. Fix luma computation 2020-11-13 18:57:52 -08:00
I2CDisplay.h Add support for grayscale displays that are < 8 bit depth. 2019-07-19 16:06:11 -07:00
mipi_constants.h Minor tweaks based on feedback 2018-09-06 14:49:49 -07:00
OnDiskBitmap.c More cleanup 2019-08-22 16:16:09 -07:00
OnDiskBitmap.h added monochrome, 8bpp indexed, and 32bpp ARGB BMPs 2019-02-28 23:08:12 -08:00
Palette.c Fix Palette grayscale for EInk. 2020-11-18 16:32:07 -08:00
Palette.h Add grayscale EInk support 2020-10-26 16:59:59 -07:00
Shape.c Fix off-by-one error, simplify the logic, add comments 2020-09-10 21:34:03 -05:00
Shape.h Add dirty rectangle tracking to Shape display element 2020-09-04 14:15:15 -05:00
TileGrid.c use full_change instead of moved 2020-11-09 18:14:31 -06:00
TileGrid.h Bitpack bools in TileGrid and Group 2019-09-04 10:27:21 -07:00