Endurance view

This commit is contained in:
2024-06-10 22:09:21 +02:00
parent e23389a0b9
commit 5a66f9bc54
36 changed files with 2154 additions and 170 deletions

View File

@ -21,6 +21,7 @@ struct Typography
static const touchgfx::FontId DEFAULT_BOLD = 5;
static const touchgfx::FontId NUMBERS_SMALLER = 6;
static const touchgfx::FontId NUMBERS_SMALL = 7;
static const touchgfx::FontId NUMBERS_HUGE = 8;
};
struct TypographyFontIndex
@ -33,7 +34,8 @@ struct TypographyFontIndex
static const touchgfx::FontId DEFAULT_BOLD = 5; // verdanab_20_4bpp
static const touchgfx::FontId NUMBERS_SMALLER = 6; // lucon_TTF_33_4bpp
static const touchgfx::FontId NUMBERS_SMALL = 7; // lucon_TTF_20_4bpp
static const uint16_t NUMBER_OF_FONTS = 8;
static const touchgfx::FontId NUMBERS_HUGE = 8; // lucon_TTF_80_4bpp
static const uint16_t NUMBER_OF_FONTS = 9;
};
class ApplicationFontProvider : public touchgfx::FontProvider