vdr
2.2.0
|
Public Member Functions | |
cSkinClassicDisplayVolume (void) | |
virtual | ~cSkinClassicDisplayVolume () |
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 |
Additional Inherited Members | |
![]() | |
static int | AvgCharWidth (void) |
static cSkinDisplay * | Current (void) |
Definition at line 565 of file skinclassic.c.
cSkinClassicDisplayVolume::cSkinClassicDisplayVolume | ( | void | ) |
Definition at line 575 of file skinclassic.c.
References cSetup::AntiAlias, cOsd::CanHandleAreas(), fontOsd, cFont::GetFont(), cFont::Height(), cSkinClassicDisplayChannel::lineHeight, cOsdProvider::NewOsd(), oeOk, cSkinClassicDisplayChannel::osd, cOsd::OsdHeight(), cOsd::OsdLeft(), cOsd::OsdTop(), cOsd::OsdWidth(), cOsd::SetAreas(), and Setup.
|
virtual |
Definition at line 589 of file skinclassic.c.
References cSkinClassicDisplayChannel::osd.
|
virtual |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 612 of file skinclassic.c.
References cOsd::Flush(), and cSkinClassicDisplayChannel::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 594 of file skinclassic.c.
References clrBackground, clrTransparent, cTheme::Color(), cOsd::DrawRectangle(), cOsd::DrawText(), fontOsd, cFont::GetFont(), cOsd::Height(), cSkinClassicDisplayChannel::osd, tr, cFont::Width(), and cOsd::Width().
|
private |
Definition at line 567 of file skinclassic.c.