vdr
2.0.4
|
Public Member Functions | |
cSkinCursesDisplayVolume (void) | |
virtual | ~cSkinCursesDisplayVolume () |
virtual void | SetVolume (int Current, int Total, bool Mute) |
virtual void | Flush (void) |
Private Attributes | |
cOsd * | osd |
Additional Inherited Members | |
![]() | |
static int | AvgCharWidth (void) |
static cSkinDisplay * | Current (void) |
Definition at line 590 of file skincurses.c.
cSkinCursesDisplayVolume::cSkinCursesDisplayVolume | ( | void | ) |
Definition at line 600 of file skincurses.c.
References osd, and ScOsdHeight.
|
virtual |
Definition at line 605 of file skincurses.c.
References osd.
|
virtual |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 626 of file skincurses.c.
References cOsd::Flush(), and 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 610 of file skincurses.c.
References clrBackground, clrGreen, clrTransparent, clrWhite, cOsd::DrawRectangle(), cOsd::DrawText(), osd, ScOsdWidth, tr, and Utf8StrLen().
|
private |
Definition at line 592 of file skincurses.c.
Referenced by cSkinCursesDisplayVolume(), Flush(), SetVolume(), and ~cSkinCursesDisplayVolume().