vdr
1.7.27
|
Public Member Functions | |
cSkinClassicDisplayTracks (const char *Title, int NumTracks, const char *const *Tracks) | |
virtual | ~cSkinClassicDisplayTracks () |
virtual void | SetTrack (int Index, const char *const *Tracks) |
virtual void | SetAudioChannel (int AudioChannel) |
virtual void | Flush (void) |
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 |
Definition at line 603 of file skinclassic.c.
cSkinClassicDisplayTracks::cSkinClassicDisplayTracks | ( | const char * | Title, |
int | NumTracks, | ||
const char *const * | Tracks | ||
) |
Definition at line 619 of file skinclassic.c.
References cSetup::AntiAlias, cOsd::CanHandleAreas(), cTheme::Color(), currentIndex, cOsd::DrawText(), fontOsd, cFont::GetFont(), cFont::Height(), lineHeight, max(), cOsdProvider::NewOsd(), oeOk, osd, cOsd::OsdHeight(), cOsd::OsdLeft(), cOsd::OsdTop(), cOsd::OsdWidth(), cOsd::SetAreas(), SetItem(), Setup, TextSpacing, cFont::Width(), x0, x1, y0, y1, and y2.
cSkinClassicDisplayTracks::~cSkinClassicDisplayTracks | ( | ) | [virtual] |
Definition at line 651 of file skinclassic.c.
References osd.
void cSkinClassicDisplayTracks::Flush | ( | void | ) | [virtual] |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 680 of file skinclassic.c.
References cOsd::Flush(), and osd.
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 615 of file skinclassic.c.
void cSkinClassicDisplayTracks::SetItem | ( | const char * | Text, |
int | Index, | ||
bool | Current | ||
) | [private] |
Definition at line 656 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().
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 673 of file skinclassic.c.
References currentIndex, and SetItem().
int cSkinClassicDisplayTracks::currentIndex [private] |
Definition at line 609 of file skinclassic.c.
Referenced by cSkinClassicDisplayTracks(), SetItem(), and SetTrack().
int cSkinClassicDisplayTracks::lineHeight [private] |
Definition at line 608 of file skinclassic.c.
Referenced by cSkinClassicDisplayTracks(), and SetItem().
cOsd* cSkinClassicDisplayTracks::osd [private] |
Definition at line 605 of file skinclassic.c.
Referenced by cSkinClassicDisplayTracks(), Flush(), SetItem(), and ~cSkinClassicDisplayTracks().
int cSkinClassicDisplayTracks::x0 [private] |
Definition at line 606 of file skinclassic.c.
Referenced by cSkinClassicDisplayTracks(), and SetItem().
int cSkinClassicDisplayTracks::x1 [private] |
Definition at line 606 of file skinclassic.c.
Referenced by cSkinClassicDisplayTracks(), and SetItem().
int cSkinClassicDisplayTracks::y0 [private] |
Definition at line 607 of file skinclassic.c.
Referenced by cSkinClassicDisplayTracks().
int cSkinClassicDisplayTracks::y1 [private] |
Definition at line 607 of file skinclassic.c.
Referenced by cSkinClassicDisplayTracks(), and SetItem().
int cSkinClassicDisplayTracks::y2 [private] |
Definition at line 607 of file skinclassic.c.
Referenced by cSkinClassicDisplayTracks().