mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
Init/deinit theme-declared fonts.
This commit is contained in:
parent
b01f2705de
commit
14a05d4943
|
@ -438,6 +438,11 @@ void GuiTheme::init()
|
||||||
{
|
{
|
||||||
mComponentVector.at(i)->init();
|
mComponentVector.at(i)->init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//fonts are special
|
||||||
|
if(mListFont) mListFont->init();
|
||||||
|
if(mDescFont) mDescFont->init();
|
||||||
|
if(mFastSelectFont) mFastSelectFont->init();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GuiTheme::deinit()
|
void GuiTheme::deinit()
|
||||||
|
@ -446,5 +451,8 @@ void GuiTheme::deinit()
|
||||||
{
|
{
|
||||||
mComponentVector.at(i)->deinit();
|
mComponentVector.at(i)->deinit();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
if(mListFont) mListFont->deinit();
|
||||||
|
if(mDescFont) mDescFont->deinit();
|
||||||
|
if(mFastSelectFont) mFastSelectFont->deinit();
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue