CInfoViewer: optimize signal bar arrangement

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3acd04e865
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-30 (Wed, 30 Dec 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2015-12-30 22:23:24 +01:00
parent 849e6aab07
commit 27828dbd1e

View File

@@ -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);
}