From 01019ee6be7c24e0977fa953b9b73d8a9a303978 Mon Sep 17 00:00:00 2001 From: satbaby Date: Tue, 24 May 2011 13:55:27 +0000 Subject: [PATCH] eventlist: show channel name or channel logo git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1488 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/eventlist.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gui/eventlist.cpp b/src/gui/eventlist.cpp index 85e75e3c2..9d1717ac6 100644 --- a/src/gui/eventlist.cpp +++ b/src/gui/eventlist.cpp @@ -843,9 +843,8 @@ void EventList::paintHead(t_channel_id _channel_id, std::string _channelname) } logo_ok = g_PicViewer->DisplayImage(lname, x+10, y+(theight-logo_h)/2, logo_w, logo_h); } - //logo_ok = g_PicViewer->DisplayLogo(_channel_id, x+10, y+(theight-PIC_H)/2, PIC_W, PIC_H); - - g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_TITLE]->RenderString(x+15+(logo_ok? 5+logo_w:0),y+theight+1, width, _channelname.c_str(), COL_MENUHEAD, 0, true); // UTF-8 + else + g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_TITLE]->RenderString(x+15+(logo_ok? 5+logo_w:0),y+theight+1, width, _channelname.c_str(), COL_MENUHEAD, 0, true); // UTF-8 } void EventList::paint(t_channel_id channel_id)