mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Show vdr's switchtimer
This commit is contained in:
parent
2ed3344bb9
commit
d5b3844dcc
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user