vdr 2.7.3
cSkinSTTNGDisplayTracks Class Reference

Public Member Functions

 cSkinSTTNGDisplayTracks (const char *Title, int NumTracks, const char *const *Tracks)
 
virtual ~cSkinSTTNGDisplayTracks ()
 
virtual void SetTrack (int Index, const char *const *Tracks)
 
virtual void SetAudioChannel (int AudioChannel)
 
virtual void Flush (void)
 
- Public Member Functions inherited from cSkinDisplayTracks
- 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 Member Functions

void SetItem (const char *Text, int Index, bool Current)
 

Private Attributes

cOsdosd
 
int x0
 
int x1
 
int x2
 
int x3
 
int x4
 
int x5
 
int x6
 
int x7
 
int y0
 
int y1
 
int y2
 
int y3
 
int y4
 
int y5
 
int y6
 
int y7
 
int lineHeight
 
tColor frameColor
 
int currentIndex
 

Static Private Attributes

static cBitmap bmAudioLeft
 
static cBitmap bmAudioRight
 
static cBitmap bmAudioStereo
 

Additional Inherited Members

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

Detailed Description

Definition at line 1043 of file skinsttng.c.

Constructor & Destructor Documentation

◆ cSkinSTTNGDisplayTracks()

◆ ~cSkinSTTNGDisplayTracks()

cSkinSTTNGDisplayTracks::~cSkinSTTNGDisplayTracks ( )
virtual

Definition at line 1148 of file skinsttng.c.

References osd.

Member Function Documentation

◆ Flush()

void cSkinSTTNGDisplayTracks::Flush ( void )
virtual

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 1201 of file skinsttng.c.

References cOsd::Flush(), and osd.

◆ SetAudioChannel()

void cSkinSTTNGDisplayTracks::SetAudioChannel ( int AudioChannel)
virtual

Sets the audio channel indicator.

0=stereo, 1=left, 2=right, -1=don't display the audio channel indicator.

Implements cSkinDisplayTracks.

Definition at line 1186 of file skinsttng.c.

References bmAudioLeft, bmAudioRight, bmAudioStereo, cTheme::Color(), cOsd::DrawBitmap(), cOsd::DrawRectangle(), frameColor, cBitmap::Height(), osd, TextSpacing, Theme, x3, x4, y6, and y7.

◆ SetItem()

void cSkinSTTNGDisplayTracks::SetItem ( const char * Text,
int Index,
bool Current )
private

◆ SetTrack()

void cSkinSTTNGDisplayTracks::SetTrack ( int Index,
const char *const * Tracks )
virtual

< This class implements the track display.

Sets the current track to the one given by Index, which points into the Tracks array of strings.

Implements cSkinDisplayTracks.

Definition at line 1179 of file skinsttng.c.

References currentIndex, and SetItem().

Member Data Documentation

◆ bmAudioLeft

cBitmap cSkinSTTNGDisplayTracks::bmAudioLeft
staticprivate

Definition at line 1051 of file skinsttng.c.

Referenced by SetAudioChannel().

◆ bmAudioRight

cBitmap cSkinSTTNGDisplayTracks::bmAudioRight
staticprivate

Definition at line 1051 of file skinsttng.c.

Referenced by SetAudioChannel().

◆ bmAudioStereo

cBitmap cSkinSTTNGDisplayTracks::bmAudioStereo
staticprivate

Definition at line 1051 of file skinsttng.c.

Referenced by SetAudioChannel().

◆ currentIndex

int cSkinSTTNGDisplayTracks::currentIndex
private

Definition at line 1050 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), SetItem(), and SetTrack().

◆ frameColor

tColor cSkinSTTNGDisplayTracks::frameColor
private

Definition at line 1049 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), SetAudioChannel(), and SetItem().

◆ lineHeight

int cSkinSTTNGDisplayTracks::lineHeight
private

Definition at line 1048 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetItem().

◆ osd

cOsd* cSkinSTTNGDisplayTracks::osd
private

◆ x0

int cSkinSTTNGDisplayTracks::x0
private

Definition at line 1046 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

◆ x1

int cSkinSTTNGDisplayTracks::x1
private

Definition at line 1046 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetItem().

◆ x2

int cSkinSTTNGDisplayTracks::x2
private

Definition at line 1046 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetItem().

◆ x3

int cSkinSTTNGDisplayTracks::x3
private

Definition at line 1046 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), SetAudioChannel(), and SetItem().

◆ x4

int cSkinSTTNGDisplayTracks::x4
private

Definition at line 1046 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), SetAudioChannel(), and SetItem().

◆ x5

int cSkinSTTNGDisplayTracks::x5
private

Definition at line 1046 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

◆ x6

int cSkinSTTNGDisplayTracks::x6
private

Definition at line 1046 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

◆ x7

int cSkinSTTNGDisplayTracks::x7
private

Definition at line 1046 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

◆ y0

int cSkinSTTNGDisplayTracks::y0
private

Definition at line 1047 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

◆ y1

int cSkinSTTNGDisplayTracks::y1
private

Definition at line 1047 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

◆ y2

int cSkinSTTNGDisplayTracks::y2
private

Definition at line 1047 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

◆ y3

int cSkinSTTNGDisplayTracks::y3
private

Definition at line 1047 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetItem().

◆ y4

int cSkinSTTNGDisplayTracks::y4
private

Definition at line 1047 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

◆ y5

int cSkinSTTNGDisplayTracks::y5
private

Definition at line 1047 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks().

◆ y6

int cSkinSTTNGDisplayTracks::y6
private

Definition at line 1047 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetAudioChannel().

◆ y7

int cSkinSTTNGDisplayTracks::y7
private

Definition at line 1047 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayTracks(), and SetAudioChannel().


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