summaryrefslogtreecommitdiff
path: root/epggrid.c
diff options
context:
space:
mode:
Diffstat (limited to 'epggrid.c')
-rw-r--r--epggrid.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/epggrid.c b/epggrid.c
index 2d8a703..7a21834 100644
--- a/epggrid.c
+++ b/epggrid.c
@@ -98,7 +98,13 @@ void cEpgGrid::setText() {
void cEpgGrid::drawText() {
tColor colorText = (active)?theme.Color(clrFontActive):theme.Color(clrFont);
- tColor colorTextBack = (tvguideConfig.style == eStyleFlat)?color:clrTransparent;
+ tColor colorTextBack;
+ if (tvguideConfig.style == eStyleFlat)
+ colorTextBack = color;
+ else if (tvguideConfig.style == eStyleGraphical)
+ colorTextBack = (active)?theme.Color(clrGridActiveFontBack):theme.Color(clrGridFontBack);
+ else
+ colorTextBack = clrTransparent;
if (tvguideConfig.displayMode == eVertical) {
if (Height()/geoManager.minutePixel < 6)
return;