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:
[CST] Focus
2010-02-13 10:52:19 +00:00
parent 1a39ec9d40
commit f789c1e8c6
11 changed files with 38 additions and 29 deletions

View File

@@ -633,7 +633,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
if ( epg_done!= -1 )
{
int pbx = sx + 10 + widthl + 10 + ((ox-104-widthr-widthl-10-10-20)>>1);
CProgressBar pb(g_settings.progressbar_color, -1, -1, 30, 100, 70, true);
CProgressBar pb(true, -1, -1, 30, 100, 70, true);
pb.paintProgressBarDefault(pbx, sy+oy-height, 104, height-6, epg_done, 104);
}
@@ -673,7 +673,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
if (data == g_InfoViewer->lcdUpdateTimer) {
GetEPGData(channel_id, id, &startzeit, false);
if ( epg_done!= -1 ) {
CProgressBar pb(g_settings.progressbar_color, -1, -1, 30, 100, 70, true);
CProgressBar pb(true, -1, -1, 30, 100, 70, true);
int pbx = sx + 10 + widthl + 10 + ((ox-104-widthr-widthl-10-10-20)>>1);
pb.paintProgressBarDefault(pbx, sy+oy-height, 104, height-6, epg_done, 104);
}