mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +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);
|
dline->setYPos(ypos1a);
|
||||||
|
|
||||||
//infobox
|
//infobox
|
||||||
if (ibox == NULL)
|
if (ibox == NULL){
|
||||||
ibox = new CComponentsInfoBox();
|
ibox = new CComponentsInfoBox();
|
||||||
|
ibox->setDimensionsAll(x, ypos2, width, info_height);
|
||||||
if (ibox->isPainted())
|
ibox->setFrameThickness(2);
|
||||||
ibox->hide(CC_SAVE_SCREEN_NO);
|
ibox->setCorner(RADIUS_LARGE);
|
||||||
|
ibox->setShadowOnOff(CC_SHADOW_OFF);
|
||||||
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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user