Increased the bpp of cProgressBar to 4 to handle all different colors

This commit is contained in:
Klaus Schmidinger 2024-09-21 16:21:08 +02:00
parent 171b20a80d
commit 4805af7915
2 changed files with 3 additions and 2 deletions

View File

@ -10015,3 +10015,4 @@ Video Disk Recorder Revision History
its number of errors set to that of the original recording. its number of errors set to that of the original recording.
APIVERSNUM is now 30005. APIVERSNUM is now 30005.
- Fixed singular when displaying number of errors in the recording info. - Fixed singular when displaying number of errors in the recording info.
- Increased the bpp of cProgressBar to 4 to handle all different colors.

View File

@ -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 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" #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) 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; total = Total;
if (total > 0) { if (total > 0) {