diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-01-07 14:21:00 +0100 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-01-07 14:21:00 +0100 |
commit | 31cee7f11b870c98f2707440212321cb2e9d0fe1 (patch) | |
tree | 6b6bd05dfe74b25fad2bc027d55009b918f526f4 /dxr3osd.h | |
parent | 48c753433b7e2aab49ba3924ff07e15d04980026 (diff) | |
download | vdr-plugin-dxr3-31cee7f11b870c98f2707440212321cb2e9d0fe1.tar.gz vdr-plugin-dxr3-31cee7f11b870c98f2707440212321cb2e9d0fe1.tar.bz2 |
upps... missing changes
Diffstat (limited to 'dxr3osd.h')
-rw-r--r-- | dxr3osd.h | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -13,6 +13,27 @@ public: virtual cOsd *CreateOsd(int Left, int Top, uint Level); }; +// ================================== +// osd interface +class cDxr3Osd : public cOsd +{ +private: + cSPUEncoder* Spu; ///< interface to cSPUEncoder + bool shown; ///< is the osd shown? + cPalette* Palette; ///< global palette (needed by all bitmaps) + cTimeMs *last; +protected: + virtual void SetActive(bool On); +public: + cDxr3Osd(int Left, int Top, uint Level); + ~cDxr3Osd(); + + eOsdError CanHandleAreas(const tArea *Areas, int NumAreas); + eOsdError SetAreas(const tArea *Areas, int NumAreas); + + void Flush(); +}; + #endif /*_DXR3_OSD_H_*/ // Local variables: |