From 9fbdc2b752a3ae199ef401c137bb43224f4a5cfa Mon Sep 17 00:00:00 2001 From: Tobias Grimm Date: Mon, 31 Jan 2011 20:11:06 +0100 Subject: Reload font settings after leaving the setup menu --- HISTORY | 4 ++++ ttxtsubs.c | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index e54733f..2a74bbc 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,10 @@ VDR Plugin 'ttxtsubs' Revision History -------------------------------------- +2011-xx-xx: Version 0.2.3 +- Made changes in font settings be applied instantly, without the need to + change the channel (patch provided by Rolf Ahrenberg) + 2010-05-08: Version 0.2.2 - Fixed channel retune triggering in VDR patch and updated patch to 1.7.14 (Dropped 1.7.12 and 1.7.13 patch) diff --git a/ttxtsubs.c b/ttxtsubs.c index 1faf0c3..175d26e 100644 --- a/ttxtsubs.c +++ b/ttxtsubs.c @@ -119,6 +119,7 @@ class cPluginTtxtsubs : public cPlugin, public cStatus, public cVDRTtxtsubsHookL public: cPluginTtxtsubs(void); virtual ~cPluginTtxtsubs(); + void Reload(void) { StopTtxt(); StartTtxtPlay(0x000); } // -- cPlugin virtual const char *Version(void) { return VERSION; } @@ -566,7 +567,9 @@ cMenuSetupTtxtsubs::cMenuSetupTtxtsubs(cPluginTtxtsubs *ttxtsubs, int doStore) cMenuSetupTtxtsubs::~cMenuSetupTtxtsubs(void) { - + if(mTtxtsubs) { + mTtxtsubs->Reload(); + } if(mDoStore) { Store(); // Setup.Save(); // Can't get it to write to conf file, menu item disabled. -- cgit v1.2.3