vdr-plugin-softhddevice-drm-gles 1.6.2
softhdosd.h
Go to the documentation of this file.
1// SPDX-License-Identifier: AGPL-3.0-or-later
2
14#ifndef __SOFTOSD_H
15#define __SOFTOSD_H
16
17#include <vdr/osd.h>
18
19class cSoftHdDevice;
20
29class cSoftOsd:public cOsd {
30public:
31 cSoftOsd(int, int, uint, cSoftHdDevice *);
32 virtual ~cSoftOsd(void);
33
34 virtual eOsdError SetAreas(const tArea *, int);
35 virtual void Flush(void);
36 virtual void SetActive(bool);
37
38private:
40 bool m_dirty = false;
42};
43
46#endif
Output Device Implementation.
Software Based OSD.
Definition softhdosd.h:29
int m_osdLevel
current osd level
Definition softhdosd.h:41
cSoftHdDevice * m_pDevice
pointer to the cSoftHdDevice object
Definition softhdosd.h:39
bool m_dirty
flag to force redrawing everything
Definition softhdosd.h:40
virtual void Flush(void)
Actually commit all data to the OSD hardware.
virtual ~cSoftOsd(void)
Shut down the OSD.
Definition softhdosd.cpp:48
virtual eOsdError SetAreas(const tArea *, int)
Set the sub-areas to the given areas.
Definition softhdosd.cpp:84
virtual void SetActive(bool)
Sets this OSD to be the active one.
Definition softhdosd.cpp:62