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
This commit is contained in:
focus
2010-02-13 10:52:19 +00:00
parent 6f10282611
commit e642e6f345
11 changed files with 38 additions and 29 deletions

View File

@@ -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.