Show vdr's switchtimer

This commit is contained in:
kamel5 2018-03-31 14:29:41 +02:00 committed by kamel5
parent 2ed3344bb9
commit d5b3844dcc

View File

@ -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));