mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Fixed height calculation in progress display
This commit is contained in:
parent
eb35faaf7d
commit
f0da21ea13
@ -3390,6 +3390,7 @@ Matthias Senzel <matthias.senzel@t-online.de>
|
|||||||
for reporting that if an error occurs while recording, the respective entry in the list
|
for reporting that if an error occurs while recording, the respective entry in the list
|
||||||
of recordings was not updated immediately
|
of recordings was not updated immediately
|
||||||
for fixing restoring the volume at program start
|
for fixing restoring the volume at program start
|
||||||
|
for fixing height calculation in progress display
|
||||||
|
|
||||||
Marek Nazarko <mnazarko@gmail.com>
|
Marek Nazarko <mnazarko@gmail.com>
|
||||||
for translating OSD texts to the Polish language
|
for translating OSD texts to the Polish language
|
||||||
|
3
HISTORY
3
HISTORY
@ -9863,6 +9863,7 @@ Video Disk Recorder Revision History
|
|||||||
- The recording info of the default skins now shows the frame parameters of the
|
- The recording info of the default skins now shows the frame parameters of the
|
||||||
recording at the end of the description (if such information is available).
|
recording at the end of the description (if such information is available).
|
||||||
|
|
||||||
2024-01-05:
|
2024-01-17:
|
||||||
|
|
||||||
- Changed installing config files to handle potentially broken 'cp -n'.
|
- Changed installing config files to handle potentially broken 'cp -n'.
|
||||||
|
- Fixed height calculation in progress display (thanks to Matthias Senzel).
|
||||||
|
4
skins.c
4
skins.c
@ -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.c 4.2 2019/05/29 16:43:09 kls Exp $
|
* $Id: skins.c 5.1 2024/01/17 21:15:48 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "skins.h"
|
#include "skins.h"
|
||||||
@ -162,7 +162,7 @@ cSkinDisplayReplay::cProgressBar::cProgressBar(int Width, int Height, int Curren
|
|||||||
const cMark *m2 = Marks->Next(m);
|
const cMark *m2 = Marks->Next(m);
|
||||||
int p2 = Pos(m2 ? m2->Position() : total);
|
int p2 = Pos(m2 ? m2->Position() : total);
|
||||||
int h = Height / 3;
|
int h = Height / 3;
|
||||||
DrawRectangle(p1, h, p2, Height - h, ColorSelected);
|
DrawRectangle(p1, h, p2, Height - h - 1, ColorSelected);
|
||||||
}
|
}
|
||||||
Mark(p1, Start, m->Position() == Current, ColorMark, ColorCurrent);
|
Mark(p1, Start, m->Position() == Current, ColorMark, ColorCurrent);
|
||||||
Start = !Start;
|
Start = !Start;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user