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

Origin commit data
------------------
Commit: dfa73458cc
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-05-02 (Thu, 02 May 2013)
This commit is contained in:
Jacek Jendrzej
2013-05-02 20:13:17 +02:00
parent a7e852cd26
commit e1358933c7

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 */