summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-02-20 18:35:18 +0100
committerlouis <louis.braun@gmx.de>2013-02-20 18:35:18 +0100
commitc07e1324a69bde4c85246694cb8eab30c8977ae3 (patch)
tree820f9b54aea1a2c08160ed1294b9bb34f26a0295
parent529719875720aa80197b95fb49bd9c712a4023f1 (diff)
downloadskin-nopacity-c07e1324a69bde4c85246694cb8eab30c8977ae3.tar.gz
skin-nopacity-c07e1324a69bde4c85246694cb8eab30c8977ae3.tar.bz2
Lager font size for channel name in main menu timers list if no channel logo is available
-rw-r--r--timers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/timers.c b/timers.c
index 9a9288e..4d54575 100644
--- a/timers.c
+++ b/timers.c
@@ -156,13 +156,13 @@ void cNopacityTimer::DrawLogo(void) {
pixmapLogo->DrawImage(cPoint((width - logoWidth)/2, 1), imgLoader.GetImage());
} else {
cTextWrapper channel;
- channel.Set(Channel->Name(), font, width - 10);
+ channel.Set(Channel->Name(), fontLarge, width - 10);
int lines = channel.Lines();
- int lineHeight = font->Height();
+ int lineHeight = fontLarge->Height();
int y = 1;
for (int line = 0; line < lines; line++) {
- pixmapLogo->DrawText(cPoint((width - font->Width(channel.GetLine(line)))/2, y+lineHeight*line), channel.GetLine(line), Theme.Color(clrMenuFontMenuItemHigh), clrTransparent, font);
+ pixmapLogo->DrawText(cPoint((width - fontLarge->Width(channel.GetLine(line)))/2, y+lineHeight*line), channel.GetLine(line), Theme.Color(clrMenuFontMenuItemHigh), clrTransparent, font);
}
}
}
-} \ No newline at end of file
+}