From e62ea368e8b037cfa11e6c9cc3342a5a6723ea86 Mon Sep 17 00:00:00 2001 From: kamel5 Date: Sun, 27 Jan 2019 11:50:59 +0100 Subject: Change in cEpgGrid::SetTimer --- epggrid.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'epggrid.c') diff --git a/epggrid.c b/epggrid.c index d73cb20..546c156 100644 --- a/epggrid.c +++ b/epggrid.c @@ -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; -- cgit v1.2.3