mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
neutrino: make blinkenlights runtime configurable
Get rid of "--disable-blinkenlights" configure switch. Colored
progress bars can be disabled with "neutrino -noblink" now.
Unfortunately CProgressBar had to be touched again to avoid
ambiguities in the constructor, but should be done for now.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@133 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 691811695a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-01-03 (Sun, 03 Jan 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -60,6 +60,7 @@
|
||||
#include <video_cs.h>
|
||||
extern cVideo * videoDecoder;
|
||||
extern CFrontend * frontend;
|
||||
extern bool pb_blink;
|
||||
|
||||
#define NEUTRINO_SCAN_START_SCRIPT CONFIGDIR "/scan.start"
|
||||
#define NEUTRINO_SCAN_STOP_SCRIPT CONFIGDIR "/scan.stop"
|
||||
@@ -79,8 +80,8 @@ CScanTs::CScanTs()
|
||||
total = done = 0;
|
||||
freqready = 0;
|
||||
|
||||
sigscale = new CProgressBar(BAR_WIDTH, BAR_HEIGHT);
|
||||
snrscale = new CProgressBar(BAR_WIDTH, BAR_HEIGHT);
|
||||
sigscale = new CProgressBar(pb_blink, BAR_WIDTH, BAR_HEIGHT);
|
||||
snrscale = new CProgressBar(pb_blink, BAR_WIDTH, BAR_HEIGHT);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user