vdr
2.4.1
|
Public Member Functions | |
cSkinCursesDisplayTracks (const char *Title, int NumTracks, const char *const *Tracks) | |
virtual | ~cSkinCursesDisplayTracks () |
virtual void | SetTrack (int Index, const char *const *Tracks) |
virtual void | SetAudioChannel (int AudioChannel) |
virtual void | Flush (void) |
![]() | |
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 | |
cOsd * | osd |
int | itemsWidth |
int | currentIndex |
Additional Inherited Members | |
![]() | |
static int | AvgCharWidth (void) |
static cSkinDisplay * | Current (void) |
Definition at line 639 of file skincurses.c.
cSkinCursesDisplayTracks::cSkinCursesDisplayTracks | ( | const char * | Title, |
int | NumTracks, | ||
const char *const * | Tracks | ||
) |
Definition at line 653 of file skincurses.c.
References clrBackground, clrBlack, clrCyan, currentIndex, cOsd::DrawRectangle(), cOsd::DrawText(), Font, itemsWidth, max(), min(), osd, ScOsdHeight, ScOsdWidth, SetItem(), and cCursesFont::Width().
|
virtual |
Definition at line 667 of file skincurses.c.
References osd.
|
virtual |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 695 of file skincurses.c.
References cOsd::Flush(), and osd.
|
inlinevirtual |
Sets the audio channel indicator.
0=stereo, 1=left, 2=right, -1=don't display the audio channel indicator.
Implements cSkinDisplayTracks.
Definition at line 649 of file skincurses.c.
|
private |
Definition at line 672 of file skincurses.c.
References clrBackground, clrBlack, clrCyan, clrWhite, cSkinDisplay::Current(), currentIndex, cOsd::DrawText(), Font, itemsWidth, and osd.
Referenced by cSkinCursesDisplayTracks(), and SetTrack().
|
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 688 of file skincurses.c.
References currentIndex, and SetItem().
|
private |
Definition at line 643 of file skincurses.c.
Referenced by cSkinCursesDisplayTracks(), SetItem(), and SetTrack().
|
private |
Definition at line 642 of file skincurses.c.
Referenced by cSkinCursesDisplayTracks(), and SetItem().
|
private |
Definition at line 641 of file skincurses.c.
Referenced by cSkinCursesDisplayTracks(), Flush(), SetItem(), and ~cSkinCursesDisplayTracks().