From c99cf1aa5de8100c058acd8c63a4ea2a0c6408fd Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 24 Jan 2017 22:57:54 +0100 Subject: [PATCH] CChannelList: ensure repaint of new header content Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/2abd60e856a342c1387655e5f492ddfedbb359e5 Author: Thilo Graf Date: 2017-01-24 (Tue, 24 Jan 2017) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/channellist.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index a4d56cb47..8b89f8a85 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -2168,7 +2168,9 @@ void CChannelList::paintHead() else logo_off = 10; - header->paint(CC_SAVE_SCREEN_NO); //TODO: paint title only, currently paint() does paint all enabled header items at once and causes flicker effects in unchanged items (e.g. clock) + if (header->isPainted()) //clean up background of header for new contents + header->kill(header->getColorBody(), -1, CC_FBDATA_TYPES, false); + header->paint0(); } CComponentsHeader* CChannelList::getHeaderObject()