mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
*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 is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user