mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
24 lines
671 B
C++
24 lines
671 B
C++
#ifndef __TVGUIDE_OSDMANAGER_H
|
|
#define __TVGUIDE_OSDMANAGER_H
|
|
|
|
#include <vdr/osd.h>
|
|
|
|
class cOsdManager {
|
|
private:
|
|
cOsd *osd;
|
|
public:
|
|
cOsdManager(void);
|
|
bool setOsd();
|
|
void setBackground();
|
|
void flush() {osd->Flush();};
|
|
cPixmap *requestPixmap(int Layer, const cRect &ViewPort, const cRect &DrawPort = cRect::Null);
|
|
void releasePixmap(cPixmap *pixmap);
|
|
void deleteOsd() {delete osd;};
|
|
int Width() { return osd->Width(); };
|
|
int Height() { return osd->Height(); };
|
|
int Top() { return osd->Top(); };
|
|
int Left() { return osd->Left(); };
|
|
};
|
|
|
|
#endif //__TVGUIDE_OSDMANAGER_H
|