diff options
author | JF <jf@codingfield.com> | 2020-01-18 18:17:52 +0100 |
---|---|---|
committer | JF <jf@codingfield.com> | 2020-01-18 18:17:52 +0100 |
commit | f049f382f03c946b967e1a53368c82f845299cb4 (patch) | |
tree | ca3da186765e5d0bc89a310d2c648bc12ff189d3 /src/Components/Gfx/Gfx.h | |
parent | f14ba4a7e336607f88548963213100cf1478290c (diff) |
Encapsulate the drawing of the screen into Screens classes.
Diffstat (limited to 'src/Components/Gfx/Gfx.h')
-rw-r--r-- | src/Components/Gfx/Gfx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Components/Gfx/Gfx.h b/src/Components/Gfx/Gfx.h index bc450846..9bd07fee 100644 --- a/src/Components/Gfx/Gfx.h +++ b/src/Components/Gfx/Gfx.h @@ -11,6 +11,7 @@ namespace Pinetime { class Gfx { public: explicit Gfx(Drivers::St7789& lcd); + void Init(); 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); |