vdr  1.7.31
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)

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)
static int AvgCharWidth (void)
static cSkinDisplayCurrent (void)

Detailed Description

Definition at line 1925 of file skinlcars.c.

Constructor & Destructor Documentation

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

Definition at line 2011 of file skinlcars.c.

References osd.

Member Function Documentation

void cSkinLCARSDisplayTracks::Flush ( void  )
virtual

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 2066 of file skinlcars.c.

References cOsd::Flush(), and osd.

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

References bmAudioLeft, bmAudioRight, bmAudioStereo, cTheme::Color(), cOsd::DrawBitmap(), cOsd::DrawRectangle(), frameColor, cBitmap::Height(), osd, cBitmap::Width(), xt03, xt04, yt06, and yt07.

void cSkinLCARSDisplayTracks::SetItem ( const char *  Text,
int  Index,
bool  Current 
)
private
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 2044 of file skinlcars.c.

References currentIndex, and SetItem().

Member Data Documentation

cBitmap cSkinLCARSDisplayTracks::bmAudioLeft
staticprivate

Definition at line 1933 of file skinlcars.c.

Referenced by SetAudioChannel().

cBitmap cSkinLCARSDisplayTracks::bmAudioRight
staticprivate

Definition at line 1933 of file skinlcars.c.

Referenced by SetAudioChannel().

cBitmap cSkinLCARSDisplayTracks::bmAudioStereo
staticprivate

Definition at line 1933 of file skinlcars.c.

Referenced by SetAudioChannel().

int cSkinLCARSDisplayTracks::currentIndex
private

Definition at line 1932 of file skinlcars.c.

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

tColor cSkinLCARSDisplayTracks::frameColor
private

Definition at line 1931 of file skinlcars.c.

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

int cSkinLCARSDisplayTracks::lineHeight
private

Definition at line 1930 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

cOsd* cSkinLCARSDisplayTracks::osd
private
int cSkinLCARSDisplayTracks::xt00
private

Definition at line 1928 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

int cSkinLCARSDisplayTracks::xt01
private

Definition at line 1928 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

int cSkinLCARSDisplayTracks::xt02
private

Definition at line 1928 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

int cSkinLCARSDisplayTracks::xt03
private

Definition at line 1928 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetAudioChannel().

int cSkinLCARSDisplayTracks::xt04
private

Definition at line 1928 of file skinlcars.c.

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

int cSkinLCARSDisplayTracks::xt05
private

Definition at line 1928 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

int cSkinLCARSDisplayTracks::xt06
private

Definition at line 1928 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

int cSkinLCARSDisplayTracks::xt07
private

Definition at line 1928 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

int cSkinLCARSDisplayTracks::xt08
private

Definition at line 1928 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

int cSkinLCARSDisplayTracks::xt09
private

Definition at line 1928 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

int cSkinLCARSDisplayTracks::xt10
private

Definition at line 1928 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

int cSkinLCARSDisplayTracks::xt11
private

Definition at line 1928 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

int cSkinLCARSDisplayTracks::xt12
private

Definition at line 1928 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

int cSkinLCARSDisplayTracks::yt00
private

Definition at line 1929 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

int cSkinLCARSDisplayTracks::yt01
private

Definition at line 1929 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

int cSkinLCARSDisplayTracks::yt02
private

Definition at line 1929 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

int cSkinLCARSDisplayTracks::yt03
private

Definition at line 1929 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

int cSkinLCARSDisplayTracks::yt04
private

Definition at line 1929 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetItem().

int cSkinLCARSDisplayTracks::yt05
private

Definition at line 1929 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks().

int cSkinLCARSDisplayTracks::yt06
private

Definition at line 1929 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetAudioChannel().

int cSkinLCARSDisplayTracks::yt07
private

Definition at line 1929 of file skinlcars.c.

Referenced by cSkinLCARSDisplayTracks(), and SetAudioChannel().


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