From 0f74689722feabc334ca1cb5c82002bb7ba479a2 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 9 Nov 2019 12:07:41 +0100 Subject: [PATCH] neutrino.cpp: add signal OnBeforeSetupFonts Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/ab95fde04c553eeaa8a2ee7b167adb90e0d3d380 Author: Thilo Graf Date: 2019-11-09 (Sat, 09 Nov 2019) ------------------ No further description and justification available within origin commit message! ------------------ 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 4e4635c8c..812748428 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2420,6 +2420,7 @@ void CNeutrinoApp::SetupFrameBuffer() void CNeutrinoApp::SetupFonts(int fmode) { + OnBeforeSetupFonts(); if (neutrinoFonts == NULL) neutrinoFonts = CNeutrinoFonts::getInstance(); diff --git a/src/neutrino.h b/src/neutrino.h index 9d3ff6bb1..a2ce23d21 100644 --- a/src/neutrino.h +++ b/src/neutrino.h @@ -233,6 +233,7 @@ public: sigc::signal OnBeforeRestart; sigc::signal OnShutDown; sigc::signal OnAfterSetupFonts; + sigc::signal OnBeforeSetupFonts; void channelRezap(); void g_settings_video_Mode(int value) { g_settings.video_Mode = value; }