mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user