mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
Fix black color corruption after scan; Change progressbar logic to follow progressbar_color setting, if bar created with blink enabled
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@333 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -89,8 +89,8 @@ void CMotorControl::Init(void)
|
||||
motorPosition = 1;
|
||||
satellitePosition = 0;
|
||||
stepDelay = 10;
|
||||
sigscale = new CProgressBar(g_settings.progressbar_color, BAR_WIDTH, BAR_HEIGHT);
|
||||
snrscale = new CProgressBar(g_settings.progressbar_color, BAR_WIDTH, BAR_HEIGHT);
|
||||
sigscale = new CProgressBar(true, BAR_WIDTH, BAR_HEIGHT);
|
||||
snrscale = new CProgressBar(true, BAR_WIDTH, BAR_HEIGHT);
|
||||
pbBlinkChange = g_settings.progressbar_color;
|
||||
}
|
||||
|
||||
@@ -107,6 +107,7 @@ int CMotorControl::exec(CMenuTarget* parent, const std::string &)
|
||||
CZapitClient::commandSetScanSatelliteList sat;
|
||||
sat_iterator_t sit;
|
||||
|
||||
#if 0
|
||||
if(pbBlinkChange != g_settings.progressbar_color){
|
||||
pbBlinkChange = g_settings.progressbar_color;
|
||||
if(sigscale){
|
||||
@@ -118,6 +119,7 @@ int CMotorControl::exec(CMenuTarget* parent, const std::string &)
|
||||
snrscale = new CProgressBar(g_settings.progressbar_color, BAR_WIDTH, BAR_HEIGHT);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
sigscale->reset();
|
||||
snrscale->reset();
|
||||
lastsnr = lastsig = -1;
|
||||
|
Reference in New Issue
Block a user