mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
src/gui/epgview.cpp:use paintBackgroundBoxRel only for hide
This commit is contained in:
@@ -1120,11 +1120,11 @@ void CEpgData::showTimerEventBar (bool pshow)
|
|||||||
frameBuffer->getIconSize(NEUTRINO_ICON_BUTTON_RED, &icol_w, &icol_h);
|
frameBuffer->getIconSize(NEUTRINO_ICON_BUTTON_RED, &icol_w, &icol_h);
|
||||||
h = std::max(fh, icol_h+4);
|
h = std::max(fh, icol_h+4);
|
||||||
|
|
||||||
frameBuffer->paintBackgroundBoxRel(sx,y,ox,h);
|
|
||||||
// hide only?
|
// hide only?
|
||||||
if (! pshow)
|
if (! pshow){
|
||||||
|
frameBuffer->paintBackgroundBoxRel(sx,y,ox,h);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
frameBuffer->paintBoxRel(sx,y,ox,h, COL_INFOBAR_SHADOW_PLUS_1, RADIUS_LARGE, CORNER_BOTTOM);//round
|
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 */
|
/* 2 * ICON_LARGE_WIDTH for potential 16:9 and DD icons */
|
||||||
|
Reference in New Issue
Block a user