Leave 15px free to the edges

This commit is contained in:
2023-04-04 17:22:41 +02:00
parent e83afdc75c
commit 8d701669e4
32 changed files with 2353 additions and 4832 deletions

View File

@ -18,6 +18,7 @@ struct Typography
static const touchgfx::FontId CHINAT_SMALL = 2;
static const touchgfx::FontId CHINAT_HUGE = 3;
static const touchgfx::FontId NUMBERS = 4;
static const touchgfx::FontId DEFAULT_BOLD = 5;
};
struct TypographyFontIndex
@ -27,7 +28,8 @@ struct TypographyFontIndex
static const touchgfx::FontId CHINAT_SMALL = 2; // CHINN____20_4bpp
static const touchgfx::FontId CHINAT_HUGE = 3; // CHINN____40_4bpp
static const touchgfx::FontId NUMBERS = 4; // lucon_TTF_50_4bpp
static const uint16_t NUMBER_OF_FONTS = 5;
static const touchgfx::FontId DEFAULT_BOLD = 5; // verdanab_20_4bpp
static const uint16_t NUMBER_OF_FONTS = 6;
};
class ApplicationFontProvider : public touchgfx::FontProvider