mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CBEChannelWidget: remove not required hide()
Avoids unnecessary flicker effects, it's enough to repaint only text.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1a4d06175f
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-03 (Sat, 03 Jan 2015)
------------------
This commit was generated by Migit
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