|
vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
|
cSoftOsd - SoftHdDevice plugin software OSD class More...
#include <softhdosd.h>
Public Member Functions | |
| cSoftOsd (int, int, uint, cSoftHdDevice *) | |
| cSoftOsd constructor | |
| virtual | ~cSoftOsd (void) |
| cSoftOsd destructor | |
| virtual eOsdError | SetAreas (const tArea *, int) |
| Set the sub-areas to the given areas. | |
| virtual void | Flush (void) |
| Actually commit all data to the OSD hardware. | |
| virtual void | SetActive (bool) |
| Sets this OSD to be the active one. | |
Private Attributes | |
| cSoftHdDevice * | m_pDevice |
| pointer to the cSoftHdDevice object | |
| bool | m_dirty = false |
| flag to force redrawing everything | |
| int | m_osdLevel |
| current osd level | |
cSoftOsd - SoftHdDevice plugin software OSD class
Definition at line 43 of file softhdosd.h.
| cSoftOsd::cSoftOsd | ( | int | left, |
| int | top, | ||
| uint | level, | ||
| cSoftHdDevice * | device | ||
| ) |
cSoftOsd constructor
Initializes the OSD with the given coordinates.
| left | x-coordinate of osd on display |
| top | y-coordinate of osd on display |
| level | level of the osd (smallest is shown) |
| device | pointer to cSoftHdDevice object |
Definition at line 48 of file softhdosd.cpp.
|
virtual |
cSoftOsd destructor
Shuts down the OSD.
Definition at line 61 of file softhdosd.cpp.
References L_OSD, LOGDEBUG2, m_osdLevel, and SetActive().
|
virtual |
Actually commit all data to the OSD hardware.
Definition at line 122 of file softhdosd.cpp.
References cSoftHdDevice::GetOsdSize(), L_OSD, LOGDEBUG2, m_dirty, m_osdLevel, m_pDevice, and cSoftHdDevice::OsdDrawARGB().
Referenced by SetActive().
|
virtual |
Sets this OSD to be the active one.
| on | true on, false off |
Definition at line 76 of file softhdosd.cpp.
References Flush(), L_OSD, LOGDEBUG2, m_dirty, m_osdLevel, m_pDevice, and cSoftHdDevice::OsdClose().
Referenced by ~cSoftOsd().
|
virtual |
Set the sub-areas to the given areas.
Definition at line 98 of file softhdosd.cpp.
References L_OSD, LOGDEBUG2, m_dirty, m_pDevice, and cSoftHdDevice::OsdClose().
|
private |
flag to force redrawing everything
Definition at line 55 of file softhdosd.h.
Referenced by Flush(), SetActive(), and SetAreas().
|
private |
current osd level
Definition at line 56 of file softhdosd.h.
Referenced by Flush(), SetActive(), and ~cSoftOsd().
|
private |
pointer to the cSoftHdDevice object
Definition at line 54 of file softhdosd.h.
Referenced by Flush(), SetActive(), and SetAreas().