summaryrefslogtreecommitdiff
path: root/ovgosd.h
blob: a8d309d66e3d5a5825ad6932134a149580b36ed8 (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
/*
 * 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 cOvgThread;

class cRpiOsdProvider : public cOsdProvider
{

public:

	cRpiOsdProvider();
	~cRpiOsdProvider();

	static void ResetOsd(bool cleanup = false);
	static const cImage *GetImageData(int ImageHandle);

protected:

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

private:

	cOvgThread *m_ovg;
	static cRpiOsdProvider *s_instance;
};

#endif