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 /timers.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 'timers.c')
-rw-r--r-- | timers.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -172,6 +172,8 @@ void cNopacityTimer::DrawLogo(void) { cImageLoader imgLoader;
if (imgLoader.LoadLogo(Channel->Name(), logoWidth, logoHeight)) {
pixmapLogo->DrawImage(cPoint((width - logoWidth)/2, 1), imgLoader.GetImage());
+ } else if (imgLoader.LoadLogo(*(Channel->GetChannelID().ToString()), logoWidth, logoHeight)) {
+ pixmapLogo->DrawImage(cPoint((width - logoWidth)/2, 1), imgLoader.GetImage());
} else {
cTextWrapper channel;
channel.Set(Channel->Name(), fontLarge, width - 10);
|