cSkinCursesDisplayTracks Class Reference

Inheritance diagram for cSkinCursesDisplayTracks:

Inheritance graph
[legend]
Collaboration diagram for cSkinCursesDisplayTracks:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cSkinCursesDisplayTracks (const char *Title, int NumTracks, const char *const *Tracks)
virtual ~cSkinCursesDisplayTracks ()
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 itemsWidth
int currentIndex


Detailed Description

Definition at line 587 of file skincurses.c.


Constructor & Destructor Documentation

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

Definition at line 601 of file skincurses.c.

References clrBackground, clrBlack, clrCyan, currentIndex, cOsd::DrawRectangle(), cOsd::DrawText(), itemsWidth, max(), min(), osd, OsdHeight, OsdWidth, SetItem(), and cCursesFont::Width().

Here is the call graph for this function:

cSkinCursesDisplayTracks::~cSkinCursesDisplayTracks (  )  [virtual]

Definition at line 615 of file skincurses.c.

References osd.


Member Function Documentation

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

Definition at line 620 of file skincurses.c.

References clrBackground, clrBlack, clrCyan, clrWhite, currentIndex, cOsd::DrawText(), itemsWidth, and osd.

Referenced by cSkinCursesDisplayTracks(), and SetTrack().

Here is the call graph for this function:

void cSkinCursesDisplayTracks::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 636 of file skincurses.c.

References currentIndex, and SetItem().

Here is the call graph for this function:

virtual void cSkinCursesDisplayTracks::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 597 of file skincurses.c.

void cSkinCursesDisplayTracks::Flush ( void   )  [virtual]

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 643 of file skincurses.c.

References cOsd::Flush(), and osd.

Here is the call graph for this function:


Member Data Documentation

cOsd* cSkinCursesDisplayTracks::osd [private]

Definition at line 589 of file skincurses.c.

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

int cSkinCursesDisplayTracks::itemsWidth [private]

Definition at line 590 of file skincurses.c.

Referenced by cSkinCursesDisplayTracks(), and SetItem().

int cSkinCursesDisplayTracks::currentIndex [private]

Definition at line 591 of file skincurses.c.

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


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