Wykres commitów

7 Commity (f101ffdb4d995cd0c1e4d0a6791adb014a3ee4b7)

Autor SHA1 Wiadomość Data
Phil Howard 4848e7ba59 PicoGraphics/ST7789/ST3375: Fixup C++ examples and libraries. 2022-06-13 20:12:03 +01:00
Phil Howard b66da12c1b ST7789/PicoDisplay: Update C++ examples. Rename GenericST7789 -> PicoDisplayST7789. 2022-06-13 20:11:09 +01:00
Phil Howard 276528c119 Make font settable by user at runtime
This allows fonts to be hot-swapped out by calling `set_font`

Unfortunately the way fonts are currently stored limits the maximum height to 8 pixels, since that's the size of a uint8_t and the y dimension is bitwise encoded.

The width can be arbitrary, by specifying the widths and max_width (the multiplier for number of bytes per char).

Might be worth grabbing some more bits from 32blit to make this not terrible, but now a user-defined font is an .hpp and a `set_font` away.
2021-03-29 13:33:43 +01:00
Jonathan Williamson 5a7125f803 added copy step for embedded resources to limit symbol name length. wrapped add resource functionality into a cmake function for easy use. 2021-01-17 16:59:58 +00:00
Jonathan Williamson fb5a26d4ac remove unnecessary path qualifiers on output files 2021-01-17 16:31:23 +00:00
Jonathan Williamson 6911719183 example driver for MSA301, ability to embed an image into binary and draw it on screen 2021-01-17 16:05:28 +00:00
Jonathan Williamson 96d702ef9a PicoExplorer library and example, basic text support for PicoGraphics 2021-01-17 07:41:25 +00:00