vdr
1.7.27
|
Public Member Functions | |
cSkinClassicDisplayVolume (void) | |
virtual | ~cSkinClassicDisplayVolume () |
virtual void | SetVolume (int Current, int Total, bool Mute) |
virtual void | Flush (void) |
Private Attributes | |
cOsd * | osd |
Definition at line 549 of file skinclassic.c.
Definition at line 559 of file skinclassic.c.
References cSetup::AntiAlias, cOsd::CanHandleAreas(), fontOsd, cFont::GetFont(), cFont::Height(), cOsdProvider::NewOsd(), oeOk, osd, cOsd::OsdHeight(), cOsd::OsdLeft(), cOsd::OsdTop(), cOsd::OsdWidth(), cOsd::SetAreas(), and Setup.
cSkinClassicDisplayVolume::~cSkinClassicDisplayVolume | ( | ) | [virtual] |
Definition at line 573 of file skinclassic.c.
References osd.
void cSkinClassicDisplayVolume::Flush | ( | void | ) | [virtual] |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 596 of file skinclassic.c.
References cOsd::Flush(), and osd.
void cSkinClassicDisplayVolume::SetVolume | ( | int | Current, |
int | Total, | ||
bool | Mute | ||
) | [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 578 of file skinclassic.c.
References clrBackground, clrTransparent, cTheme::Color(), cOsd::DrawRectangle(), cOsd::DrawText(), fontOsd, cFont::GetFont(), cOsd::Height(), osd, tr, cFont::Width(), and cOsd::Width().
cOsd* cSkinClassicDisplayVolume::osd [private] |
Definition at line 551 of file skinclassic.c.
Referenced by cSkinClassicDisplayVolume(), Flush(), SetVolume(), and ~cSkinClassicDisplayVolume().