summaryrefslogtreecommitdiff
path: root/ovgosd.h
blob: d4a7c0d5bdfa2f716ddf9b64f0bfc50c2c0c2211 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
 * 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();

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;
};


class cOvgOsd : public cOsd
{

public:

	cOvgOsd(int Left, int Top, uint Level, cOvg *ovg);
	virtual ~cOvgOsd();

	virtual void Flush(void);

private:

	cOvg *m_ovg;

};

#endif