vdr 2.8.3
cSkinLCARSDisplayVolume Class Reference

Public Member Functions

 cSkinLCARSDisplayVolume (void)
virtual ~cSkinLCARSDisplayVolume () override
virtual void SetVolume (int Current, int Total, bool Mute) override
virtual void Flush (void) override
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)

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)

Detailed Description

Definition at line 1988 of file skinlcars.c.

Constructor & Destructor Documentation

◆ cSkinLCARSDisplayVolume()

◆ ~cSkinLCARSDisplayVolume()

cSkinLCARSDisplayVolume::~cSkinLCARSDisplayVolume ( )
overridevirtual

Definition at line 2029 of file skinlcars.c.

References cOsd::Delete(), and osd.

Member Function Documentation

◆ Flush()

void cSkinLCARSDisplayVolume::Flush ( void )
overridevirtual

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 2062 of file skinlcars.c.

References cOsd::Flush(), and osd.

◆ SetVolume()

void cSkinLCARSDisplayVolume::SetVolume ( int Current,
int Total,
bool Mute )
overridevirtual

< 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 2034 of file skinlcars.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.

Member Data Documentation

◆ frameColor

tColor cSkinLCARSDisplayVolume::frameColor
private

Definition at line 1993 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume(), and SetVolume().

◆ mute

int cSkinLCARSDisplayVolume::mute
private

Definition at line 1994 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume(), and SetVolume().

◆ osd

cOsd* cSkinLCARSDisplayVolume::osd
private

Definition at line 1990 of file skinlcars.c.

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

◆ x0

int cSkinLCARSDisplayVolume::x0
private

Definition at line 1991 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume().

◆ x1

int cSkinLCARSDisplayVolume::x1
private

Definition at line 1991 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume().

◆ x2

int cSkinLCARSDisplayVolume::x2
private

Definition at line 1991 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume().

◆ x3

int cSkinLCARSDisplayVolume::x3
private

Definition at line 1991 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume(), and SetVolume().

◆ x4

int cSkinLCARSDisplayVolume::x4
private

Definition at line 1991 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume(), and SetVolume().

◆ x5

int cSkinLCARSDisplayVolume::x5
private

Definition at line 1991 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume().

◆ x6

int cSkinLCARSDisplayVolume::x6
private

Definition at line 1991 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume().

◆ x7

int cSkinLCARSDisplayVolume::x7
private

Definition at line 1991 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume().

◆ y0

int cSkinLCARSDisplayVolume::y0
private

Definition at line 1992 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume(), and SetVolume().

◆ y1

int cSkinLCARSDisplayVolume::y1
private

Definition at line 1992 of file skinlcars.c.

Referenced by cSkinLCARSDisplayVolume(), and SetVolume().


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