summaryrefslogtreecommitdiff
path: root/watch.c
diff options
context:
space:
mode:
authoranbr <vdr07@deltab.de>2010-07-12 17:21:45 +0200
committeranbr <vdr07@deltab.de>2010-07-12 17:21:45 +0200
commit795517ea2e7044e4f4a0fef55a4cc9f07e5355bd (patch)
treeb09508bdd9c123a4b61555d5a275ac0ed328477f /watch.c
parent387018c94f7cd138cba5fe85eb0c5c58a0a7f00c (diff)
downloadvdr-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.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/watch.c b/watch.c
index c0d9525..b36f157 100644
--- a/watch.c
+++ b/watch.c
@@ -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);