diff options
author | JF <jf@codingfield.com> | 2019-12-07 19:15:33 +0100 |
---|---|---|
committer | JF <jf@codingfield.com> | 2019-12-07 19:15:33 +0100 |
commit | 528fc5661679feeef91e76d633c94c945bb0a3df (patch) | |
tree | dba56aaf213dfa7eba9692293e1915fccd344be7 /src/drivers/St7789.h | |
parent | 6fbb6c8f70b2103fd88d8d9da3ce884a283b1bfd (diff) |
The font is now fixed width.
HUGE performance improvement of the display driver.
Diffstat (limited to 'src/drivers/St7789.h')
-rw-r--r-- | src/drivers/St7789.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/St7789.h b/src/drivers/St7789.h index bd7f9799..97427753 100644 --- a/src/drivers/St7789.h +++ b/src/drivers/St7789.h @@ -12,6 +12,10 @@ namespace Pinetime { void DrawPixel(uint16_t x, uint16_t y, uint32_t color); void FillRectangle(uint16_t x, uint16_t y, uint16_t width, uint16_t height, uint16_t color); + void BeginDrawBuffer(uint16_t x, uint16_t y, uint16_t width, uint16_t height); + void NextDrawBuffer(const uint8_t* data, size_t size); + void EndDrawBuffer(); + private: SpiMaster& spi; |