mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +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:
@@ -32,6 +32,7 @@
|
||||
#include <gui/widget/progressbar.h>
|
||||
|
||||
static CProgressBar *timescale;
|
||||
extern bool pb_blink;
|
||||
|
||||
#define TIMEOSD_FONT SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME
|
||||
#define TIMEBARH 38
|
||||
@@ -43,7 +44,7 @@ CTimeOSD::CTimeOSD()
|
||||
m_mode=MODE_ASC;
|
||||
GetDimensions();
|
||||
if (! timescale)
|
||||
timescale = new CProgressBar(200, 32, PB_COLORED, 40, 100, 70, true);
|
||||
timescale = new CProgressBar(pb_blink, 200, 32, 40, 100, 70, true);
|
||||
}
|
||||
|
||||
CTimeOSD::~CTimeOSD()
|
||||
|
Reference in New Issue
Block a user