diff options
Diffstat (limited to 'osdmanager.h')
-rw-r--r-- | osdmanager.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/osdmanager.h b/osdmanager.h index a0c7936..3607d40 100644 --- a/osdmanager.h +++ b/osdmanager.h @@ -1,23 +1,23 @@ -#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
+#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 |