mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CInfoViewer: optimize signal bar arrangement
This commit is contained in:
@@ -1503,7 +1503,8 @@ void CInfoViewer::showSNR ()
|
||||
SDT_freq_update = false;
|
||||
}
|
||||
if (sigbox == NULL){
|
||||
sigbox = new CSignalBox(BoxStartX+8, BoxStartY+ChanHeight/2-4, ChanWidth-12, ChanHeight/2+2, CFEManager::getInstance()->getLiveFE(), true, NULL, "S", "Q");
|
||||
int sb_x = ChanWidth *10/100;
|
||||
sigbox = new CSignalBox(BoxStartX+sb_x, BoxStartY+ChanHeight/2, ChanWidth-2*sb_x, ChanHeight/2, CFEManager::getInstance()->getLiveFE(), true, NULL, "S", "Q");
|
||||
sigbox->setTextColor(COL_INFOBAR_TEXT);
|
||||
sigbox->doPaintBg(false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user