vdr  2.0.4
Public Member Functions | Private Attributes | List of all members
cSkinLCARSDisplayVolume Class Reference

Public Member Functions

 cSkinLCARSDisplayVolume (void)
 
virtual ~cSkinLCARSDisplayVolume ()
 
virtual void SetVolume (int Current, int Total, bool Mute)
 
virtual void Flush (void)
 

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
 

Additional Inherited Members

- Static Public Member Functions inherited from cSkinDisplay
static int AvgCharWidth (void)
 
static cSkinDisplayCurrent (void)
 

Detailed Description

Definition at line 1868 of file skinlcars.c.

Constructor & Destructor Documentation

cSkinLCARSDisplayVolume::cSkinLCARSDisplayVolume ( void  )
cSkinLCARSDisplayVolume::~cSkinLCARSDisplayVolume ( )
virtual

Definition at line 1909 of file skinlcars.c.

References osd.

Member Function Documentation

void cSkinLCARSDisplayVolume::Flush ( void  )
virtual

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 1942 of file skinlcars.c.

References cOsd::Flush(), and osd.

void cSkinLCARSDisplayVolume::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 1914 of file skinlcars.c.

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

Member Data Documentation

tColor cSkinLCARSDisplayVolume::frameColor
private

Definition at line 1873 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume(), and SetVolume().

int cSkinLCARSDisplayVolume::mute
private

Definition at line 1874 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume(), and SetVolume().

cOsd* cSkinLCARSDisplayVolume::osd
private

Definition at line 1870 of file skinlcars.c.

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

int cSkinLCARSDisplayVolume::x0
private

Definition at line 1871 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume().

int cSkinLCARSDisplayVolume::x1
private

Definition at line 1871 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume().

int cSkinLCARSDisplayVolume::x2
private

Definition at line 1871 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume().

int cSkinLCARSDisplayVolume::x3
private

Definition at line 1871 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume(), and SetVolume().

int cSkinLCARSDisplayVolume::x4
private

Definition at line 1871 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume(), and SetVolume().

int cSkinLCARSDisplayVolume::x5
private

Definition at line 1871 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume().

int cSkinLCARSDisplayVolume::x6
private

Definition at line 1871 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume().

int cSkinLCARSDisplayVolume::x7
private

Definition at line 1871 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume().

int cSkinLCARSDisplayVolume::y0
private

Definition at line 1872 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume(), and SetVolume().

int cSkinLCARSDisplayVolume::y1
private

Definition at line 1872 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume(), and SetVolume().


The documentation for this class was generated from the following file: