vdr-plugin-softhddevice-drm-gles 1.6.4-d0291bb
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
31class cSoftOsd:public cOsd {
32public:
33 cSoftOsd(int, int, uint, cSoftHdDevice *);
34 virtual ~cSoftOsd(void);
35
36 virtual eOsdError SetAreas(const tArea *, int);
37 virtual void Flush(void);
38 virtual void SetActive(bool);
39
40private:
42 bool m_dirty = false;
44};
45
46#endif
Output Device Implementation.
Software Based OSD (CPU)
Definition softhdosd.h:31
virtual void Flush(void)
Actually commit all data to the OSD hardware.
int m_osdLevel
current osd level
Definition softhdosd.h:43
virtual ~cSoftOsd(void)
Shut down the OSD.
Definition softhdosd.cpp:41
virtual eOsdError SetAreas(const tArea *, int)
Set the sub-areas to the given areas.
Definition softhdosd.cpp:77
cSoftHdDevice * m_pDevice
pointer to the cSoftHdDevice object
Definition softhdosd.h:41
virtual void SetActive(bool)
Sets this OSD to be the active one.
Definition softhdosd.cpp:55
bool m_dirty
flag to force redrawing everything
Definition softhdosd.h:42