merge neutrino-mp progressbar code, (C) martii

Origin commit data
------------------
Branch: ni/coolstream
Commit: 416646bbff
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-07-17 (Thu, 17 Jul 2014)


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

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-07-17 15:15:43 +04:00
parent 5d045938ae
commit 1613427042
23 changed files with 623 additions and 271 deletions

View File

@@ -829,17 +829,15 @@ void CInfoViewerBB::paintCA_bar(int left, int right)
void CInfoViewerBB::changePB()
{
hddwidth = frameBuffer->getScreenWidth(true) * ((g_settings.screen_preset == 1) ? 10 : 8) / 128; /* 80(CRT)/100(LCD) pix if screen is 1280 wide */
if (hddscale)
delete hddscale;
hddscale = new CProgressBar();
hddscale->setBlink();
hddscale->setInvert();
if (!hddscale) {
hddscale = new CProgressBar();
hddscale->setType(CProgressBar::PB_REDRIGHT);
}
if (sysscale)
delete sysscale;
sysscale = new CProgressBar();
sysscale->setBlink();
sysscale->setInvert();
if (!sysscale) {
sysscale = new CProgressBar();
sysscale->setType(CProgressBar::PB_REDRIGHT);
}
}
void CInfoViewerBB::reset_allScala()