diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-01-27 11:50:59 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-01-27 11:50:59 +0100 |
commit | e62ea368e8b037cfa11e6c9cc3342a5a6723ea86 (patch) | |
tree | c5a6c4a5de6cfdf50396cfc5c75faf343f39aae0 /epggrid.c | |
parent | c1fe8a8dfda6f25f897afeab4e2bd781a48b27bc (diff) | |
download | vdr-plugin-tvguide-e62ea368e8b037cfa11e6c9cc3342a5a6723ea86.tar.gz vdr-plugin-tvguide-e62ea368e8b037cfa11e6c9cc3342a5a6723ea86.tar.bz2 |
Change in cEpgGrid::SetTimer
Diffstat (limited to 'epggrid.c')
-rw-r--r-- | epggrid.c | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -69,7 +69,7 @@ void cEpgGrid::SetTimer() { hasTimer = true;
else
hasTimer = false;
-#if VDRVERSNUM >= 20401
+#if VDRVERSNUM >= 30400
} else if (event->HasTimer()) {
hasTimer = true;
#else
@@ -109,16 +109,6 @@ void cEpgGrid::drawText() { colorTextBack = (active)?theme.Color(clrGridActiveFontBack):theme.Color(clrGridFontBack);
else
colorTextBack = clrTransparent;
-/* if (hasSwitchTimer)
- colorTextBack = theme.Color(clrButtonYellow);
- if (hasTimer) {
- LOCK_TIMERS_READ;
- timer = Timers->GetMatch(event);
- if (timer && timer->HasFlags(tfActive))
- colorTextBack = theme.Color(clrButtonRed);
- else
- colorTextBack = theme.Color(clrButtonGreen);
- }*/
if (tvguideConfig.displayMode == eVertical) {
if (Height()/geoManager.minutePixel < 6)
return;
|