summaryrefslogtreecommitdiff
path: root/shared-bindings/displayio/ColorConverter.c
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2020-11-25displayio: Fix ColorConverter make_* methodsarturo182
2020-10-19displayio: Update docs for ColorConverter's make_opaqueJensen Kuras
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2020-10-16displayio: Add in opaque pixel option for futureJensen
2020-10-14displayio: Remove verbose errorJensen
2020-10-14displayio: ColorConverter handle if opaque color is blackJensen
2020-10-12displayio: Add make_transparent to ColorConverterJensen
2020-10-12displayio: Add make_transparent and make_opaque to ColorConvertorJensen
2020-10-12displayio: Pass transparent_color to ColorConverterJensen
Signed-off-by: Jensen <jensechu@gmail.com>
2020-07-27Fix several type hintsTaku Fukada
2020-07-03Made every init return Nonedherrada
2020-07-03Added type hints to displayiodherrada
2020-06-03Fix up end of file and trailing whitespace.Diego Elio Pettenò
This can be enforced by pre-commit, but correct it separately to make it easier to review.
2020-05-12Swap sphinx to autoapi and the inline stubsScott Shawcroft
2020-05-07Did board, digitalio, displayiodherrada
2019-09-08Set dither default to False and document itScott Shawcroft
2019-09-06Use kwargs for dither in ColorConverter constructorMatthew Newberg
2019-09-06Fix comment on color converterMatthew Newberg
2019-09-05Move dither parameter to ColorConverter constructor and parameterMatthew Newberg
2019-07-19Review feedback including NO_BRIGHTNESS_COMMAND macroScott Shawcroft
2019-07-19Add support for grayscale displays that are < 8 bit depth.Scott Shawcroft
This also improves Palette so it stores the original RGB888 colors. Lastly, it adds I2CDisplay as a display bus to talk over I2C. Particularly useful for the SSD1306. Fixes #1828. Fixes #1956
2019-02-11A variety of displayio improvementsScott Shawcroft
This changes a number of things in displayio: * Introduces BuiltinFont and Glyph so the built in font can be used by libraries. For boards with a font it is available as board.TERMINAL_FONT. Fixes #1172 * Remove _load_row from Bitmap in favor of bitmap[] access. Index can be x/y tuple or overall index. Fixes #1191 * Add width and height properties to Bitmap. * Add insert and [] access to Group. Fixes #1518 * Add index param to pop on Group. * Terminal no longer takes unicode character info. It takes a BuiltinFont instead. * Fix Terminal's handling of [###D vt100 commands used when up arrowing into repl history. * Add x and y positions to Group plus scale as well. * Add bitmap accessor for BuiltinFont
2019-01-14Add subclass support to displayio.Scott Shawcroft
Also, swap make_news to accept a kwarg map and refine param checking. Fixes #1237
2018-09-12Add OnDiskBitmap which loads pixel data straight from disk.Scott Shawcroft
Also, renamed Sprite's palette to pixel_shader so it can be anything that produces colors based on values (including color values). Added a ColorConverter that converts RGB888 (found in bitmaps) to RGB565 for the display. Fixes #1182