mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Correct view of vdr's switchtimer
This commit is contained in:
parent
f592012442
commit
8f1f2dea33
@ -161,8 +161,10 @@ void cEpgGrid::drawText() {
|
|||||||
#ifdef USE_SWITCHONLY
|
#ifdef USE_SWITCHONLY
|
||||||
if (timer->HasFlags(tfSwitchOnly))
|
if (timer->HasFlags(tfSwitchOnly))
|
||||||
drawIcon("Switch", theme.Color(clrButtonYellow));
|
drawIcon("Switch", theme.Color(clrButtonYellow));
|
||||||
#endif /* SWITCHONLY */
|
|
||||||
else if (timer->HasFlags(tfActive))
|
else if (timer->HasFlags(tfActive))
|
||||||
|
#else /* SWITCHONLY */
|
||||||
|
if (timer->HasFlags(tfActive))
|
||||||
|
#endif /* SWITCHONLY */
|
||||||
drawIcon("REC", theme.Color(clrButtonRed));
|
drawIcon("REC", theme.Color(clrButtonRed));
|
||||||
else
|
else
|
||||||
drawIcon("REC", theme.Color(clrButtonGreen));
|
drawIcon("REC", theme.Color(clrButtonGreen));
|
||||||
|
Loading…
Reference in New Issue
Block a user