From dbffb9423a83423d1c2b4f8b64d083c46d97a5e8 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 31 Aug 2011 16:25:02 +0000 Subject: [PATCH] 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: https://github.com/neutrino-images/ni-neutrino/commit/6a9a8d6d551e81b60b751e5e369f158a2cc77de7 Author: Thilo Graf 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 --- src/gui/epgview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 2339f0f53..fefed375e 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -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); 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 ); @@ -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 ) { 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); + pb.paintProgressBarDefault(pbx, sy+oy-height, 104, height-6, epg_done, 100); } } if(data == fadeTimer) {