cSkinSTTNGDisplayVolume Class Reference

Inheritance diagram for cSkinSTTNGDisplayVolume:

Inheritance graph
[legend]
Collaboration diagram for cSkinSTTNGDisplayVolume:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cSkinSTTNGDisplayVolume (void)
virtual ~cSkinSTTNGDisplayVolume ()
virtual void SetVolume (int Current, int Total, bool Mute)
 < This class implements the volume/mute display.
virtual void Flush (void)
 Actually draws the OSD display to the output device.

Private Attributes

cOsdosd
int x0
int x1
int x2
int x3
int x4
int x5
int x6
int x7
int y0
int y1
tColor frameColor
int mute


Detailed Description

Definition at line 797 of file skinsttng.c.


Constructor & Destructor Documentation

cSkinSTTNGDisplayVolume::cSkinSTTNGDisplayVolume ( void   ) 

Definition at line 811 of file skinsttng.c.

References clrTransparent, cTheme::Color(), cOsd::DrawEllipse(), cOsd::DrawRectangle(), fontOsd, frameColor, Gap, cFont::GetFont(), cFont::Height(), mute, cOsdProvider::NewOsd(), osd, cSetup::OSDHeight, cSetup::OSDLeft, cSetup::OSDTop, cSetup::OSDWidth, cOsd::SetAreas(), Setup, x0, x1, x2, x3, x4, x5, x6, x7, y0, and y1.

Here is the call graph for this function:

cSkinSTTNGDisplayVolume::~cSkinSTTNGDisplayVolume (  )  [virtual]

Definition at line 838 of file skinsttng.c.

References osd.


Member Function Documentation

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 843 of file skinsttng.c.

References cTheme::Color(), cOsd::DrawBitmap(), cOsd::DrawRectangle(), frameColor, cBitmap::Height(), mute, osd, cBitmap::Width(), x3, x4, y0, and y1.

Here is the call graph for this function:

void cSkinSTTNGDisplayVolume::Flush ( void   )  [virtual]

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 871 of file skinsttng.c.

References cOsd::Flush(), and osd.

Here is the call graph for this function:


Member Data Documentation

cOsd* cSkinSTTNGDisplayVolume::osd [private]

Definition at line 799 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume(), Flush(), SetVolume(), and ~cSkinSTTNGDisplayVolume().

int cSkinSTTNGDisplayVolume::x0 [private]

Definition at line 800 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume().

int cSkinSTTNGDisplayVolume::x1 [private]

Definition at line 800 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume().

int cSkinSTTNGDisplayVolume::x2 [private]

Definition at line 800 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume().

int cSkinSTTNGDisplayVolume::x3 [private]

Definition at line 800 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().

int cSkinSTTNGDisplayVolume::x4 [private]

Definition at line 800 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().

int cSkinSTTNGDisplayVolume::x5 [private]

Definition at line 800 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume().

int cSkinSTTNGDisplayVolume::x6 [private]

Definition at line 800 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume().

int cSkinSTTNGDisplayVolume::x7 [private]

Definition at line 800 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume().

int cSkinSTTNGDisplayVolume::y0 [private]

Definition at line 801 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().

int cSkinSTTNGDisplayVolume::y1 [private]

Definition at line 801 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().

tColor cSkinSTTNGDisplayVolume::frameColor [private]

Definition at line 802 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().

int cSkinSTTNGDisplayVolume::mute [private]

Definition at line 803 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().


The documentation for this class was generated from the following file:
Generated on Tue Nov 6 20:29:00 2007 for VDR by  doxygen 1.5.3-20071008