diff options
author | anbr <vdr07@deltab.de> | 2010-07-12 17:21:45 +0200 |
---|---|---|
committer | anbr <vdr07@deltab.de> | 2010-07-12 17:21:45 +0200 |
commit | 795517ea2e7044e4f4a0fef55a4cc9f07e5355bd (patch) | |
tree | b09508bdd9c123a4b61555d5a275ac0ed328477f /watch.c | |
parent | 387018c94f7cd138cba5fe85eb0c5c58a0a7f00c (diff) | |
download | vdr-plugin-targavfd-795517ea2e7044e4f4a0fef55a4cc9f07e5355bd.tar.gz vdr-plugin-targavfd-795517ea2e7044e4f4a0fef55a4cc9f07e5355bd.tar.bz2 |
Add exit mode 'Show only present next timer' (Request #356)
Diffstat (limited to 'watch.c')
-rw-r--r-- | watch.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -136,7 +136,8 @@ void cVFDWatch::close() { cTimer* t = Timers.GetNextActiveTimer(); switch(theSetup.m_nOnExit) { - case eOnExitMode_NEXTTIMER: { + case eOnExitMode_NEXTTIMER: + case eOnExitMode_NEXTTIMER_BLANKSCR: { isyslog("targaVFD: closing, show only next timer."); this->clear(); @@ -156,7 +157,8 @@ void cVFDWatch::close() { this->DrawText(0,0,topic); this->icons(eIconRECORD); } else { - this->DrawText(0,0,tr("None active timer")); + if(theSetup.m_nOnExit == eOnExitMode_NEXTTIMER) + this->DrawText(0,0,tr("None active timer")); this->icons(0); } this->flush(true); |