vdr 2.7.5
cSkinLCARSDisplayTracks Class Reference

Public Member Functions

 cSkinLCARSDisplayTracks (const char *Title, int NumTracks, const char *const *Tracks)
virtual ~cSkinLCARSDisplayTracks () override
virtual void SetTrack (int Index, const char *const *Tracks) override
virtual void SetAudioChannel (int AudioChannel) 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 Member Functions

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

Private Attributes

cOsdosd
int xt00
int xt01
int xt02
int xt03
int xt04
int xt05
int xt06
int xt07
int xt08
int xt09
int xt10
int xt11
int xt12
int yt00
int yt01
int yt02
int yt03
int yt04
int yt05
int yt06
int yt07
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 2061 of file skinlcars.c.

Constructor & Destructor Documentation

◆ cSkinLCARSDisplayTracks()

cSkinLCARSDisplayTracks::cSkinLCARSDisplayTracks ( const char * Title,
int NumTracks,
const char *const * Tracks )

◆ ~cSkinLCARSDisplayTracks()

cSkinLCARSDisplayTracks::~cSkinLCARSDisplayTracks ( )
overridevirtual

Definition at line 2147 of file skinlcars.c.

References osd.

Member Function Documentation

◆ Flush()

void cSkinLCARSDisplayTracks::Flush ( void )
overridevirtual

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 2202 of file skinlcars.c.

References osd.

◆ SetAudioChannel()

void cSkinLCARSDisplayTracks::SetAudioChannel ( int AudioChannel)
overridevirtual

Sets the audio channel indicator.

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

Implements cSkinDisplayTracks.

Definition at line 2187 of file skinlcars.c.

References bmAudioLeft, bmAudioRight, bmAudioStereo, frameColor, cBitmap::Height(), osd, Theme, cBitmap::Width(), xt03, xt04, yt06, and yt07.

◆ SetItem()

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

◆ SetTrack()

void cSkinLCARSDisplayTracks::SetTrack ( int Index,
const char *const * Tracks )
overridevirtual

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

References currentIndex, and SetItem().

Member Data Documentation

◆ bmAudioLeft

cBitmap cSkinLCARSDisplayTracks::bmAudioLeft
staticprivate

Definition at line 2069 of file skinlcars.c.

Referenced by SetAudioChannel().

◆ bmAudioRight

cBitmap cSkinLCARSDisplayTracks::bmAudioRight
staticprivate

Definition at line 2069 of file skinlcars.c.

Referenced by SetAudioChannel().

◆ bmAudioStereo

cBitmap cSkinLCARSDisplayTracks::bmAudioStereo
staticprivate

Definition at line 2069 of file skinlcars.c.

Referenced by SetAudioChannel().

◆ currentIndex

int cSkinLCARSDisplayTracks::currentIndex
private

Definition at line 2068 of file skinlcars.c.

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

◆ frameColor

tColor cSkinLCARSDisplayTracks::frameColor
private

Definition at line 2067 of file skinlcars.c.

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

◆ lineHeight

int cSkinLCARSDisplayTracks::lineHeight
private

Definition at line 2066 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

◆ osd

cOsd* cSkinLCARSDisplayTracks::osd
private

◆ xt00

int cSkinLCARSDisplayTracks::xt00
private

Definition at line 2064 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

◆ xt01

int cSkinLCARSDisplayTracks::xt01
private

Definition at line 2064 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

◆ xt02

int cSkinLCARSDisplayTracks::xt02
private

Definition at line 2064 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

◆ xt03

int cSkinLCARSDisplayTracks::xt03
private

Definition at line 2064 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetAudioChannel().

◆ xt04

int cSkinLCARSDisplayTracks::xt04
private

Definition at line 2064 of file skinlcars.c.

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

◆ xt05

int cSkinLCARSDisplayTracks::xt05
private

Definition at line 2064 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

◆ xt06

int cSkinLCARSDisplayTracks::xt06
private

Definition at line 2064 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ xt07

int cSkinLCARSDisplayTracks::xt07
private

Definition at line 2064 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

◆ xt08

int cSkinLCARSDisplayTracks::xt08
private

Definition at line 2064 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ xt09

int cSkinLCARSDisplayTracks::xt09
private

Definition at line 2064 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ xt10

int cSkinLCARSDisplayTracks::xt10
private

Definition at line 2064 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ xt11

int cSkinLCARSDisplayTracks::xt11
private

Definition at line 2064 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ xt12

int cSkinLCARSDisplayTracks::xt12
private

Definition at line 2064 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ yt00

int cSkinLCARSDisplayTracks::yt00
private

Definition at line 2065 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ yt01

int cSkinLCARSDisplayTracks::yt01
private

Definition at line 2065 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ yt02

int cSkinLCARSDisplayTracks::yt02
private

Definition at line 2065 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ yt03

int cSkinLCARSDisplayTracks::yt03
private

Definition at line 2065 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

◆ yt04

int cSkinLCARSDisplayTracks::yt04
private

Definition at line 2065 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

◆ yt05

int cSkinLCARSDisplayTracks::yt05
private

Definition at line 2065 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ yt06

int cSkinLCARSDisplayTracks::yt06
private

Definition at line 2065 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetAudioChannel().

◆ yt07

int cSkinLCARSDisplayTracks::yt07
private

Definition at line 2065 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetAudioChannel().


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