From a44c4bf1b8df5bd2959b8b78c30793c9cfa9d09c Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 17 Feb 2013 21:55:21 +0100 Subject: [PATCH] channellist.cpp: allow colored events (for time) in right eventlist Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/ddbac1b248345b433e0fbd26b30f1625e8e91a4f Author: vanhofen Date: 2013-02-17 (Sun, 17 Feb 2013) Origin message was: ------------------ - channellist.cpp: allow colored events (for time) in right eventlist ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/channellist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 76c77e4fa..bcedccc05 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -2164,7 +2164,7 @@ void CChannelList::paint_events(int index) strftime(startTime, sizeof(startTime), "%H:%M", tmStartZeit ); //printf("%s %s\n", startTime, e->description.c_str()); startTimeWidth = eventStartTimeWidth; - g_Font[eventFont]->RenderString(x+ width+5, y+ theight+ pig_height + i*ffheight, startTimeWidth, startTime, COL_MENUCONTENTINACTIVE, 0, true); + g_Font[eventFont]->RenderString(x+ width+5, y+ theight+ pig_height + i*ffheight, startTimeWidth, startTime, (g_settings.colored_events_channellist == 2 /* next */) ? COL_COLORED_EVENTS_CHANNELLIST : COL_MENUCONTENTINACTIVE, 0, true); } g_Font[eventFont]->RenderString(x+ width+5+startTimeWidth, y+ theight+ pig_height + i*ffheight, infozone_width - startTimeWidth - 20, e->description, COL_MENUCONTENTDARK, 0, true); }