From 528fc5661679feeef91e76d633c94c945bb0a3df Mon Sep 17 00:00:00 2001 From: JF Date: Sat, 7 Dec 2019 19:15:33 +0100 Subject: The font is now fixed width. HUGE performance improvement of the display driver. --- src/DisplayApp/DisplayApp.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/DisplayApp/DisplayApp.h') diff --git a/src/DisplayApp/DisplayApp.h b/src/DisplayApp/DisplayApp.h index 0fb6baf1..8b5cb4e6 100644 --- a/src/DisplayApp/DisplayApp.h +++ b/src/DisplayApp/DisplayApp.h @@ -22,6 +22,12 @@ namespace Pinetime { std::unique_ptr lcd; std::unique_ptr 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]; }; } } -- cgit v1.2.3-70-g09d2