diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-09-08 14:17:51 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-09-08 14:17:51 +0200 |
commit | 9133fdcf630192fb57b7db4e3b35839588c3451d (patch) | |
tree | 38b51eb9d1bd241f1a7a28192d42f7bd91f59523 /osdbase.h | |
parent | 1b396902e488e093234ac181bbc0e514dd098942 (diff) | |
download | vdr-9133fdcf630192fb57b7db4e3b35839588c3451d.tar.gz vdr-9133fdcf630192fb57b7db4e3b35839588c3451d.tar.bz2 |
Implemented an SPU decoder
Diffstat (limited to 'osdbase.h')
-rw-r--r-- | osdbase.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: osdbase.h 1.5 2002/08/25 10:01:00 kls Exp $ + * $Id: osdbase.h 1.6 2002/09/08 14:12:41 kls Exp $ */ #ifndef __OSDBASE_H @@ -50,12 +50,12 @@ private: bool full; protected: typedef unsigned char tIndexes[MAXNUMCOLORS]; - void SetColor(int Index, eDvbColor Color); - eDvbColor GetColor(int Index) { return color[Index]; } public: cPalette(int Bpp); int Index(eDvbColor Color); void Reset(void); + void SetColor(int Index, eDvbColor Color); + eDvbColor GetColor(int Index) { return Index < maxColors ? color[Index] : clrBlack; } const eDvbColor *NewColors(int &FirstColor, int &LastColor); // With every call this function returns a consecutive range of // color entries that have been added since the last call. The |