mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed the replay progress display for very long recordings
This commit is contained in:
parent
058177d24c
commit
3736508d95
3
HISTORY
3
HISTORY
@ -7870,7 +7870,7 @@ Video Disk Recorder Revision History
|
|||||||
and also to use the correct directory with --edit (the latter reported by Marko
|
and also to use the correct directory with --edit (the latter reported by Marko
|
||||||
Mäkelä).
|
Mäkelä).
|
||||||
|
|
||||||
2014-02-15: Version 2.0.6
|
2014-02-18: Version 2.0.6
|
||||||
|
|
||||||
- Updated 'sources.conf' (thanks to Antti Hartikainen).
|
- Updated 'sources.conf' (thanks to Antti Hartikainen).
|
||||||
- cFont::CreateFont() now returns a dummy font in case there are no fonts installed.
|
- cFont::CreateFont() now returns a dummy font in case there are no fonts installed.
|
||||||
@ -7891,3 +7891,4 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed flickering if subtitles are active while the OSD demo is running.
|
- Fixed flickering if subtitles are active while the OSD demo is running.
|
||||||
- Fixed a possible crash in the OSD demo (reported by Christopher Reimer).
|
- Fixed a possible crash in the OSD demo (reported by Christopher Reimer).
|
||||||
- Fixed learning keyboard remote control codes (thanks to Lars Hanisch).
|
- Fixed learning keyboard remote control codes (thanks to Lars Hanisch).
|
||||||
|
- 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
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: skins.h 2.9 2012/12/21 11:09:13 kls Exp $
|
* $Id: skins.h 2.9.1.1 2014/02/18 14:06:50 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SKINS_H
|
#ifndef __SKINS_H
|
||||||
@ -264,7 +264,7 @@ protected:
|
|||||||
class cProgressBar : public cBitmap {
|
class cProgressBar : public cBitmap {
|
||||||
protected:
|
protected:
|
||||||
int total;
|
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);
|
void Mark(int x, bool Start, bool Current, tColor ColorMark, tColor ColorCurrent);
|
||||||
public:
|
public:
|
||||||
cProgressBar(int Width, int Height, int Current, int Total, const cMarks *Marks, tColor ColorSeen, tColor ColorRest, tColor ColorSelected, tColor ColorMark, tColor ColorCurrent);
|
cProgressBar(int Width, int Height, int Current, int Total, const cMarks *Marks, tColor ColorSeen, tColor ColorRest, tColor ColorSelected, tColor ColorMark, tColor ColorCurrent);
|
||||||
|
Loading…
Reference in New Issue
Block a user