aboutsummaryrefslogtreecommitdiffstats
path: root/src/Components/Gfx/Gfx.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2019-12-07 19:15:33 +0100
committerJF <jf@codingfield.com>2019-12-07 19:15:33 +0100
commit528fc5661679feeef91e76d633c94c945bb0a3df (patch)
treedba56aaf213dfa7eba9692293e1915fccd344be7 /src/Components/Gfx/Gfx.h
parent6fbb6c8f70b2103fd88d8d9da3ce884a283b1bfd (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Components/Gfx/Gfx.h b/src/Components/Gfx/Gfx.h
index 72293de9..4e3b49cf 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;