diff options
author | louis <louis.braun@gmx.de> | 2013-09-13 16:38:04 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-09-13 16:38:04 +0200 |
commit | 24262eefa031a9d5ef243205719e8edc45d66ea4 (patch) | |
tree | 3164828d7afbfece68422afbfbe9205cc9051a83 /menudetailview.c | |
parent | dcfc3b7083fed403555e0d33907f86699026cd45 (diff) | |
download | skin-nopacity-24262eefa031a9d5ef243205719e8edc45d66ea4.tar.gz skin-nopacity-24262eefa031a9d5ef243205719e8edc45d66ea4.tar.bz2 |
changed channel logo handling and added logo converter script with some backgrounds
Diffstat (limited to 'menudetailview.c')
-rw-r--r-- | menudetailview.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/menudetailview.c b/menudetailview.c index 66a1428..160e6c3 100644 --- a/menudetailview.c +++ b/menudetailview.c @@ -445,6 +445,8 @@ void cNopacityMenuDetailEventView::DrawHeader(void) { cChannel *channel = Channels.GetByChannelID(event->ChannelID(), true); if (channel && channel->Name() && imgLoader.LoadLogo(channel->Name(), logoWidth, config.detailViewLogoHeight)) { pixmapLogo->DrawImage(cPoint(0, max((headerHeight - config.detailViewLogoHeight - border)/2, 0)), imgLoader.GetImage()); + } else if (channel && imgLoader.LoadLogo(*(channel->GetChannelID().ToString()), logoWidth, config.detailViewLogoHeight)) { + pixmapLogo->DrawImage(cPoint(0, max((headerHeight - config.detailViewLogoHeight - border)/2, 0)), imgLoader.GetImage()); } int widthTextHeader = width - 4 * border - logoWidth; if (imgLoader.LoadEPGImage(event->EventID())) { |