cSkinClassicDisplayTracks Class Reference

Inheritance diagram for cSkinClassicDisplayTracks:

Inheritance graph
[legend]
Collaboration diagram for cSkinClassicDisplayTracks:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cSkinClassicDisplayTracks (const char *Title, int NumTracks, const char *const *Tracks)
virtual ~cSkinClassicDisplayTracks ()
virtual void SetTrack (int Index, const char *const *Tracks)
 < This class implements the track display.
virtual void SetAudioChannel (int AudioChannel)
virtual void Flush (void)
 Actually draws the OSD display to the output device.

Private Member Functions

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

Private Attributes

cOsdosd
int x0
int x1
int y0
int y1
int y2
int lineHeight
int currentIndex


Detailed Description

Definition at line 539 of file skinclassic.c.


Constructor & Destructor Documentation

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

Definition at line 555 of file skinclassic.c.

References cTheme::Color(), currentIndex, cOsd::DrawText(), fontOsd, cFont::GetFont(), cFont::Height(), lineHeight, max(), cOsdProvider::NewOsd(), osd, cSetup::OSDHeight, cSetup::OSDLeft, cSetup::OSDTop, cSetup::OSDWidth, cOsd::SetAreas(), SetItem(), Setup, cFont::Width(), x0, x1, y0, y1, and y2.

Here is the call graph for this function:

cSkinClassicDisplayTracks::~cSkinClassicDisplayTracks (  )  [virtual]

Definition at line 582 of file skinclassic.c.

References osd.


Member Function Documentation

void cSkinClassicDisplayTracks::SetItem ( const char *  Text,
int  Index,
bool  Current 
) [private]

Definition at line 587 of file skinclassic.c.

References clrBackground, cTheme::Color(), currentIndex, cOsd::DrawText(), fontOsd, cFont::GetFont(), lineHeight, osd, x0, x1, and y1.

Referenced by cSkinClassicDisplayTracks(), and SetTrack().

Here is the call graph for this function:

void cSkinClassicDisplayTracks::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 604 of file skinclassic.c.

References currentIndex, and SetItem().

Here is the call graph for this function:

virtual void cSkinClassicDisplayTracks::SetAudioChannel ( int  AudioChannel  )  [inline, 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 551 of file skinclassic.c.

void cSkinClassicDisplayTracks::Flush ( void   )  [virtual]

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 611 of file skinclassic.c.

References cOsd::Flush(), and osd.

Here is the call graph for this function:


Member Data Documentation

cOsd* cSkinClassicDisplayTracks::osd [private]

Definition at line 541 of file skinclassic.c.

Referenced by cSkinClassicDisplayTracks(), Flush(), SetItem(), and ~cSkinClassicDisplayTracks().

int cSkinClassicDisplayTracks::x0 [private]

Definition at line 542 of file skinclassic.c.

Referenced by cSkinClassicDisplayTracks(), and SetItem().

int cSkinClassicDisplayTracks::x1 [private]

Definition at line 542 of file skinclassic.c.

Referenced by cSkinClassicDisplayTracks(), and SetItem().

int cSkinClassicDisplayTracks::y0 [private]

Definition at line 543 of file skinclassic.c.

Referenced by cSkinClassicDisplayTracks().

int cSkinClassicDisplayTracks::y1 [private]

Definition at line 543 of file skinclassic.c.

Referenced by cSkinClassicDisplayTracks(), and SetItem().

int cSkinClassicDisplayTracks::y2 [private]

Definition at line 543 of file skinclassic.c.

Referenced by cSkinClassicDisplayTracks().

int cSkinClassicDisplayTracks::lineHeight [private]

Definition at line 544 of file skinclassic.c.

Referenced by cSkinClassicDisplayTracks(), and SetItem().

int cSkinClassicDisplayTracks::currentIndex [private]

Definition at line 545 of file skinclassic.c.

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


The documentation for this class was generated from the following file:
Generated on Tue Nov 6 20:27:23 2007 for VDR by  doxygen 1.5.3-20071008