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

Origin commit data
------------------
Branch: ni/coolstream
Commit: dfa73458cc
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-05-02 (Thu, 02 May 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2013-05-02 20:13:17 +02:00
parent c711eb68fb
commit 71da018319

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