CNeutrinoApp: add signal OnAfterSetupFonts

This allows to implement methodes already inside classes without any
additional external var constructions.


Origin commit data
------------------
Commit: a87d16f62a
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-03-02 (Wed, 02 Mar 2016)
This commit is contained in:
2016-03-02 09:10:15 +01:00
parent 3204a2f038
commit 39c87f723b
2 changed files with 2 additions and 0 deletions

View File

@@ -1742,6 +1742,7 @@ void CNeutrinoApp::SetupFonts(int fmode)
/* recalculate infobar position */
if (g_InfoViewer)
g_InfoViewer->start();
OnAfterSetupFonts();
}
/**************************************************************************************

View File

@@ -239,6 +239,7 @@ public:
void screensaver(bool);
//signal/event handler before restart of neutrino gui
sigc::signal<bool> OnBeforeRestart;
sigc::signal<void> OnAfterSetupFonts;
void channelRezap();
};
#endif