diff options
| author | JF <jf@codingfield.com> | 2019-12-07 18:15:33 (GMT) |
|---|---|---|
| committer | JF <jf@codingfield.com> | 2019-12-07 18:15:33 (GMT) |
| commit | 528fc5661679feeef91e76d633c94c945bb0a3df (patch) | |
| tree | dba56aaf213dfa7eba9692293e1915fccd344be7 /src/Components/Gfx/Gfx.h | |
| parent | 6fbb6c8f70b2103fd88d8d9da3ce884a283b1bfd (diff) | |
The font is now fixed width.
HUGE performance improvement of the display driver.
Diffstat (limited to 'src/Components/Gfx/Gfx.h')
| -rw-r--r-- | src/Components/Gfx/Gfx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Components/Gfx/Gfx.h b/src/Components/Gfx/Gfx.h index 72293de..4e3b49c 100644 --- a/src/Components/Gfx/Gfx.h +++ b/src/Components/Gfx/Gfx.h @@ -14,7 +14,7 @@ namespace Pinetime { void ClearScreen(); void DrawString(uint8_t x, uint8_t y, uint16_t color, const char* text, const FONT_INFO *p_font, bool wrap); void DrawChar(const FONT_INFO *font, uint8_t c, uint8_t *x, uint8_t y, uint16_t color); - + void FillRectangle(uint8_t x, uint8_t y, uint8_t width, uint8_t height, uint16_t color); private: Drivers::St7789& lcd; |
