mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +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
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
#include <zapit/frontend_c.h>
|
||||
|
||||
extern CFrontend * frontend;
|
||||
extern bool pb_blink;
|
||||
|
||||
static int g_sig;
|
||||
static int g_snr;
|
||||
@@ -89,8 +90,8 @@ void CMotorControl::Init(void)
|
||||
motorPosition = 1;
|
||||
satellitePosition = 0;
|
||||
stepDelay = 10;
|
||||
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);
|
||||
}
|
||||
|
||||
int CMotorControl::exec(CMenuTarget* parent, const std::string &)
|
||||
|
Reference in New Issue
Block a user