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/DisplayApp/DisplayApp.h | |
| parent | 6fbb6c8f70b2103fd88d8d9da3ce884a283b1bfd (diff) | |
The font is now fixed width.
HUGE performance improvement of the display driver.
Diffstat (limited to 'src/DisplayApp/DisplayApp.h')
| -rw-r--r-- | src/DisplayApp/DisplayApp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/DisplayApp/DisplayApp.h b/src/DisplayApp/DisplayApp.h index 0fb6baf..8b5cb4e 100644 --- a/src/DisplayApp/DisplayApp.h +++ b/src/DisplayApp/DisplayApp.h @@ -22,6 +22,12 @@ namespace Pinetime { std::unique_ptr<Drivers::St7789> lcd; std::unique_ptr<Components::Gfx> gfx; const FONT_INFO largeFont {lCD_70ptFontInfo.height, lCD_70ptFontInfo.startChar, lCD_70ptFontInfo.endChar, lCD_70ptFontInfo.spacePixels, lCD_70ptFontInfo.charInfo, lCD_70ptFontInfo.data}; + void Refresh(); + + uint8_t seconds = 0; + uint8_t minutes = 0; + uint8_t hours = 0; + char currentChar[4]; }; } } |
