vdr  2.2.0
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
cSkinLCARSDisplayTracks Class Reference

Public Member Functions

 cSkinLCARSDisplayTracks (const char *Title, int NumTracks, const char *const *Tracks)
 
virtual ~cSkinLCARSDisplayTracks ()
 
virtual void SetTrack (int Index, const char *const *Tracks)
 
virtual void SetAudioChannel (int AudioChannel)
 
virtual void Flush (void)
 
- 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 2024 of file skinlcars.c.

Constructor & Destructor Documentation

◆ cSkinLCARSDisplayTracks()

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

◆ ~cSkinLCARSDisplayTracks()

cSkinLCARSDisplayTracks::~cSkinLCARSDisplayTracks ( )
virtual

Definition at line 2110 of file skinlcars.c.

References osd.

Member Function Documentation

◆ Flush()

void cSkinLCARSDisplayTracks::Flush ( void  )
virtual

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 2165 of file skinlcars.c.

References cOsd::Flush(), and osd.

◆ SetAudioChannel()

void cSkinLCARSDisplayTracks::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 2150 of file skinlcars.c.

References bmAudioLeft, bmAudioRight, bmAudioStereo, cTheme::Color(), cOsd::DrawBitmap(), cOsd::DrawRectangle(), 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 
)
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 2143 of file skinlcars.c.

References currentIndex, and SetItem().

Member Data Documentation

◆ bmAudioLeft

cBitmap cSkinLCARSDisplayTracks::bmAudioLeft
staticprivate

Definition at line 2032 of file skinlcars.c.

Referenced by SetAudioChannel().

◆ bmAudioRight

cBitmap cSkinLCARSDisplayTracks::bmAudioRight
staticprivate

Definition at line 2032 of file skinlcars.c.

Referenced by SetAudioChannel().

◆ bmAudioStereo

cBitmap cSkinLCARSDisplayTracks::bmAudioStereo
staticprivate

Definition at line 2032 of file skinlcars.c.

Referenced by SetAudioChannel().

◆ currentIndex

int cSkinLCARSDisplayTracks::currentIndex
private

Definition at line 2031 of file skinlcars.c.

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

◆ frameColor

tColor cSkinLCARSDisplayTracks::frameColor
private

Definition at line 2030 of file skinlcars.c.

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

◆ lineHeight

int cSkinLCARSDisplayTracks::lineHeight
private

Definition at line 2029 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

◆ osd

cOsd* cSkinLCARSDisplayTracks::osd
private

◆ xt00

int cSkinLCARSDisplayTracks::xt00
private

Definition at line 2027 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

◆ xt01

int cSkinLCARSDisplayTracks::xt01
private

Definition at line 2027 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

◆ xt02

int cSkinLCARSDisplayTracks::xt02
private

Definition at line 2027 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

◆ xt03

int cSkinLCARSDisplayTracks::xt03
private

Definition at line 2027 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetAudioChannel().

◆ xt04

int cSkinLCARSDisplayTracks::xt04
private

Definition at line 2027 of file skinlcars.c.

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

◆ xt05

int cSkinLCARSDisplayTracks::xt05
private

Definition at line 2027 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

◆ xt06

int cSkinLCARSDisplayTracks::xt06
private

Definition at line 2027 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ xt07

int cSkinLCARSDisplayTracks::xt07
private

Definition at line 2027 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

◆ xt08

int cSkinLCARSDisplayTracks::xt08
private

Definition at line 2027 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ xt09

int cSkinLCARSDisplayTracks::xt09
private

Definition at line 2027 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ xt10

int cSkinLCARSDisplayTracks::xt10
private

Definition at line 2027 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ xt11

int cSkinLCARSDisplayTracks::xt11
private

Definition at line 2027 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ xt12

int cSkinLCARSDisplayTracks::xt12
private

Definition at line 2027 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ yt00

int cSkinLCARSDisplayTracks::yt00
private

Definition at line 2028 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ yt01

int cSkinLCARSDisplayTracks::yt01
private

Definition at line 2028 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ yt02

int cSkinLCARSDisplayTracks::yt02
private

Definition at line 2028 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ yt03

int cSkinLCARSDisplayTracks::yt03
private

Definition at line 2028 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

◆ yt04

int cSkinLCARSDisplayTracks::yt04
private

Definition at line 2028 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

◆ yt05

int cSkinLCARSDisplayTracks::yt05
private

Definition at line 2028 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

◆ yt06

int cSkinLCARSDisplayTracks::yt06
private

Definition at line 2028 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetAudioChannel().

◆ yt07

int cSkinLCARSDisplayTracks::yt07
private

Definition at line 2028 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetAudioChannel().


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