cSkinClassicDisplayVolume Class Reference

Inheritance diagram for cSkinClassicDisplayVolume:

Inheritance graph
Collaboration diagram for cSkinClassicDisplayVolume:

Collaboration graph

List of all members.

Public Member Functions

 cSkinClassicDisplayVolume (void)
virtual ~cSkinClassicDisplayVolume ()
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


Detailed Description

Definition at line 491 of file skinclassic.c.

Constructor & Destructor Documentation

cSkinClassicDisplayVolume::cSkinClassicDisplayVolume ( void   ) 

Definition at line 501 of file skinclassic.c.

References fontOsd, cFont::GetFont(), cFont::Height(), cOsdProvider::NewOsd(), osd, cSetup::OSDHeight, cSetup::OSDLeft, cSetup::OSDTop, cSetup::OSDWidth, cOsd::SetAreas(), and Setup.

Here is the call graph for this function:

cSkinClassicDisplayVolume::~cSkinClassicDisplayVolume (  )  [virtual]

Definition at line 510 of file skinclassic.c.

References osd.

Member Function Documentation

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 515 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().

Here is the call graph for this function:

void cSkinClassicDisplayVolume::Flush ( void   )  [virtual]

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 532 of file skinclassic.c.

References cOsd::Flush(), and osd.

Here is the call graph for this function:

Member Data Documentation

cOsd* cSkinClassicDisplayVolume::osd [private]

Definition at line 493 of file skinclassic.c.

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

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