diff options
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | timers.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -137,3 +137,5 @@ Version 0.0.7: - Fixed a bug with cdplayer plugin, this plugin calls no "clear()" before showing menu - disabled fading for displaymenu per default +- Fixed display of timers channel name in main menu if no channel logo + is available @@ -156,12 +156,12 @@ void cNopacityTimer::DrawLogo(void) { pixmapLogo->DrawImage(cPoint((width - logoWidth)/2, 1), imgLoader.GetImage());
} else {
cTextWrapper channel;
- channel.Set(Channel->Name(), font, logoWidth);
+ channel.Set(Channel->Name(), font, width - 10);
int lines = channel.Lines();
int lineHeight = font->Height();
int y = 1;
for (int line = 0; line < lines; line++) {
- pixmapLogo->DrawText(cPoint((logoWidth - font->Width(channel.GetLine(line)))/2, y+lineHeight*line), channel.GetLine(line), Theme.Color(clrMenuFontMenuItemHigh), clrTransparent, font);
+ pixmapLogo->DrawText(cPoint((width - font->Width(channel.GetLine(line)))/2, y+lineHeight*line), channel.GetLine(line), Theme.Color(clrMenuFontMenuItemHigh), clrTransparent, font);
}
}
}
|