Create Mission Select screen
This commit is contained in:
@ -12,11 +12,11 @@ touchgfx::Font* ApplicationFontProvider::getFont(touchgfx::FontId typography)
|
||||
case Typography::DEFAULT:
|
||||
// verdana_20_4bpp
|
||||
return const_cast<touchgfx::Font*>(TypedTextDatabase::getFonts()[0]);
|
||||
case Typography::LARGE:
|
||||
// verdana_40_4bpp
|
||||
case Typography::CHINAT_LARGE:
|
||||
// CHINN____30_4bpp
|
||||
return const_cast<touchgfx::Font*>(TypedTextDatabase::getFonts()[1]);
|
||||
case Typography::SMALL:
|
||||
// verdana_10_4bpp
|
||||
case Typography::CHINAT_SMALL:
|
||||
// CHINN____20_4bpp
|
||||
return const_cast<touchgfx::Font*>(TypedTextDatabase::getFonts()[2]);
|
||||
default:
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user