mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Increased the bpp of cProgressBar to 4 to handle all different colors
This commit is contained in:
parent
171b20a80d
commit
4805af7915
1
HISTORY
1
HISTORY
@ -10015,3 +10015,4 @@ Video Disk Recorder Revision History
|
||||
its number of errors set to that of the original recording.
|
||||
APIVERSNUM is now 30005.
|
||||
- Fixed singular when displaying number of errors in the recording info.
|
||||
- Increased the bpp of cProgressBar to 4 to handle all different colors.
|
||||
|
4
skins.c
4
skins.c
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: skins.c 5.3 2024/09/19 09:49:02 kls Exp $
|
||||
* $Id: skins.c 5.4 2024/09/21 16:21:08 kls Exp $
|
||||
*/
|
||||
|
||||
#include "skins.h"
|
||||
@ -152,7 +152,7 @@ cSkinDisplayReplay::cProgressBar::cProgressBar(int Width, int Height, int Curren
|
||||
}
|
||||
|
||||
cSkinDisplayReplay::cProgressBar::cProgressBar(int Width, int Height, int Current, int Total, const cMarks *Marks, const cErrors *Errors, tColor ColorSeen, tColor ColorRest, tColor ColorSelected, tColor ColorMark, tColor ColorCurrent, tColor ColorError)
|
||||
:cBitmap(Width, Height, 2)
|
||||
:cBitmap(Width, Height, 4)
|
||||
{
|
||||
total = Total;
|
||||
if (total > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user