From 809fbda03c5014ba9cd361f5113d1d717cd41ea6 Mon Sep 17 00:00:00 2001 From: louis Date: Tue, 26 Jan 2016 18:32:38 +0100 Subject: Version 0.8.0 beta --- coreengine/osdwrapper.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 coreengine/osdwrapper.h (limited to 'coreengine/osdwrapper.h') diff --git a/coreengine/osdwrapper.h b/coreengine/osdwrapper.h new file mode 100644 index 0000000..ad0394d --- /dev/null +++ b/coreengine/osdwrapper.h @@ -0,0 +1,26 @@ +#ifndef __OSDWRAPPER_H +#define __OSDWRAPPER_H + +#include +#include + +class cSdOsd { +private: + cOsd *osd; + cMutex mutex; + bool flushLocked; +public: + cSdOsd(void); + virtual ~cSdOsd(void); + void Lock(void); + void Unlock(void); + void LockFlush(void); + void UnlockFlush(void); + bool CreateOsd(int x, int y, int width, int height); + void DeleteOsd(void); + cPixmap *CreatePixmap(int layer, cRect &viewPort, cRect &drawPort); + void DestroyPixmap(cPixmap *pix); + void Flush(void); +}; + +#endif //__OSDWRAPPER_H \ No newline at end of file -- cgit v1.2.3