summaryrefslogtreecommitdiff
path: root/dummygrid.c
diff options
context:
space:
mode:
Diffstat (limited to 'dummygrid.c')
-rw-r--r--dummygrid.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/dummygrid.c b/dummygrid.c
index 4ab0692..2ab9056 100644
--- a/dummygrid.c
+++ b/dummygrid.c
@@ -66,7 +66,13 @@ void cDummyGrid::setText() {
void cDummyGrid::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;