mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-07 13:48:28 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: e642e6f345
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-02-13 (Sat, 13 Feb 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -37,7 +37,7 @@ class CProgressBar
|
||||
int frame_widht;
|
||||
int last_width;
|
||||
int red, green, yellow;
|
||||
bool blink, invert;
|
||||
bool blink, invert, bl_changed;
|
||||
int width, height;
|
||||
void realpaint(const int pos_x, const int pos_y,
|
||||
const int value, const int max_value,
|
||||
@@ -53,7 +53,7 @@ class CProgressBar
|
||||
|
||||
public:
|
||||
/* parameters:
|
||||
blinkenligts: true if you want colored progressbars. needed, no default.
|
||||
blinkenligts: true if you want code to follow progressbar_color. needed, no default.
|
||||
w, h: width / height of bar. Can later be set with paintProgressbar.
|
||||
paintProgressBar2 can oly be used if w and h are set.
|
||||
r, g, b: percentage of the bar where red/green/yellow is used.
|
||||
|
Reference in New Issue
Block a user