mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Change in cEpgGrid::SetTimer
This commit is contained in:
parent
c1fe8a8dfd
commit
e62ea368e8
12
epggrid.c
12
epggrid.c
@ -69,7 +69,7 @@ void cEpgGrid::SetTimer() {
|
|||||||
hasTimer = true;
|
hasTimer = true;
|
||||||
else
|
else
|
||||||
hasTimer = false;
|
hasTimer = false;
|
||||||
#if VDRVERSNUM >= 20401
|
#if VDRVERSNUM >= 30400
|
||||||
} else if (event->HasTimer()) {
|
} else if (event->HasTimer()) {
|
||||||
hasTimer = true;
|
hasTimer = true;
|
||||||
#else
|
#else
|
||||||
@ -109,16 +109,6 @@ void cEpgGrid::drawText() {
|
|||||||
colorTextBack = (active)?theme.Color(clrGridActiveFontBack):theme.Color(clrGridFontBack);
|
colorTextBack = (active)?theme.Color(clrGridActiveFontBack):theme.Color(clrGridFontBack);
|
||||||
else
|
else
|
||||||
colorTextBack = clrTransparent;
|
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 (tvguideConfig.displayMode == eVertical) {
|
||||||
if (Height()/geoManager.minutePixel < 6)
|
if (Height()/geoManager.minutePixel < 6)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user