Add AMI screen

This commit is contained in:
2023-03-07 22:35:12 +01:00
parent d26339e265
commit 81b7a23a34
43 changed files with 1447 additions and 45 deletions

View File

@ -16,6 +16,7 @@ struct Typography
static const touchgfx::FontId DEFAULT = 0;
static const touchgfx::FontId CHINAT_LARGE = 1;
static const touchgfx::FontId CHINAT_SMALL = 2;
static const touchgfx::FontId CHINAT_HUGE = 3;
};
struct TypographyFontIndex
@ -23,7 +24,8 @@ struct TypographyFontIndex
static const touchgfx::FontId DEFAULT = 0; // verdana_20_4bpp
static const touchgfx::FontId CHINAT_LARGE = 1; // CHINN____30_4bpp
static const touchgfx::FontId CHINAT_SMALL = 2; // CHINN____20_4bpp
static const uint16_t NUMBER_OF_FONTS = 3;
static const touchgfx::FontId CHINAT_HUGE = 3; // CHINN____40_4bpp
static const uint16_t NUMBER_OF_FONTS = 4;
};
class ApplicationFontProvider : public touchgfx::FontProvider