summaryrefslogtreecommitdiff
path: root/dvbspu.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-06-12 12:59:48 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-06-12 12:59:48 +0200
commitc3144c9ab81a02469f65bded3285d643a3111ebc (patch)
tree42e930e81184deeaa71915f2a1501711a34510e0 /dvbspu.h
parent0e951afc2b8966039177f60b413bc1df245fcbaa (diff)
downloadvdr-c3144c9ab81a02469f65bded3285d643a3111ebc.tar.gz
vdr-c3144c9ab81a02469f65bded3285d643a3111ebc.tar.bz2
Some changes to the SPU decoder interface
Diffstat (limited to 'dvbspu.h')
-rw-r--r--dvbspu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/dvbspu.h b/dvbspu.h
index df717c1b..e0f3d0c6 100644
--- a/dvbspu.h
+++ b/dvbspu.h
@@ -8,7 +8,7 @@
*
* parts of this file are derived from the OMS program.
*
- * $Id: dvbspu.h 1.4 2004/05/31 08:49:20 kls Exp $
+ * $Id: dvbspu.h 1.5 2004/06/12 12:57:55 kls Exp $
*/
#ifndef __DVBSPU_H
@@ -132,9 +132,6 @@ class cDvbSpuDecoder:public cSpuDecoder {
int ScaleYres(int value);
void DrawBmp(sDvbSpuRect & size, cBitmap * bmp);
- void Draw();
- void Hide();
-
public:
cDvbSpuDecoder();
~cDvbSpuDecoder();
@@ -147,6 +144,9 @@ class cDvbSpuDecoder:public cSpuDecoder {
uint32_t palette);
void clearHighlight(void);
void Empty(void);
+ void Hide(void);
+ void Draw(void);
+ bool IsVisible(void) { return osd != NULL; }
void processSPU(uint32_t pts, uint8_t * buf);
};