vdr
1.7.27
|
Public Member Functions | |
cSkinSTTNGDisplayVolume (void) | |
virtual | ~cSkinSTTNGDisplayVolume () |
virtual void | SetVolume (int Current, int Total, bool Mute) |
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 |
Definition at line 917 of file skinsttng.c.
Definition at line 931 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, x0, x1, x2, x3, x4, x5, x6, x7, y0, and y1.
cSkinSTTNGDisplayVolume::~cSkinSTTNGDisplayVolume | ( | ) | [virtual] |
Definition at line 968 of file skinsttng.c.
References osd.
void cSkinSTTNGDisplayVolume::Flush | ( | void | ) | [virtual] |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 1001 of file skinsttng.c.
References cOsd::Flush(), and osd.
void cSkinSTTNGDisplayVolume::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 973 of file skinsttng.c.
References cTheme::Color(), cOsd::DrawBitmap(), cOsd::DrawRectangle(), frameColor, cBitmap::Height(), mute, osd, TextFrame, TextSpacing, cBitmap::Width(), x3, x4, y0, and y1.
tColor cSkinSTTNGDisplayVolume::frameColor [private] |
Definition at line 922 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().
int cSkinSTTNGDisplayVolume::mute [private] |
Definition at line 923 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().
cOsd* cSkinSTTNGDisplayVolume::osd [private] |
Definition at line 919 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume(), Flush(), SetVolume(), and ~cSkinSTTNGDisplayVolume().
int cSkinSTTNGDisplayVolume::x0 [private] |
Definition at line 920 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume().
int cSkinSTTNGDisplayVolume::x1 [private] |
Definition at line 920 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume().
int cSkinSTTNGDisplayVolume::x2 [private] |
Definition at line 920 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume().
int cSkinSTTNGDisplayVolume::x3 [private] |
Definition at line 920 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().
int cSkinSTTNGDisplayVolume::x4 [private] |
Definition at line 920 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().
int cSkinSTTNGDisplayVolume::x5 [private] |
Definition at line 920 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume().
int cSkinSTTNGDisplayVolume::x6 [private] |
Definition at line 920 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume().
int cSkinSTTNGDisplayVolume::x7 [private] |
Definition at line 920 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume().
int cSkinSTTNGDisplayVolume::y0 [private] |
Definition at line 921 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().
int cSkinSTTNGDisplayVolume::y1 [private] |
Definition at line 921 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().