diff options
author | Tobias Grimm <git@e-tobi.net> | 2011-01-31 20:11:06 +0100 |
---|---|---|
committer | Tobias Grimm <git@e-tobi.net> | 2011-01-31 20:11:06 +0100 |
commit | 9fbdc2b752a3ae199ef401c137bb43224f4a5cfa (patch) | |
tree | acf3690d530adf189fe13de963d47551df2d6471 | |
parent | 0c0a27ca39b1822f52ff4e2c159f479361d458e0 (diff) | |
download | vdr-plugin-ttxtsubs-9fbdc2b752a3ae199ef401c137bb43224f4a5cfa.tar.gz vdr-plugin-ttxtsubs-9fbdc2b752a3ae199ef401c137bb43224f4a5cfa.tar.bz2 |
Reload font settings after leaving the setup menu
-rw-r--r-- | HISTORY | 4 | ||||
-rw-r--r-- | ttxtsubs.c | 5 |
2 files changed, 8 insertions, 1 deletions
@@ -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) @@ -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. |