vdr
2.2.0
|
Public Member Functions | |
cSkinSTTNGDisplayTracks (const char *Title, int NumTracks, const char *const *Tracks) | |
virtual | ~cSkinSTTNGDisplayTracks () |
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 | 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 int | AvgCharWidth (void) |
static cSkinDisplay * | Current (void) |
Definition at line 1024 of file skinsttng.c.
cSkinSTTNGDisplayTracks::cSkinSTTNGDisplayTracks | ( | const char * | Title, |
int | NumTracks, | ||
const char *const * | Tracks | ||
) |
Definition at line 1046 of file skinsttng.c.
References cSetup::AntiAlias, cOsd::CanHandleAreas(), clrBackground, clrTransparent, cTheme::Color(), cOsd::DrawEllipse(), cOsd::DrawRectangle(), cOsd::DrawText(), fontOsd, cSkinSTTNGDisplayChannel::frameColor, Gap, cFont::GetFont(), cFont::Height(), cSkinSTTNGDisplayChannel::lineHeight, max(), cOsdProvider::NewOsd(), oeOk, cSkinSTTNGDisplayChannel::osd, cOsd::OsdHeight(), cOsd::OsdLeft(), cOsd::OsdTop(), cOsd::OsdWidth(), Roundness, cOsd::SetAreas(), Setup, TextSpacing, cFont::Width(), cSkinSTTNGDisplayChannel::x0, cSkinSTTNGDisplayChannel::x1, cSkinSTTNGDisplayChannel::x2, cSkinSTTNGDisplayChannel::x3, cSkinSTTNGDisplayChannel::x4, cSkinSTTNGDisplayChannel::x5, cSkinSTTNGDisplayChannel::x6, cSkinSTTNGDisplayChannel::x7, cSkinSTTNGDisplayChannel::y0, cSkinSTTNGDisplayChannel::y1, cSkinSTTNGDisplayChannel::y2, cSkinSTTNGDisplayChannel::y3, cSkinSTTNGDisplayChannel::y4, cSkinSTTNGDisplayChannel::y5, cSkinSTTNGDisplayChannel::y6, and cSkinSTTNGDisplayChannel::y7.
|
virtual |
Definition at line 1129 of file skinsttng.c.
References cSkinSTTNGDisplayChannel::osd.
|
virtual |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 1182 of file skinsttng.c.
References cOsd::Flush(), and cSkinSTTNGDisplayChannel::osd.
|
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 1167 of file skinsttng.c.
References cTheme::Color(), cOsd::DrawBitmap(), cOsd::DrawRectangle(), cSkinSTTNGDisplayChannel::frameColor, cBitmap::Height(), cSkinSTTNGDisplayChannel::osd, TextSpacing, cSkinSTTNGDisplayChannel::x3, cSkinSTTNGDisplayChannel::x4, cSkinSTTNGDisplayChannel::y6, and cSkinSTTNGDisplayChannel::y7.
|
private |
Definition at line 1134 of file skinsttng.c.
References clrBackground, cTheme::Color(), cOsd::DrawEllipse(), cOsd::DrawRectangle(), cOsd::DrawText(), fontOsd, cSkinSTTNGDisplayChannel::frameColor, cFont::GetFont(), cSkinSTTNGDisplayChannel::lineHeight, cSkinSTTNGDisplayChannel::osd, Roundness, TextSpacing, cSkinSTTNGDisplayChannel::x1, cSkinSTTNGDisplayChannel::x2, cSkinSTTNGDisplayChannel::x3, cSkinSTTNGDisplayChannel::x4, and cSkinSTTNGDisplayChannel::y3.
|
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 1160 of file skinsttng.c.
|
staticprivate |
Definition at line 1032 of file skinsttng.c.
|
staticprivate |
Definition at line 1032 of file skinsttng.c.
|
staticprivate |
Definition at line 1032 of file skinsttng.c.
|
private |
Definition at line 1031 of file skinsttng.c.
|
private |
Definition at line 1030 of file skinsttng.c.
|
private |
Definition at line 1029 of file skinsttng.c.
|
private |
Definition at line 1026 of file skinsttng.c.
|
private |
Definition at line 1027 of file skinsttng.c.
|
private |
Definition at line 1027 of file skinsttng.c.
|
private |
Definition at line 1027 of file skinsttng.c.
|
private |
Definition at line 1027 of file skinsttng.c.
|
private |
Definition at line 1027 of file skinsttng.c.
|
private |
Definition at line 1027 of file skinsttng.c.
|
private |
Definition at line 1027 of file skinsttng.c.
|
private |
Definition at line 1027 of file skinsttng.c.
|
private |
Definition at line 1028 of file skinsttng.c.
|
private |
Definition at line 1028 of file skinsttng.c.
|
private |
Definition at line 1028 of file skinsttng.c.
|
private |
Definition at line 1028 of file skinsttng.c.
|
private |
Definition at line 1028 of file skinsttng.c.
|
private |
Definition at line 1028 of file skinsttng.c.
|
private |
Definition at line 1028 of file skinsttng.c.
|
private |
Definition at line 1028 of file skinsttng.c.