summaryrefslogtreecommitdiff
path: root/shared-bindings/displayio/Group.h
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2021-02-27Remove max_size from displayio.GroupRadomir Dopieralski
Still accept it as an argument. Add deprecation note.
2019-09-03Add .hidden to TileGrid and GroupScott Shawcroft
This allows for one to preserve ordering within a Group while hiding something temporarily. Fixes #1688
2019-05-15Add index and remove to Group.Scott Shawcroft
2019-05-13Check native object in case of early accessScott Shawcroft
If a native displayio object is accessed before it's super().__init__() has been called, then a placeholder is given that will cause a crash if accessed. This is tricky to get right so we detect this case and raise a NotInplementedError instead of crashing. Fixes #1881
2019-03-12Accept x and y kwargs into Group for initial position.Scott Shawcroft
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
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
2018-08-31Introduce displayio to render graphics to displays.Scott Shawcroft
It's designed to minimize RAM footprint by using Sprites to represent objects on the screen. The object model also facilitates partial screen updating which reduces the bandwidth needed to display. This is all handled in C. Python simply manipulates the objects with the ability to synchronize to frame timing.