From 6edd3db19e0e1ca852be2dcf0ed18ddecf4ffb55 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 2 Mar 2016 09:10:15 +0100 Subject: [PATCH] CNeutrinoApp: add signal OnAfterSetupFonts This allows to implement methodes already inside classes without any additional external var constructions. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/a87d16f62aad1950419694dedc9476f0db7afc46 Author: Thilo Graf Date: 2016-03-02 (Wed, 02 Mar 2016) ------------------ This commit was generated by Migit --- src/neutrino.cpp | 1 + src/neutrino.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index e5b85fb50..a31dcdb47 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -1742,6 +1742,7 @@ void CNeutrinoApp::SetupFonts(int fmode) /* recalculate infobar position */ if (g_InfoViewer) g_InfoViewer->start(); + OnAfterSetupFonts(); } /************************************************************************************** diff --git a/src/neutrino.h b/src/neutrino.h index 17508a1f2..d37880b3d 100644 --- a/src/neutrino.h +++ b/src/neutrino.h @@ -239,6 +239,7 @@ public: void screensaver(bool); //signal/event handler before restart of neutrino gui sigc::signal OnBeforeRestart; + sigc::signal OnAfterSetupFonts; void channelRezap(); }; #endif