From e90b2e70295632d3e04be03adf03c9c36d18f122 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Sun, 19 Apr 2020 21:35:57 +0200 Subject: [PATCH] fix channellist because of CFbAccelARM::paintRect() Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/48ddc86be65fc95232dfa52c280619cf814ccb04 Author: TangoCash Date: 2020-04-19 (Sun, 19 Apr 2020) --- src/gui/channellist.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 388ab2ee2..dc86d9b7e 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -2532,6 +2532,10 @@ void CChannelList::paint_events(CChannelEventList &evtlist) ffheight = g_Font[eventFont]->getHeight(); frameBuffer->paintBoxRel(x+ width,y+ theight+pig_height, infozone_width, infozone_height,COL_MENUCONTENT_PLUS_0); +#if BOXMODEL_HD51 || BOXMODEL_HD60 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7 + usleep(300); // because of CFbAccelARM::paintRect() +#endif + char startTime[10]; int eventStartTimeWidth = 4 * g_Font[eventFont]->getMaxDigitWidth() + g_Font[eventFont]->getRenderWidth(":") + OFFSET_INNER_SMALL; // use a fixed value int startTimeWidth = 0;