CNeutrinoFonts: Use separate font renderer for dynamic fonts

- delete / initialize font renderer only if necessary
  (e.g. start program, change the font file, change the scaling)
This commit is contained in:
Michael Liebmann
2013-07-26 12:52:27 +02:00
parent 94b2ebda44
commit e473df6a43
7 changed files with 92 additions and 42 deletions

View File

@@ -87,6 +87,7 @@ NEUTRINO_CPP CSectionsdClient *g_Sectionsd;
NEUTRINO_CPP CTimerdClient *g_Timerd;
NEUTRINO_CPP FBFontRenderClass *g_fontRenderer;
NEUTRINO_CPP FBFontRenderClass *g_dynFontRenderer;
NEUTRINO_CPP Font * g_Font[SNeutrinoSettings::FONT_TYPE_COUNT];
NEUTRINO_CPP Font * g_SignalFont;