summaryrefslogtreecommitdiff
path: root/timers.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-09-13 16:38:04 +0200
committerlouis <louis.braun@gmx.de>2013-09-13 16:38:04 +0200
commit24262eefa031a9d5ef243205719e8edc45d66ea4 (patch)
tree3164828d7afbfece68422afbfbe9205cc9051a83 /timers.c
parentdcfc3b7083fed403555e0d33907f86699026cd45 (diff)
downloadskin-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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/timers.c b/timers.c
index 930df48..a077333 100644
--- a/timers.c
+++ b/timers.c
@@ -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);