|
vdr-plugin-softhddevice-drm-gles 1.4.0
|
cSoftOsd - SoftHdDevice plugin software OSD class More...
#include <softhdosd.h>

Public Member Functions | |
| cSoftOsd (int, int, uint, cSoftHdDevice *) | |
| cSoftOsd constructor More... | |
| virtual | ~cSoftOsd (void) |
| cSoftOsd destructor More... | |
| virtual eOsdError | SetAreas (const tArea *, int) |
| Set the sub-areas to the given areas. More... | |
| virtual void | Flush (void) |
| Actually commit all data to the OSD hardware. More... | |
| virtual void | SetActive (bool) |
| Sets this OSD to be the active one. More... | |
Private Attributes | |
| cSoftHdDevice * | m_pDevice |
| pointer to the cSoftHdDevice object More... | |
| bool | m_dirty |
| flag to force redrawing everything More... | |
| int | m_osdLevel |
| current osd level More... | |
cSoftOsd - SoftHdDevice plugin software OSD class
Definition at line 41 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.
References L_OSD, LOGDEBUG2, m_osdLevel, and m_pDevice.
|
virtual |
cSoftOsd destructor
Shuts down the OSD.
Definition at line 63 of file softhdosd.cpp.
References L_OSD, LOGDEBUG2, m_osdLevel, and SetActive().
|
virtual |
Actually commit all data to the OSD hardware.
Definition at line 125 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 78 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 101 of file softhdosd.cpp.
References L_OSD, LOGDEBUG2, m_dirty, m_pDevice, and cSoftHdDevice::OsdClose().
|
private |
flag to force redrawing everything
Definition at line 53 of file softhdosd.h.
Referenced by Flush(), SetActive(), and SetAreas().
|
private |
current osd level
Definition at line 54 of file softhdosd.h.
Referenced by cSoftOsd(), Flush(), SetActive(), and ~cSoftOsd().
|
private |
pointer to the cSoftHdDevice object
Definition at line 52 of file softhdosd.h.
Referenced by cSoftOsd(), Flush(), SetActive(), and SetAreas().