summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha@akv-soft.de>2004-01-02 23:13:00 +0100
committerSascha Volkenandt <sascha@akv-soft.de>2004-01-02 23:13:00 +0100
commit4a775c82c82597c65345b3b1fdad71792ef2e486 (patch)
treed3a5fc2a34e6746f8d7ee51e793ff3645bf3e814 /osd.h
downloadvdr-plugin-osdpip-4a775c82c82597c65345b3b1fdad71792ef2e486.tar.gz
vdr-plugin-osdpip-4a775c82c82597c65345b3b1fdad71792ef2e486.tar.bz2
Release version 0.0.1v0.0.1
- Initial revision.
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/osd.h b/osd.h
new file mode 100644
index 0000000..1ff39ea
--- /dev/null
+++ b/osd.h
@@ -0,0 +1,38 @@
+#ifndef VDR_OSDPIP_OSD_H
+#define VDR_OSDPIP_OSD_H
+
+#include <vdr/osd.h>
+#include <vdr/thread.h>
+#include <vdr/receiver.h>
+
+extern "C" {
+#include <mpeg2dec/mpeg2.h>
+#include <mpeg2dec/mpeg2convert.h>
+};
+
+class cRingBufferLinear;
+class cOsdPipReceiver;
+
+class cOsdPipObject: public cOsdObject, public cThread {
+private:
+ cOsdBase *m_Osd;
+ cRingBufferLinear *m_ESBuffer;
+ cOsdPipReceiver *m_Receiver;
+ const cChannel *m_Channel;
+ tWindowHandle m_Window;
+
+ bool m_Active;
+ int m_Xpos, m_Ypos;
+
+protected:
+ virtual void Action(void);
+
+public:
+ cOsdPipObject(cDevice *Device, const cChannel *Channel);
+ virtual ~cOsdPipObject(void);
+
+ virtual void Show(void);
+ eOSState ProcessKey(eKeys k);
+};
+
+#endif // VDR_OSDPIP_OSD_H