vdr 2.7.6
|
Public Member Functions | |
cSkinClassicDisplayTracks (const char *Title, int NumTracks, const char *const *Tracks) | |
virtual | ~cSkinClassicDisplayTracks () override |
virtual void | SetTrack (int Index, const char *const *Tracks) override |
virtual void | SetAudioChannel (int AudioChannel) |
virtual void | Flush (void) override |
![]() | |
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 | x0 |
int | x1 |
int | y0 |
int | y1 |
int | y2 |
int | lineHeight |
int | currentIndex |
Additional Inherited Members | |
![]() | |
static int | AvgCharWidth (void) |
static cSkinDisplay * | Current (void) |
Definition at line 635 of file skinclassic.c.
cSkinClassicDisplayTracks::cSkinClassicDisplayTracks | ( | const char * | Title, |
int | NumTracks, | ||
const char *const * | Tracks ) |
Definition at line 651 of file skinclassic.c.
References currentIndex, fontOsd, cFont::GetFont(), cFont::Height(), lineHeight, max(), cOsdProvider::NewOsd(), oeOk, osd, cOsd::OsdHeight(), cOsd::OsdLeft(), cOsd::OsdTop(), cOsd::OsdWidth(), SetItem(), Setup, TextSpacing, Theme, cFont::Width(), x0, x1, y0, y1, and y2.
|
overridevirtual |
Definition at line 683 of file skinclassic.c.
References osd.
|
overridevirtual |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 712 of file skinclassic.c.
References 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 647 of file skinclassic.c.
|
private |
Definition at line 688 of file skinclassic.c.
References clrBackground, cSkinDisplay::Current(), currentIndex, fontOsd, cFont::GetFont(), lineHeight, osd, Theme, x0, x1, and y1.
Referenced by cSkinClassicDisplayTracks(), and SetTrack().
|
overridevirtual |
< 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 705 of file skinclassic.c.
References currentIndex, and SetItem().
|
private |
Definition at line 641 of file skinclassic.c.
Referenced by cSkinClassicDisplayTracks(), SetItem(), and SetTrack().
|
private |
Definition at line 640 of file skinclassic.c.
Referenced by cSkinClassicDisplayTracks(), and SetItem().
|
private |
Definition at line 637 of file skinclassic.c.
Referenced by cSkinClassicDisplayTracks(), Flush(), SetItem(), and ~cSkinClassicDisplayTracks().
|
private |
Definition at line 638 of file skinclassic.c.
Referenced by cSkinClassicDisplayTracks(), and SetItem().
|
private |
Definition at line 638 of file skinclassic.c.
Referenced by cSkinClassicDisplayTracks(), and SetItem().
|
private |
Definition at line 639 of file skinclassic.c.
Referenced by cSkinClassicDisplayTracks().
|
private |
Definition at line 639 of file skinclassic.c.
Referenced by cSkinClassicDisplayTracks(), and SetItem().
|
private |
Definition at line 639 of file skinclassic.c.
Referenced by cSkinClassicDisplayTracks().