summaryrefslogtreecommitdiff
path: root/osdbase.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-07-13 14:45:55 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-07-13 14:45:55 +0200
commit5b040b1d92cdf8ae36ad319a5f5805e8d83b5411 (patch)
treef7ea25370836adb149c0fdc866389b92c74e2195 /osdbase.h
parent5fb0a0ed1841e3825f73244af02864cc899f3e24 (diff)
downloadvdr-5b040b1d92cdf8ae36ad319a5f5805e8d83b5411.tar.gz
vdr-5b040b1d92cdf8ae36ad319a5f5805e8d83b5411.tar.bz2
Added direct access to the index data of cPalette (needed for displaying SPUs) (cont'd)
Diffstat (limited to 'osdbase.h')
-rw-r--r--osdbase.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/osdbase.h b/osdbase.h
index a73b1c47..1800482f 100644
--- a/osdbase.h
+++ b/osdbase.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osdbase.h 1.3 2002/07/13 10:16:18 kls Exp $
+ * $Id: osdbase.h 1.4 2002/07/13 14:45:55 kls Exp $
*/
#ifndef __OSDBASE_H
@@ -50,9 +50,10 @@ 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);
- void SetColor(int Index, eDvbColor Color);
int Index(eDvbColor Color);
void Reset(void);
const eDvbColor *Colors(int &FirstColor, int &LastColor);