introduce Font Awesome iconfont

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7406f94ae8
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-10-31 (Sun, 31 Oct 2021)

Origin message was:
------------------
- introduce Font Awesome iconfont

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-10-31 00:03:07 +02:00
parent 6004493a21
commit cb0b33a205
10 changed files with 141 additions and 0 deletions

View File

@@ -2795,6 +2795,8 @@ void CNeutrinoApp::SetupFonts(int fmode)
neutrinoFonts->refreshDynFonts();
}
neutrinoFonts->SetupIconFont();
/* recalculate infobar position */
if (g_InfoViewer)
g_InfoViewer->start();
@@ -5620,6 +5622,7 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
delete g_fixedFontRenderer;
delete g_dynFontRenderer;
delete g_shellFontRenderer;
delete g_iconFontRenderer;
delete hint;
@@ -6226,6 +6229,9 @@ void CNeutrinoApp::Cleanup()
printf("cleanup g_shellFontRenderer\n"); fflush(stdout);
delete g_shellFontRenderer; g_shellFontRenderer = NULL;
printf("cleanup g_iconFontRenderer\n"); fflush(stdout);
delete g_iconFontRenderer; g_iconFontRenderer = NULL;
printf("cleanup g_PicViewer\n"); fflush(stdout);
delete g_PicViewer; g_PicViewer = NULL;
@@ -6312,6 +6318,9 @@ void CNeutrinoApp::Cleanup()
printf("cleanup g_ShellFont\n"); fflush(stdout);
delete g_ShellFont; g_ShellFont = NULL;
printf("cleanup g_IconFont\n"); fflush(stdout);
delete g_IconFont; g_IconFont = NULL;
printf("cleanup g_settings.usermenu[]\n"); fflush(stdout);
for (unsigned int i = 0; i < g_settings.usermenu.size(); ++i)
{