Get started on driver view

This commit is contained in:
2023-03-15 18:43:38 +01:00
parent 641fa3b236
commit 5b6405cf29
47 changed files with 2137 additions and 30 deletions

View File

@ -17,6 +17,7 @@ struct Typography
static const touchgfx::FontId CHINAT_LARGE = 1;
static const touchgfx::FontId CHINAT_SMALL = 2;
static const touchgfx::FontId CHINAT_HUGE = 3;
static const touchgfx::FontId NUMBERS = 4;
};
struct TypographyFontIndex
@ -25,7 +26,8 @@ struct TypographyFontIndex
static const touchgfx::FontId CHINAT_LARGE = 1; // CHINN____30_4bpp
static const touchgfx::FontId CHINAT_SMALL = 2; // CHINN____20_4bpp
static const touchgfx::FontId CHINAT_HUGE = 3; // CHINN____40_4bpp
static const uint16_t NUMBER_OF_FONTS = 4;
static const touchgfx::FontId NUMBERS = 4; // lucon_TTF_50_4bpp
static const uint16_t NUMBER_OF_FONTS = 5;
};
class ApplicationFontProvider : public touchgfx::FontProvider