summaryrefslogtreecommitdiff
path: root/dvbosd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-08-25 10:05:24 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-08-25 10:05:24 +0200
commite63b279d967564b847f19dbd694dab9a577acfb1 (patch)
tree8b77cadd84dc88a174daa3a1dd051991be7edb6d /dvbosd.c
parentc6ed4da7a0e8d9bf5664ba2c4282e3c6cb6d7932 (diff)
downloadvdr-e63b279d967564b847f19dbd694dab9a577acfb1.tar.gz
vdr-e63b279d967564b847f19dbd694dab9a577acfb1.tar.bz2
Added cPalette::AllColors() for plugins that need to get the color entries of a cPalette
Diffstat (limited to 'dvbosd.c')
-rw-r--r--dvbosd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbosd.c b/dvbosd.c
index ca5cf490..4b0c1ea8 100644
--- a/dvbosd.c
+++ b/dvbosd.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbosd.c 1.18 2002/08/04 10:13:21 kls Exp $
+ * $Id: dvbosd.c 1.19 2002/08/25 09:53:51 kls Exp $
*/
#include "dvbosd.h"
@@ -92,7 +92,7 @@ void cDvbOsd::CommitWindow(cWindow *Window)
// commit colors:
int FirstColor = 0, LastColor = 0;
const eDvbColor *pal;
- while ((pal = Window->Colors(FirstColor, LastColor)) != NULL)
+ while ((pal = Window->NewColors(FirstColor, LastColor)) != NULL)
Cmd(OSD_SetPalette, FirstColor, LastColor, 0, 0, 0, pal);
// commit modified data:
Cmd(OSD_SetBlock, Window->Width(), x1, y1, x2, y2, Window->Data(x1, y1));