diff options
author | austriancoder <austriancoder> | 2005-08-15 17:28:49 +0000 |
---|---|---|
committer | austriancoder <austriancoder> | 2005-08-15 17:28:49 +0000 |
commit | 290038f3de13b728cab6d3db7729078482903844 (patch) | |
tree | b83287be6ad0602f7f73a91c11b36074e5062be0 /dxr3osd_subpicture.h | |
parent | 8955b4dfa419698ecb853bb8f1cdc1fe96d206d6 (diff) | |
download | vdr-plugin-dxr3-290038f3de13b728cab6d3db7729078482903844.tar.gz vdr-plugin-dxr3-290038f3de13b728cab6d3db7729078482903844.tar.bz2 |
HEAD = 0.2.3 release, because i want to start my coding with this codebase
Diffstat (limited to 'dxr3osd_subpicture.h')
-rw-r--r-- | dxr3osd_subpicture.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dxr3osd_subpicture.h b/dxr3osd_subpicture.h new file mode 100644 index 0000000..33a5a81 --- /dev/null +++ b/dxr3osd_subpicture.h @@ -0,0 +1,37 @@ +#ifndef _DXR3OSD_SUBPICTURE_H_ +#define _DXR3OSD_SUBPICTURE_H_ + +#include "dxr3vdrincludes.h" +#include "dxr3interface_spu_encoder.h" + +// ================================== +// osd interface +class cDxr3SubpictureOsd : public cOsd +{ +private: + cSPUEncoder* Spu; ///< interface to cSPUEncoder + bool shown; ///< is the osd shown? + cPalette* Palette; ///< global palette (needed by all bitmaps) +#if VDRVERSNUM >= 10318 + cTimeMs *last; +#else + int last; +#endif + +public: + cDxr3SubpictureOsd(int Left, int Top/*, int SpuDev*/); + ~cDxr3SubpictureOsd(); + + eOsdError CanHandleAreas(const tArea *Areas, int NumAreas); + + void Flush(); +}; + +#endif /*_DXR3OSD_SUBPICTURE_H_*/ + +// Local variables: +// mode: c++ +// c-file-style: "stroustrup" +// c-file-offsets: ((inline-open . 0)) +// indent-tabs-mode: t +// End: |