mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
CInfoViewer: allow fe change without new sigbox object
This commit is contained in:
@@ -1658,12 +1658,13 @@ void CInfoViewer::showSNR ()
|
|||||||
}
|
}
|
||||||
if (sigbox == NULL){
|
if (sigbox == NULL){
|
||||||
int sigbox_offset = ChanWidth *10/100;
|
int sigbox_offset = ChanWidth *10/100;
|
||||||
sigbox = new CSignalBox(BoxStartX + sigbox_offset, y_numbox+ChanHeight/2, ChanWidth - 2*sigbox_offset, ChanHeight/2, CFEManager::getInstance()->getLiveFE(), true, NULL, "S", "Q");
|
sigbox = new CSignalBox(BoxStartX + sigbox_offset, y_numbox+ChanHeight/2, ChanWidth - 2*sigbox_offset, ChanHeight/2, NULL, true, NULL, "S", "Q");
|
||||||
sigbox->setTextColor(COL_INFOBAR_TEXT);
|
sigbox->setTextColor(COL_INFOBAR_TEXT);
|
||||||
sigbox->setColorBody(numbox->getColorBody());
|
sigbox->setColorBody(numbox->getColorBody());
|
||||||
sigbox->doPaintBg(false);
|
sigbox->doPaintBg(false);
|
||||||
sigbox->enableTboxSaveScreen(numbox->getColBodyGradientMode());
|
sigbox->enableTboxSaveScreen(numbox->getColBodyGradientMode());
|
||||||
}
|
}
|
||||||
|
sigbox->setFrontEnd(CFEManager::getInstance()->getLiveFE());
|
||||||
sigbox->paint(CC_SAVE_SCREEN_NO);
|
sigbox->paint(CC_SAVE_SCREEN_NO);
|
||||||
}
|
}
|
||||||
if(showButtonBar)
|
if(showButtonBar)
|
||||||
|
Reference in New Issue
Block a user