From d5b3844dcc6b79b4ed5d15087bc06ce0fba442b2 Mon Sep 17 00:00:00 2001 From: kamel5 Date: Sat, 31 Mar 2018 14:29:41 +0200 Subject: [PATCH] Show vdr's switchtimer --- epggrid.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/epggrid.c b/epggrid.c index 80dbc8e..47768fe 100644 --- a/epggrid.c +++ b/epggrid.c @@ -158,7 +158,11 @@ void cEpgGrid::drawText() { LOCK_TIMERS_READ; timer = Timers->GetMatch(event); if (timer) - if (timer->HasFlags(tfActive)) +#ifdef USE_SWITCHONLY + if (timer->HasFlags(tfSwitchOnly)) + drawIcon("Switch", theme.Color(clrButtonYellow)); +#endif /* SWITCHONLY */ + else if (timer->HasFlags(tfActive)) drawIcon("REC", theme.Color(clrButtonRed)); else drawIcon("REC", theme.Color(clrButtonGreen));