summaryrefslogtreecommitdiff
path: root/ovgosd.h
blob: 8a8b0ed8a6d8ab98e37cf36f349f361c7ba9baa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * See the README file for copyright information and how to reach the author.
 *
 * $Id$
 */

#ifndef OVG_OSD_H
#define OVG_OSD_H

#include <vdr/osd.h>

class cOvg;

class cRpiOsdProvider : public cOsdProvider
{

public:

	cRpiOsdProvider();
	~cRpiOsdProvider();

	static void ResetOsd(void);

protected:

	virtual cOsd *CreateOsd(int Left, int Top, uint Level);
	virtual bool ProvidesTrueColor(void) { return true; }
	virtual int StoreImageData(const cImage &Image) { return 0; }
	virtual void DropImageData(int ImageHandle) { }

private:

	cOvg *m_ovg;
	static cRpiOsdProvider *s_instance;
};

#endif