diff options
Diffstat (limited to 'coreengine/osdwrapper.h')
| -rw-r--r-- | coreengine/osdwrapper.h | 26 |
1 files changed, 26 insertions, 0 deletions
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 <vdr/osd.h>
+#include <vdr/thread.h>
+
+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 |
