|
vdr 2.8.3
|
Public Member Functions | |
| cSkinSTTNGDisplayTracks (const char *Title, int NumTracks, const char *const *Tracks) | |
| virtual | ~cSkinSTTNGDisplayTracks () override |
| virtual void | SetTrack (int Index, const char *const *Tracks) override |
| virtual void | SetAudioChannel (int AudioChannel) override |
| virtual void | Flush (void) override |
| Public Member Functions inherited from cSkinDisplay | |
| 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 | x2 |
| int | x3 |
| int | x4 |
| int | x5 |
| int | x6 |
| int | x7 |
| int | y0 |
| int | y1 |
| int | y2 |
| int | y3 |
| int | y4 |
| int | y5 |
| int | y6 |
| int | y7 |
| int | lineHeight |
| tColor | frameColor |
| int | currentIndex |
Static Private Attributes | |
| static cBitmap | bmAudioLeft |
| static cBitmap | bmAudioRight |
| static cBitmap | bmAudioStereo |
Additional Inherited Members | |
| Static Public Member Functions inherited from cSkinDisplay | |
| static int | AvgCharWidth (void) |
| static cSkinDisplay * | Current (void) |
Definition at line 1048 of file skinsttng.c.
| cSkinSTTNGDisplayTracks::cSkinSTTNGDisplayTracks | ( | const char * | Title, |
| int | NumTracks, | ||
| const char *const * | Tracks ) |
Definition at line 1070 of file skinsttng.c.
References cSetup::AntiAlias, cOsd::CanHandleAreas(), clrBackground, clrTransparent, cTheme::Color(), currentIndex, cOsd::DrawEllipse(), cOsd::DrawRectangle(), cOsd::DrawText(), fontOsd, frameColor, Gap, cFont::GetFont(), cFont::Height(), lineHeight, max(), cOsdProvider::NewOsd(), oeOk, osd, cOsd::OsdHeight(), cOsd::OsdLeft(), cOsd::OsdTop(), cOsd::OsdWidth(), Roundness, cOsd::SetAreas(), SetItem(), Setup, TextSpacing, Theme, cFont::Width(), x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, y6, and y7.
Referenced by cSkinSTTNG::DisplayTracks().
|
overridevirtual |
Definition at line 1153 of file skinsttng.c.
References cOsd::Delete(), and osd.
|
overridevirtual |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 1206 of file skinsttng.c.
References cOsd::Flush(), and osd.
|
overridevirtual |
Sets the audio channel indicator.
0=stereo, 1=left, 2=right, -1=don't display the audio channel indicator.
Implements cSkinDisplayTracks.
Definition at line 1191 of file skinsttng.c.
References bmAudioLeft, bmAudioRight, bmAudioStereo, cTheme::Color(), cOsd::DrawBitmap(), cOsd::DrawRectangle(), frameColor, cBitmap::Height(), osd, TextSpacing, Theme, x3, x4, y6, and y7.
|
private |
Definition at line 1158 of file skinsttng.c.
References clrBackground, cTheme::Color(), cSkinDisplay::Current(), currentIndex, cOsd::DrawEllipse(), cOsd::DrawRectangle(), cOsd::DrawText(), fontOsd, frameColor, cFont::GetFont(), lineHeight, osd, Roundness, TextSpacing, Theme, x1, x2, x3, x4, and y3.
Referenced by cSkinSTTNGDisplayTracks(), 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 1184 of file skinsttng.c.
References currentIndex, and SetItem().
|
staticprivate |
Definition at line 1056 of file skinsttng.c.
Referenced by SetAudioChannel().
|
staticprivate |
Definition at line 1056 of file skinsttng.c.
Referenced by SetAudioChannel().
|
staticprivate |
Definition at line 1056 of file skinsttng.c.
Referenced by SetAudioChannel().
|
private |
Definition at line 1055 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks(), SetItem(), and SetTrack().
|
private |
Definition at line 1054 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks(), SetAudioChannel(), and SetItem().
|
private |
Definition at line 1053 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks(), and SetItem().
|
private |
Definition at line 1050 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks(), Flush(), SetAudioChannel(), SetItem(), and ~cSkinSTTNGDisplayTracks().
|
private |
Definition at line 1051 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks().
|
private |
Definition at line 1051 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks(), and SetItem().
|
private |
Definition at line 1051 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks(), and SetItem().
|
private |
Definition at line 1051 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks(), SetAudioChannel(), and SetItem().
|
private |
Definition at line 1051 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks(), SetAudioChannel(), and SetItem().
|
private |
Definition at line 1051 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks().
|
private |
Definition at line 1051 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks().
|
private |
Definition at line 1051 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks().
|
private |
Definition at line 1052 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks().
|
private |
Definition at line 1052 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks().
|
private |
Definition at line 1052 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks().
|
private |
Definition at line 1052 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks(), and SetItem().
|
private |
Definition at line 1052 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks().
|
private |
Definition at line 1052 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks().
|
private |
Definition at line 1052 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks(), and SetAudioChannel().
|
private |
Definition at line 1052 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayTracks(), and SetAudioChannel().