|
vdr 2.6.1
|
Public Member Functions | |
| cSkinSTTNGDisplayVolume (void) | |
| virtual | ~cSkinSTTNGDisplayVolume () |
| virtual void | SetVolume (int Current, int Total, bool Mute) |
| virtual void | Flush (void) |
| virtual void | SetVolume (int Current, int Total, bool Mute)=0 |
Public Member Functions inherited from cSkinDisplay | |
| 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) |
| virtual void | Flush (void) |
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 Public Member Functions inherited from cSkinDisplay | |
| static int | AvgCharWidth (void) |
| static cSkinDisplay * | Current (void) |
Definition at line 944 of file skinsttng.c.
| cSkinSTTNGDisplayVolume::cSkinSTTNGDisplayVolume | ( | void | ) |
Definition at line 958 of file skinsttng.c.
References cSetup::AntiAlias, cOsd::CanHandleAreas(), clrTransparent, cTheme::Color(), cOsd::DrawEllipse(), cOsd::DrawRectangle(), fontOsd, frameColor, Gap, cFont::GetFont(), cFont::Height(), mute, cOsdProvider::NewOsd(), oeOk, osd, cOsd::OsdHeight(), cOsd::OsdLeft(), cOsd::OsdTop(), cOsd::OsdWidth(), cOsd::SetAreas(), Setup, Theme, x0, x1, x2, x3, x4, x5, x6, x7, y0, and y1.
|
virtual |
Definition at line 995 of file skinsttng.c.
References osd.
|
virtual |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 1028 of file skinsttng.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 1000 of file skinsttng.c.
References cTheme::Color(), cSkinDisplay::Current(), cOsd::DrawBitmap(), cOsd::DrawRectangle(), frameColor, cBitmap::Height(), mute, osd, TextFrame, TextSpacing, Theme, cBitmap::Width(), x3, x4, y0, and y1.
|
private |
Definition at line 949 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().
|
private |
Definition at line 950 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().
|
private |
Definition at line 946 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume(), Flush(), SetVolume(), and ~cSkinSTTNGDisplayVolume().
|
private |
Definition at line 947 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume().
|
private |
Definition at line 947 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume().
|
private |
Definition at line 947 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume().
|
private |
Definition at line 947 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().
|
private |
Definition at line 947 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().
|
private |
Definition at line 947 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume().
|
private |
Definition at line 947 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume().
|
private |
Definition at line 947 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume().
|
private |
Definition at line 948 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().
|
private |
Definition at line 948 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().