summaryrefslogtreecommitdiff
path: root/shared-bindings/displayio
AgeCommit message (Collapse)Author
2019-03-12Update displayio docs to add detail to display bus commentsScott Shawcroft
Fixes #1599
2019-03-12Standardize TileGrid to x and y properties over positionScott Shawcroft
This brings it inline with Group. Also fixes #1613 This also includes a number of fixes for where a method is called through a subclass. We now correctly get the native object. Fixes #1567 Lastly, this adds subscript support to TileGrid for changing tile indices. Similar to Bitmap, it accepts ints or 2-tuples.
2019-03-12Accept x and y kwargs into Group for initial position.Scott Shawcroft
2019-03-07Rework background display task to allow reads from SPI SD card during ↵Dan Halbert
display. Clarify code. Handle multiple displays better.
2019-03-06check display-bus transaction status and act accordinglyDan Halbert
2019-03-06Merge pull request #1601 from penguindustin/masterDan Halbert
added height and width attributes for displayio
2019-03-05changed from mp_int_t to uint16_tDustin Mendoza
2019-03-02changed width and height to be propertiesDustin Mendoza
2019-03-02Fixed the OnDiskBitmap example to reflect code changesBryan Siepert
2019-02-25added height and width attributes for displayioDustin Mendoza
2019-02-14Merge pull request #1548 from tannewt/shape_arg_checkDan Halbert
Arg check width and height into Shape.
2019-02-13Arg check width and height into Shape.Scott Shawcroft
Fixes #1537
2019-02-13A safe mode fix and displayio fixesScott Shawcroft
* Fixes safe mode on the SAMD51. The "preserved" value was being clobbered by the bootloader. * Fixes auto-reload loop when in safe mode. * Fixes reading Group children with []. * Check that a TileGrid actually moves before queueing a refresh.
2019-02-12Update Shape.cTG-Techie
2019-02-12Tweaks based on dhalbert's feedback.Scott Shawcroft
2019-02-11Fixup doc referenceScott 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
2019-02-01Clarify rotation parameterScott Shawcroft
2019-02-01Add support for display rotation and raw commandsScott Shawcroft
Display rotation is relative to the scan order of the display. The scan order can be found by scrolling the display with command 0x37 `display_bus.send(0x37, struct.pack(">H", i % 128))` Fixes #1504
2019-01-31Correct TileGrid class name.Scott Shawcroft
2019-01-31Correctly handle no backlight pin.Scott Shawcroft
2019-01-31Polish up commentsScott Shawcroft
2019-01-31Remove doc reference to SpriteScott Shawcroft
2019-01-31Fix hallowing and nrf buildsScott Shawcroft
2019-01-31Remove Sprite referencesScott Shawcroft
2019-01-31More improvements to Terminal:Scott Shawcroft
* Fix Hallowing. * Fix builds without displayio. * Fix y bounds that appears as untrollable row of pixels. * Add scrolling to TileGrid. * Remove Sprite to save space. TileGrid is a drop in replacement.
2019-01-31Support adjustable backlight brightnessScott Shawcroft
2019-01-31Rudamentary backlight supportScott Shawcroft
2019-01-31Hook up the terminal based on the first display.Scott Shawcroft
2019-01-31Add terminalioScott Shawcroft
2019-01-31Add TileGridScott Shawcroft
2019-01-20adding height and width to OnDiskBitmap for #1460Bryan Siepert
2019-01-18simplify arg checking for displayScott Shawcroft
2019-01-18Improvements thanks to danh's reviewScott Shawcroft
2019-01-18Add a bit more to the docsScott Shawcroft
2019-01-17Fix up nrf and using board.SPI in FourWireScott Shawcroft
2019-01-17share fourwire and make nrf compileScott Shawcroft
2019-01-17Fix other builds and hallowingScott Shawcroft
2019-01-17External fourwire works and blinka splash afterScott Shawcroft
2019-01-16Rework displays in prep for dynamic support and 8bit parallel.Scott Shawcroft
2019-01-14Add subclass support to displayio.Scott Shawcroft
Also, swap make_news to accept a kwarg map and refine param checking. Fixes #1237
2019-01-14Support subclasses of Shape as bitmaps.Scott Shawcroft
2019-01-14Add support for rendering a shape.Scott Shawcroft
Fixes #1171
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-09-06Merge translations and update title underlineScott Shawcroft
2018-09-06Minor tweaks based on feedbackScott Shawcroft
2018-08-31Tweaks based on feedbackScott Shawcroft
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.