diff options
author | louis <louis.braun@gmx.de> | 2013-03-02 16:06:44 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-03-02 16:06:44 +0100 |
commit | 949bf478ebbdc6dcb71c47f7b9a79516f741184e (patch) | |
tree | 627b2a8c5ded2bfa284bb3cb613eee3bc961e3c7 /displaychannel.c | |
parent | 4932c641ee7deb759eeb8c21840f6ed8db7f236d (diff) | |
download | skin-nopacity-949bf478ebbdc6dcb71c47f7b9a79516f741184e.tar.gz skin-nopacity-949bf478ebbdc6dcb71c47f7b9a79516f741184e.tar.bz2 |
Usage of channel separator logos
Diffstat (limited to 'displaychannel.c')
-rw-r--r-- | displaychannel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/displaychannel.c b/displaychannel.c index 4bd063d..eb050ca 100644 --- a/displaychannel.c +++ b/displaychannel.c @@ -372,7 +372,9 @@ void cNopacityDisplayChannel::SetChannel(const cChannel *Channel, int Number) { pixmapChannelInfo->DrawText(cPoint(channelInfoHeight/2, (channelInfoHeight-fontHeader->Height())/2), channelString, Theme.Color(clrChannelHead), clrTransparent, fontHeader); } cImageLoader imgLoader; - if (imgLoader.LoadIcon("Channelseparator", config.logoHeight)) { + if (imgLoader.LoadLogo(*ChannelName)) { + pixmapLogo->DrawImage(cPoint(config.logoBorder, (height-config.logoHeight)/2), imgLoader.GetImage()); + } else if (imgLoader.LoadIcon("Channelseparator", config.logoHeight)) { pixmapLogo->DrawImage(cPoint(config.logoBorder + (config.logoWidth - config.logoHeight)/2, (height-config.logoHeight)/2), imgLoader.GetImage()); } } |