- introduce Font Awesome iconfont

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-10-31 00:03:07 +02:00
committed by Thilo Graf
parent 12de0419d0
commit 9f38a653fb
10 changed files with 141 additions and 0 deletions

View File

@@ -2748,6 +2748,8 @@ void CNeutrinoApp::SetupFonts(int fmode)
neutrinoFonts->refreshDynFonts();
}
neutrinoFonts->SetupIconFont();
/* recalculate infobar position */
if (g_InfoViewer)
g_InfoViewer->start();
@@ -5503,6 +5505,7 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
delete g_fixedFontRenderer;
delete g_dynFontRenderer;
delete g_shellFontRenderer;
delete g_iconFontRenderer;
delete hint;
@@ -6112,6 +6115,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;
@@ -6198,6 +6204,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)
{