mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Fixed the replay progress display for very long recordings
This commit is contained in:
		
							
								
								
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -8199,3 +8199,4 @@ Video Disk Recorder Revision History | ||||
| - Fixed learning keyboard remote control codes (thanks to Lars Hanisch). | ||||
| - Improved PAT/PMT scanning to speed up initial tuning to encrypted channels on | ||||
|   transponders with many PAT entries (reported by Mariusz Bialonczyk). | ||||
| - Fixed the replay progress display for very long recordings. | ||||
|   | ||||
							
								
								
									
										4
									
								
								skins.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								skins.h
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * how to reach the author. | ||||
|  * | ||||
|  * $Id: skins.h 3.2 2013/11/03 14:07:34 kls Exp $ | ||||
|  * $Id: skins.h 3.3 2014/02/18 13:48:05 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #ifndef __SKINS_H | ||||
| @@ -280,7 +280,7 @@ protected: | ||||
|   class cProgressBar : public cBitmap { | ||||
|   protected: | ||||
|     int total; | ||||
|     int Pos(int p) { return p * Width() / total; } | ||||
|     int Pos(int p) { return int(int64_t(p) * Width() / total); } | ||||
|     void Mark(int x, bool Start, bool Current, tColor ColorMark, tColor ColorCurrent); | ||||
|   public: | ||||
|     cProgressBar(int Width, int Height, int Current, int Total, const cMarks *Marks, tColor ColorSeen, tColor ColorRest, tColor ColorSelected, tColor ColorMark, tColor ColorCurrent); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user