diff options
-rw-r--r-- | displaychannel.c | 4 | ||||
-rw-r--r-- | lcarsng.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/displaychannel.c b/displaychannel.c index 9d9db49..2f2dafb 100644 --- a/displaychannel.c +++ b/displaychannel.c @@ -304,8 +304,8 @@ void cLCARSNGDisplayChannel::DrawTimer(void) int y1 = i * Gap / 2; if (Channel && Event) { osd->DrawText(xc01, y + y1, cString::sprintf("%d", Channel->Number()), Theme.Color(clrEventShortText), frameColor, cFont::GetFont(fontSml), xc02 - xc01 - Gap - 1, lineHeight - 2 * y1, taRight | taBorder); - osd->DrawText(xc04, y + y1, cString::sprintf("%s", *Date), Theme.Color(clrEventShortText), Theme.Color(clrBackground), cFont::GetFont(fontSml), xc06a - xc04 - Gap - 1, lineHeight - 2 * y1, taRight | taBorder); - osd->DrawText(xc06a, y + y1, cString::sprintf("%s", Event->Title()), Theme.Color(clrEventShortText), Theme.Color(clrBackground), cFont::GetFont(fontSml), xc06l - xc06a - Gap - 1, lineHeight - 2 * y1, taLeft | taBorder); + osd->DrawText(xc04, y + y1, cString::sprintf("%s", *Date), Timer->HasFlags(tfSwitchOnly) ? Theme.Color(clrSwitchTimer) : Theme.Color(clrEventShortText), Theme.Color(clrBackground), cFont::GetFont(fontSml), xc06a - xc04 - Gap - 1, lineHeight - 2 * y1, taRight | taBorder); + osd->DrawText(xc06a, y + y1, cString::sprintf("%s", Event->Title()), Timer->HasFlags(tfSwitchOnly) ? Theme.Color(clrSwitchTimer) : Theme.Color(clrEventShortText), Theme.Color(clrBackground), cFont::GetFont(fontSml), xc06l - xc06a - Gap - 1, lineHeight - 2 * y1, taLeft | taBorder); } if (isRecording) // && Number) osd->DrawText(xc04, y + y1, cString::sprintf("Rec: #%s", *Number), Theme.Color(clrChannelSymbolRecBg), Theme.Color(clrBackground), cFont::GetFont(fontSml), xc05 - xc04 - Gap - 1, lineHeight - 2 * y1, taRight | taBorder); @@ -153,6 +153,7 @@ THEME_CLR(Theme, clrChannelSymbolOn, CLR_BLACK); THEME_CLR(Theme, clrChannelSymbolOff, RgbShade(CLR_CHANNEL_FRAME, -0.2)); THEME_CLR(Theme, clrChannelSymbolRecFg, CLR_WHITE); THEME_CLR(Theme, clrChannelSymbolRecBg, CLR_RED); +THEME_CLR(Theme, clrSwitchTimer, CLR_GREEN); // Menu: |