diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-08-25 10:05:24 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-08-25 10:05:24 +0200 |
commit | e63b279d967564b847f19dbd694dab9a577acfb1 (patch) | |
tree | 8b77cadd84dc88a174daa3a1dd051991be7edb6d /dvbosd.c | |
parent | c6ed4da7a0e8d9bf5664ba2c4282e3c6cb6d7932 (diff) | |
download | vdr-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)); |