forked from zillevdr/vdr-plugin-softhddevice-drm
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsofthdosd.h
More file actions
46 lines (37 loc) · 959 Bytes
/
Copy pathsofthdosd.h
File metadata and controls
46 lines (37 loc) · 959 Bytes
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
// SPDX-License-Identifier: AGPL-3.0-or-later
/**
* @file softhdosd.h
* Software OSD Header File
*
* @copyright 2011, 2014 by Johns. All Rights Reserved.
* @copyright 2018 - 2019 zille. All Rights Reserved.
* @copyright 2025 - 2026 by Andreas Baierl. All Rights Reserved.
*
* @license{AGPL-3.0-or-later}
*/
#ifndef __SOFTOSD_H
#define __SOFTOSD_H
#include <vdr/osd.h>
class cSoftHdDevice;
/**
* OSD Rendering Interface
* @defgroup osd OSD
*/
/**
* Software Based OSD (CPU)
*
* @ingroup osd
*/
class cSoftOsd:public cOsd {
public:
cSoftOsd(int, int, uint, cSoftHdDevice *);
virtual ~cSoftOsd(void);
virtual eOsdError SetAreas(const tArea *, int);
virtual void Flush(void);
virtual void SetActive(bool);
private:
cSoftHdDevice *m_pDevice; ///< pointer to the cSoftHdDevice object
bool m_dirty = false; ///< flag to force redrawing everything
int m_osdLevel; ///< current osd level
};
#endif