diff options
author | austriancoder <austriancoder> | 2004-08-05 23:05:21 +0000 |
---|---|---|
committer | austriancoder <austriancoder> | 2004-08-05 23:05:21 +0000 |
commit | c47666d42f7972e1b51f9de61ce0fa27c72f3127 (patch) | |
tree | e34a87e37901b7f892fb6f330ccb15bcba30039b /dxr3osd.h | |
download | vdr-plugin-dxr3-c47666d42f7972e1b51f9de61ce0fa27c72f3127.tar.gz vdr-plugin-dxr3-c47666d42f7972e1b51f9de61ce0fa27c72f3127.tar.bz2 |
initial import
Diffstat (limited to 'dxr3osd.h')
-rw-r--r-- | dxr3osd.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dxr3osd.h b/dxr3osd.h new file mode 100644 index 0000000..234689e --- /dev/null +++ b/dxr3osd.h @@ -0,0 +1,42 @@ +#ifndef _DXR3_OSD_H_ +#define _DXR3_OSD_H_ + +#include "dxr3vdrincludes.h" +#include "dxr3interface_spu_encoder.h" + +#if VDRVERSNUM >= 10307 + +// ================================== +// osd plugin provider +class cDxr3OsdProvider : public cOsdProvider +{ +public: + cDxr3OsdProvider() {} + virtual cOsd *CreateOsd(int Left, int Top); +}; + +#else /*VDRVERSNUM*/ + +// ================================== +// osd interface for =< vdr1,3,7 +class cDxr3Osd : public cOsdBase +{ +private: + cSPUEncoder* Spu; + + bool SetWindow(cWindow*); + +public: + cDxr3Osd(int x, int y); + ~cDxr3Osd(); + + virtual bool OpenWindow(cWindow *Window); + virtual void CommitWindow(cWindow *Window); + virtual void ShowWindow(cWindow *Window); + virtual void HideWindow(cWindow *Window, bool Hide); + virtual void CloseWindow(cWindow *Window); + virtual void MoveWindow(cWindow *Window, int x, int y); +}; + +#endif /*VDRVERSNUM*/ +#endif /*_DXR3_OSD_H_*/ |