vdr  2.4.1
Public Member Functions | Private Attributes | List of all members
cSkinSTTNGDisplayVolume Class Reference

Public Member Functions

 cSkinSTTNGDisplayVolume (void)
 
virtual ~cSkinSTTNGDisplayVolume ()
 
virtual void SetVolume (int Current, int Total, bool Mute)
 
virtual void Flush (void)
 
- Public Member Functions inherited from cSkinDisplay
 cSkinDisplay (void)
 
virtual ~cSkinDisplay ()
 
int EditableWidth (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
 

Detailed Description

Definition at line 932 of file skinsttng.c.

Constructor & Destructor Documentation

◆ cSkinSTTNGDisplayVolume()

cSkinSTTNGDisplayVolume::cSkinSTTNGDisplayVolume ( void  )

◆ ~cSkinSTTNGDisplayVolume()

cSkinSTTNGDisplayVolume::~cSkinSTTNGDisplayVolume ( )
virtual

Definition at line 983 of file skinsttng.c.

References osd.

Member Function Documentation

◆ Flush()

void cSkinSTTNGDisplayVolume::Flush ( void  )
virtual

Definition at line 1016 of file skinsttng.c.

References cOsd::Flush(), and osd.

◆ SetVolume()

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

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

Member Data Documentation

◆ frameColor

tColor cSkinSTTNGDisplayVolume::frameColor
private

Definition at line 937 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().

◆ mute

int cSkinSTTNGDisplayVolume::mute
private

Definition at line 938 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().

◆ osd

cOsd* cSkinSTTNGDisplayVolume::osd
private

Definition at line 934 of file skinsttng.c.

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

◆ x0

int cSkinSTTNGDisplayVolume::x0
private

Definition at line 935 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume().

◆ x1

int cSkinSTTNGDisplayVolume::x1
private

Definition at line 935 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume().

◆ x2

int cSkinSTTNGDisplayVolume::x2
private

Definition at line 935 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume().

◆ x3

int cSkinSTTNGDisplayVolume::x3
private

Definition at line 935 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().

◆ x4

int cSkinSTTNGDisplayVolume::x4
private

Definition at line 935 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().

◆ x5

int cSkinSTTNGDisplayVolume::x5
private

Definition at line 935 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume().

◆ x6

int cSkinSTTNGDisplayVolume::x6
private

Definition at line 935 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume().

◆ x7

int cSkinSTTNGDisplayVolume::x7
private

Definition at line 935 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume().

◆ y0

int cSkinSTTNGDisplayVolume::y0
private

Definition at line 936 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().

◆ y1

int cSkinSTTNGDisplayVolume::y1
private

Definition at line 936 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayVolume(), and SetVolume().


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