mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
infoviewer: fix CScale sizes
The CScale code does not allow for a height of 4 or 8 (it rounds
up to 6 and 10 due to buggy implementation), so we might as well
declare the scales with the proper size.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@93 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 21e8718a45
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2009-12-20 (Sun, 20 Dec 2009)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -154,10 +154,10 @@ void CInfoViewer::Init()
|
||||
virtual_zap_mode = false;
|
||||
chanready = 1;
|
||||
fileplay = 0;
|
||||
sigscale = new CScale(BAR_WIDTH, 8, RED_BAR, GREEN_BAR, YELLOW_BAR);
|
||||
snrscale = new CScale(BAR_WIDTH, 8, RED_BAR, GREEN_BAR, YELLOW_BAR);
|
||||
hddscale = new CScale(100, 4, 50, GREEN_BAR, 75, true);
|
||||
varscale = new CScale(100, 4, 50, GREEN_BAR, 75, true);
|
||||
sigscale = new CScale(BAR_WIDTH, 10, RED_BAR, GREEN_BAR, YELLOW_BAR);
|
||||
snrscale = new CScale(BAR_WIDTH, 10, RED_BAR, GREEN_BAR, YELLOW_BAR);
|
||||
hddscale = new CScale(100, 6, 50, GREEN_BAR, 75, true);
|
||||
varscale = new CScale(100, 6, 50, GREEN_BAR, 75, true);
|
||||
timescale = new CScale(100, TIME_BAR_HEIGHT, 30, GREEN_BAR, 70, true);
|
||||
channel_id = live_channel_id;
|
||||
}
|
||||
|
Reference in New Issue
Block a user