Skip to content

Commit 449756e

Browse files
authored
Merge pull request #1152 from tannewt/hallowing
Introduce displayio to render graphics to displays.
2 parents 23b23dd + 86288f1 commit 449756e

39 files changed

+2567
-107
lines changed

locale/circuitpython.pot

Lines changed: 80 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-08-30 23:06-0700\n"
11+
"POT-Creation-Date: 2018-09-06 14:55-0700\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -231,15 +231,15 @@ msgstr ""
231231
msgid "calibration is out of range"
232232
msgstr ""
233233

234-
#: ports/atmel-samd/board_busses.c:39
234+
#: ports/atmel-samd/board_busses.c:39 ports/nrf/board_busses.c:39
235235
msgid "No default I2C bus"
236236
msgstr ""
237237

238-
#: ports/atmel-samd/board_busses.c:64
238+
#: ports/atmel-samd/board_busses.c:64 ports/nrf/board_busses.c:64
239239
msgid "No default SPI bus"
240240
msgstr ""
241241

242-
#: ports/atmel-samd/board_busses.c:91
242+
#: ports/atmel-samd/board_busses.c:91 ports/nrf/board_busses.c:91
243243
msgid "No default UART bus"
244244
msgstr ""
245245

@@ -388,12 +388,12 @@ msgstr ""
388388
msgid "No RX pin"
389389
msgstr ""
390390

391-
#: ports/atmel-samd/common-hal/busio/UART.c:284
391+
#: ports/atmel-samd/common-hal/busio/UART.c:288
392392
msgid "No TX pin"
393393
msgstr ""
394394

395-
#: ports/atmel-samd/common-hal/digitalio/DigitalInOut.c:168
396-
#: ports/nrf/common-hal/digitalio/DigitalInOut.c:158
395+
#: ports/atmel-samd/common-hal/digitalio/DigitalInOut.c:170
396+
#: ports/nrf/common-hal/digitalio/DigitalInOut.c:153
397397
msgid "Cannot get pull while in output mode"
398398
msgstr ""
399399

@@ -426,12 +426,12 @@ msgstr ""
426426
msgid "Failed to allocate RX buffer of %d bytes"
427427
msgstr ""
428428

429-
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c:203
429+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c:205
430430
#: ports/esp8266/common-hal/pulseio/PulseIn.c:151
431431
msgid "pop from an empty PulseIn"
432432
msgstr ""
433433

434-
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c:235
434+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c:237
435435
#: ports/esp8266/common-hal/pulseio/PulseIn.c:182 py/obj.c:420
436436
msgid "index out of range"
437437
msgstr ""
@@ -685,11 +685,11 @@ msgstr ""
685685
msgid "AnalogOut functionality not supported"
686686
msgstr ""
687687

688-
#: ports/nrf/common-hal/busio/UART.c:45 ports/nrf/common-hal/busio/UART.c:49
689-
#: ports/nrf/common-hal/busio/UART.c:53 ports/nrf/common-hal/busio/UART.c:62
690-
#: ports/nrf/common-hal/busio/UART.c:68 ports/nrf/common-hal/busio/UART.c:73
691-
#: ports/nrf/common-hal/busio/UART.c:78 ports/nrf/common-hal/busio/UART.c:83
692-
#: ports/nrf/common-hal/busio/UART.c:88
688+
#: ports/nrf/common-hal/busio/UART.c:43 ports/nrf/common-hal/busio/UART.c:47
689+
#: ports/nrf/common-hal/busio/UART.c:51 ports/nrf/common-hal/busio/UART.c:60
690+
#: ports/nrf/common-hal/busio/UART.c:66 ports/nrf/common-hal/busio/UART.c:71
691+
#: ports/nrf/common-hal/busio/UART.c:76 ports/nrf/common-hal/busio/UART.c:81
692+
#: ports/nrf/common-hal/busio/UART.c:86
693693
msgid "busio.UART not yet implemented"
694694
msgstr ""
695695

@@ -2022,6 +2022,60 @@ msgstr ""
20222022
msgid "Unsupported pull value."
20232023
msgstr ""
20242024

2025+
#: shared-bindings/displayio/Bitmap.c:84
2026+
msgid "y should be an int"
2027+
msgstr ""
2028+
2029+
#: shared-bindings/displayio/Bitmap.c:89
2030+
msgid "row buffer must be a bytearray or array of type 'b' or 'B'"
2031+
msgstr ""
2032+
2033+
#: shared-bindings/displayio/Bitmap.c:94
2034+
msgid "row data must be a buffer"
2035+
msgstr ""
2036+
2037+
#: shared-bindings/displayio/FourWire.c:55
2038+
#: shared-bindings/displayio/FourWire.c:64
2039+
msgid "displayio is a work in progress"
2040+
msgstr ""
2041+
2042+
#: shared-bindings/displayio/Group.c:65
2043+
msgid "Group must have size at least 1"
2044+
msgstr ""
2045+
2046+
#: shared-bindings/displayio/Palette.c:96
2047+
msgid "color buffer must be a bytearray or array of type 'b' or 'B'"
2048+
msgstr ""
2049+
2050+
#: shared-bindings/displayio/Palette.c:102
2051+
msgid "color buffer must be 3 bytes (RGB) or 4 bytes (RGB + pad byte)"
2052+
msgstr ""
2053+
2054+
#: shared-bindings/displayio/Palette.c:106
2055+
msgid "color must be between 0x000000 and 0xffffff"
2056+
msgstr ""
2057+
2058+
#: shared-bindings/displayio/Palette.c:110
2059+
msgid "color buffer must be a buffer or int"
2060+
msgstr ""
2061+
2062+
#: shared-bindings/displayio/Palette.c:123
2063+
#: shared-bindings/displayio/Palette.c:137
2064+
msgid "palette_index should be an int"
2065+
msgstr ""
2066+
2067+
#: shared-bindings/displayio/Sprite.c:45
2068+
msgid "position must be 2-tuple"
2069+
msgstr ""
2070+
2071+
#: shared-bindings/displayio/Sprite.c:87
2072+
msgid "unsupported bitmap type"
2073+
msgstr ""
2074+
2075+
#: shared-bindings/displayio/Sprite.c:152
2076+
msgid "palette must be displayio.Palette"
2077+
msgstr ""
2078+
20252079
#: shared-bindings/gamepad/GamePad.c:100
20262080
msgid "too many arguments"
20272081
msgstr ""
@@ -2236,6 +2290,18 @@ msgstr ""
22362290
msgid "Cannot transfer without MOSI and MISO pins."
22372291
msgstr ""
22382292

2293+
#: shared-module/displayio/Bitmap.c:49
2294+
msgid "Only bit maps of 8 bit color or less are supported"
2295+
msgstr ""
2296+
2297+
#: shared-module/displayio/Bitmap.c:69
2298+
msgid "row must be packed and word aligned"
2299+
msgstr ""
2300+
2301+
#: shared-module/displayio/Group.c:39
2302+
msgid "Group full"
2303+
msgstr ""
2304+
22392305
#: shared-module/struct/__init__.c:39
22402306
msgid "'S' and 'O' are not supported format types"
22412307
msgstr ""

0 commit comments

Comments
 (0)