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 597 of file skincurses.c.


Constructor & Destructor Documentation

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

Definition at line 611 of file skincurses.c.

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

Here is the call graph for this function:

cSkinCursesDisplayTracks::~cSkinCursesDisplayTracks (  )  [virtual]

Definition at line 625 of file skincurses.c.

References osd.


Member Function Documentation

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

Definition at line 630 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 646 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 607 of file skincurses.c.

void cSkinCursesDisplayTracks::Flush ( void   )  [virtual]

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 653 of file skincurses.c.

References cOsd::Flush(), and osd.

Here is the call graph for this function:


Member Data Documentation

Definition at line 599 of file skincurses.c.

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

Definition at line 600 of file skincurses.c.

Referenced by cSkinCursesDisplayTracks(), and SetItem().

Definition at line 601 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 4 20:01:57 2008 for VDR by  doxygen 1.5.6