neutrino epgview: fix max value of progressbar

see also: http://www.dbox2-tuning.net/forum/viewtopic.php?p=380156#p380156
thx Gaucho316

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1641 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6a9a8d6d55
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-08-31 (Wed, 31 Aug 2011)

Origin message was:
------------------
*neutrino epgview: fix max value of progressbar

see also: http://www.dbox2-tuning.net/forum/viewtopic.php?p=380156#p380156
thx Gaucho316

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1641 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
This commit is contained in:
2011-08-31 16:25:02 +00:00
parent 7985586c80
commit dbffb9423a

View File

@@ -670,7 +670,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
{ {
int pbx = sx + 10 + widthl + 10 + ((ox-104-widthr-widthl-10-10-20)>>1); int pbx = sx + 10 + widthl + 10 + ((ox-104-widthr-widthl-10-10-20)>>1);
CProgressBar pb(true, -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); pb.paintProgressBarDefault(pbx, sy+oy-height, 104, height-6, epg_done, 100);
} }
GetPrevNextEPGData( epgData.eventID, &epgData.epg_times.startzeit ); GetPrevNextEPGData( epgData.eventID, &epgData.epg_times.startzeit );
@@ -713,7 +713,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
if ( epg_done!= -1 ) { if ( epg_done!= -1 ) {
CProgressBar pb(true, -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); 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); pb.paintProgressBarDefault(pbx, sy+oy-height, 104, height-6, epg_done, 100);
} }
} }
if(data == fadeTimer) { if(data == fadeTimer) {