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

@ -10,13 +10,15 @@ extern touchgfx::GeneratedFont& getFont_CHINN____30_4bpp();
extern touchgfx::GeneratedFont& getFont_CHINN____20_4bpp();
extern touchgfx::GeneratedFont& getFont_CHINN____40_4bpp();
extern touchgfx::GeneratedFont& getFont_lucon_TTF_50_4bpp();
extern touchgfx::GeneratedFont& getFont_verdanab_20_4bpp();
const touchgfx::Font* touchgfx_fonts[] = {
&(getFont_verdana_20_4bpp()),
&(getFont_CHINN____30_4bpp()),
&(getFont_CHINN____20_4bpp()),
&(getFont_CHINN____40_4bpp()),
&(getFont_lucon_TTF_50_4bpp())
&(getFont_lucon_TTF_50_4bpp()),
&(getFont_verdanab_20_4bpp())
};
extern const touchgfx::TypedText::TypedTextData typedText_database_DEFAULT[];
@ -24,7 +26,7 @@ extern const touchgfx::TypedText::TypedTextData* const typedTextDatabaseArray[];
TEXT_LOCATION_FLASH_PRAGMA
const touchgfx::TypedText::TypedTextData typedText_database_DEFAULT[] TEXT_LOCATION_FLASH_ATTRIBUTE = {
{ 0, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR },
{ 5, touchgfx::LEFT, touchgfx::TEXT_DIRECTION_LTR },
{ 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR },
{ 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR },
{ 2, touchgfx::CENTER, touchgfx::TEXT_DIRECTION_LTR },
@ -124,6 +126,9 @@ void resetFont(touchgfx::FontId fontId)
case 4:
touchgfx_fonts[4] = &(getFont_lucon_TTF_50_4bpp());
break;
case 5:
touchgfx_fonts[5] = &(getFont_verdanab_20_4bpp());
break;
}
}
} // namespace TypedTextDatabase