vdr
2.2.0
|
Public Member Functions | |
cSkinSTTNGDisplayVolume (void) | |
virtual | ~cSkinSTTNGDisplayVolume () |
virtual void | SetVolume (int Current, int Total, bool Mute) |
virtual void | Flush (void) |
![]() | |
cSkinDisplay (void) | |
virtual | ~cSkinDisplay () |
int | EditableWidth (void) |
void | SetEditableWidth (int Width) |
virtual void | SetButtons (const char *Red, const char *Green=NULL, const char *Yellow=NULL, const char *Blue=NULL) |
virtual void | SetMessage (eMessageType Type, const char *Text) |
Private Attributes | |
cOsd * | osd |
int | x0 |
int | x1 |
int | x2 |
int | x3 |
int | x4 |
int | x5 |
int | x6 |
int | x7 |
int | y0 |
int | y1 |
tColor | frameColor |
int | mute |
Additional Inherited Members | |
![]() | |
static int | AvgCharWidth (void) |
static cSkinDisplay * | Current (void) |
Definition at line 933 of file skinsttng.c.
cSkinSTTNGDisplayVolume::cSkinSTTNGDisplayVolume | ( | void | ) |
Definition at line 947 of file skinsttng.c.
References cSetup::AntiAlias, cOsd::CanHandleAreas(), clrTransparent, cTheme::Color(), cOsd::DrawEllipse(), cOsd::DrawRectangle(), fontOsd, cSkinSTTNGDisplayChannel::frameColor, Gap, cFont::GetFont(), cFont::Height(), cSkinSTTNGDisplayChannel::lineHeight, cOsdProvider::NewOsd(), oeOk, cSkinSTTNGDisplayChannel::osd, cOsd::OsdHeight(), cOsd::OsdLeft(), cOsd::OsdTop(), cOsd::OsdWidth(), cOsd::SetAreas(), Setup, cSkinSTTNGDisplayChannel::x0, cSkinSTTNGDisplayChannel::x1, cSkinSTTNGDisplayChannel::x2, cSkinSTTNGDisplayChannel::x3, cSkinSTTNGDisplayChannel::x4, cSkinSTTNGDisplayChannel::x5, cSkinSTTNGDisplayChannel::x6, cSkinSTTNGDisplayChannel::x7, cSkinSTTNGDisplayChannel::y0, and cSkinSTTNGDisplayChannel::y1.
|
virtual |
Definition at line 984 of file skinsttng.c.
References cSkinSTTNGDisplayChannel::osd.
|
virtual |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 1017 of file skinsttng.c.
References cOsd::Flush(), and cSkinSTTNGDisplayChannel::osd.
|
virtual |
< This class implements the volume/mute display.
Sets the volume to the given Current value, which is in the range 0...Total. If Mute is true, audio is currently muted and a "mute" indicator shall be displayed.
Implements cSkinDisplayVolume.
Definition at line 989 of file skinsttng.c.
References cTheme::Color(), cOsd::DrawBitmap(), cOsd::DrawRectangle(), cSkinSTTNGDisplayChannel::frameColor, cBitmap::Height(), cSkinSTTNGDisplayChannel::osd, TextFrame, TextSpacing, cBitmap::Width(), cSkinSTTNGDisplayChannel::x3, cSkinSTTNGDisplayChannel::x4, cSkinSTTNGDisplayChannel::y0, and cSkinSTTNGDisplayChannel::y1.
|
private |
Definition at line 938 of file skinsttng.c.
|
private |
Definition at line 939 of file skinsttng.c.
|
private |
Definition at line 935 of file skinsttng.c.
|
private |
Definition at line 936 of file skinsttng.c.
|
private |
Definition at line 936 of file skinsttng.c.
|
private |
Definition at line 936 of file skinsttng.c.
|
private |
Definition at line 936 of file skinsttng.c.
|
private |
Definition at line 936 of file skinsttng.c.
|
private |
Definition at line 936 of file skinsttng.c.
|
private |
Definition at line 936 of file skinsttng.c.
|
private |
Definition at line 936 of file skinsttng.c.
|
private |
Definition at line 937 of file skinsttng.c.
|
private |
Definition at line 937 of file skinsttng.c.