mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
CBEChannelWidget: remove not required hide()
Avoids unnecessary flicker effects, it's enough to repaint only text.
This commit is contained in:
@@ -250,19 +250,13 @@ void CBEChannelWidget::initItem2DetailsLine (int pos, int /*ch_index*/)
|
||||
dline->setYPos(ypos1a);
|
||||
|
||||
//infobox
|
||||
if (ibox == NULL)
|
||||
if (ibox == NULL){
|
||||
ibox = new CComponentsInfoBox();
|
||||
|
||||
if (ibox->isPainted())
|
||||
ibox->hide(CC_SAVE_SCREEN_NO);
|
||||
|
||||
ibox->setDimensionsAll(x, ypos2, width, info_height);
|
||||
ibox->setFrameThickness(2);
|
||||
#if 0
|
||||
ibox->paint(false,true);
|
||||
#endif
|
||||
ibox->setCorner(RADIUS_LARGE);
|
||||
ibox->setShadowOnOff(CC_SHADOW_OFF);
|
||||
ibox->setDimensionsAll(x, ypos2, width, info_height);
|
||||
ibox->setFrameThickness(2);
|
||||
ibox->setCorner(RADIUS_LARGE);
|
||||
ibox->setShadowOnOff(CC_SHADOW_OFF);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user