diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2020-04-03 12:41:29 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2020-04-03 12:41:29 +0200 |
commit | 8c4477417f90d7b1bc4bada3d111e54d79a74a7d (patch) | |
tree | b4851e2b465ff23ef47bbb2f35e78acf205b5453 | |
parent | be3f48102e9925597cfc2c3d998819fd652f0cae (diff) | |
download | skin-lcarsng-8c4477417f90d7b1bc4bada3d111e54d79a74a7d.tar.gz skin-lcarsng-8c4477417f90d7b1bc4bada3d111e54d79a74a7d.tar.bz2 |
Cosmetic changes
-rw-r--r-- | displaychannel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/displaychannel.c b/displaychannel.c index 94f0aa5..031a95e 100644 --- a/displaychannel.c +++ b/displaychannel.c @@ -326,7 +326,7 @@ void cLCARSNGDisplayChannel::DrawTimer(void) #endif osd->DrawText(xc01, y + y1 + Margin, cString::sprintf("%d", Channel->Number()), frameColorFg, frameColorBg, cFont::GetFont(fontSml), xc02 - xc01 - Gap - 1, lineHeight - 3 * Margin, taRight | taBorder); osd->DrawText(xc04, y + y1, cString::sprintf("%s", *Date), timerColor, textColorBg, cFont::GetFont(fontSml), x1 - xc04 - Gap - 1, lineHeight - Gap / 2, taRight | taBorder); - int w = cFont::GetFont(fontSml)->Width(Event->Title()) + 4; // fontSml width to short + int w = cFont::GetFont(fontSml)->Width(Event->Title()) + 4; // fontSml width to short osd->DrawRectangle(x1, y + y1, xc06k - 1, y + y1 + lineHeight - Gap / 2, Theme.Color(clrBackground)); osd->DrawText(x1, y + y1, cString::sprintf("%s", Event->Title()), timerColor, textColorBg, cFont::GetFont(fontSml), min(w, xc06k - x1 - 1), lineHeight - Gap / 2, taLeft | taBorder); } |