src/gui/epgview.cpp:use paintBackgroundBoxRel only for hide

This commit is contained in:
Jacek Jendrzej
2013-05-02 20:13:17 +02:00
parent 6ba280261b
commit dfa73458cc

View File

@@ -1120,11 +1120,11 @@ void CEpgData::showTimerEventBar (bool pshow)
frameBuffer->getIconSize(NEUTRINO_ICON_BUTTON_RED, &icol_w, &icol_h);
h = std::max(fh, icol_h+4);
frameBuffer->paintBackgroundBoxRel(sx,y,ox,h);
// hide only?
if (! pshow)
if (! pshow){
frameBuffer->paintBackgroundBoxRel(sx,y,ox,h);
return;
}
frameBuffer->paintBoxRel(sx,y,ox,h, COL_INFOBAR_SHADOW_PLUS_1, RADIUS_LARGE, CORNER_BOTTOM);//round
/* 2 * ICON_LARGE_WIDTH for potential 16:9 and DD icons */