mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +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:
@@ -234,18 +234,15 @@ void CInfoViewer::changePB()
|
||||
if (sigscale)
|
||||
delete sigscale;
|
||||
sigscale = new CProgressBar();
|
||||
sigscale->setBlink();
|
||||
|
||||
if (snrscale)
|
||||
delete snrscale;
|
||||
snrscale = new CProgressBar();
|
||||
snrscale->setBlink();
|
||||
|
||||
if (timescale)
|
||||
delete timescale;
|
||||
timescale = new CProgressBar();
|
||||
timescale->setBlink();
|
||||
timescale->setRgb(0, 100, 70);
|
||||
timescale->setType(CProgressBar::PB_TIMESCALE);
|
||||
}
|
||||
|
||||
void CInfoViewer::paintTime (bool show_dot)
|
||||
@@ -1548,7 +1545,7 @@ void CInfoViewer::display_Info(const char *current, const char *next,
|
||||
int pb_starty = ChanNameY - (pb_h + 10);
|
||||
int pb_shadow = COL_INFOBAR_SHADOW_PLUS_0;
|
||||
timescale->setShadowOnOff(true);
|
||||
int pb_color = g_settings.progressbar_color ? COL_INFOBAR_SHADOW_PLUS_0 : COL_INFOBAR_PLUS_0;
|
||||
int pb_color = (g_settings.progressbar_design == CProgressBar::PB_MONO) ? COL_INFOBAR_PLUS_0 : COL_INFOBAR_SHADOW_PLUS_0;
|
||||
if(g_settings.infobar_progressbar){
|
||||
pb_startx = xStart;
|
||||
pb_w = BoxEndX - 10 - xStart;
|
||||
|
Reference in New Issue
Block a user