Brake temps & pressures, total distance

This commit is contained in:
2023-05-19 15:36:23 +02:00
parent 243577fdcc
commit c159d9bda9
27 changed files with 461 additions and 71 deletions

View File

@ -19,17 +19,19 @@ struct Typography
static const touchgfx::FontId CHINAT_HUGE = 3;
static const touchgfx::FontId NUMBERS = 4;
static const touchgfx::FontId DEFAULT_BOLD = 5;
static const touchgfx::FontId NUMBERS_SMALLER = 6;
};
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 touchgfx::FontId CHINAT_HUGE = 3; // CHINN____40_4bpp
static const touchgfx::FontId NUMBERS = 4; // lucon_TTF_50_4bpp
static const touchgfx::FontId DEFAULT_BOLD = 5; // verdanab_20_4bpp
static const uint16_t NUMBER_OF_FONTS = 6;
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 touchgfx::FontId CHINAT_HUGE = 3; // CHINN____40_4bpp
static const touchgfx::FontId NUMBERS = 4; // lucon_TTF_50_4bpp
static const touchgfx::FontId DEFAULT_BOLD = 5; // verdanab_20_4bpp
static const touchgfx::FontId NUMBERS_SMALLER = 6; // lucon_TTF_33_4bpp
static const uint16_t NUMBER_OF_FONTS = 7;
};
class ApplicationFontProvider : public touchgfx::FontProvider