vdr 2.6.1
Public Member Functions | Private Attributes | List of all members
cSkinClassicDisplayVolume Class Reference

Public Member Functions

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

Private Attributes

cOsdosd
 

Additional Inherited Members

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

Detailed Description

Definition at line 573 of file skinclassic.c.

Constructor & Destructor Documentation

◆ cSkinClassicDisplayVolume()

cSkinClassicDisplayVolume::cSkinClassicDisplayVolume ( void  )

◆ ~cSkinClassicDisplayVolume()

cSkinClassicDisplayVolume::~cSkinClassicDisplayVolume ( )
virtual

Definition at line 597 of file skinclassic.c.

References osd.

Member Function Documentation

◆ Flush()

void cSkinClassicDisplayVolume::Flush ( void  )
virtual

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 620 of file skinclassic.c.

References cOsd::Flush(), and osd.

◆ SetVolume()

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 602 of file skinclassic.c.

References clrBackground, clrTransparent, cTheme::Color(), cSkinDisplay::Current(), cOsd::DrawRectangle(), cOsd::DrawText(), fontOsd, cFont::GetFont(), cOsd::Height(), osd, Theme, tr, cOsd::Width(), and cFont::Width().

Member Data Documentation

◆ osd

cOsd* cSkinClassicDisplayVolume::osd
private

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