vdr
2.6.9
|
Public Member Functions | |
cSkinSTTNGDisplayReplay (bool ModeOnly) | |
virtual | ~cSkinSTTNGDisplayReplay () |
virtual void | SetTitle (const char *Title) |
virtual void | SetMode (bool Play, bool Forward, int Speed) |
virtual void | SetProgress (int Current, int Total) |
virtual void | SetCurrent (const char *Current) |
virtual void | SetTotal (const char *Total) |
virtual void | SetJump (const char *Jump) |
virtual void | SetMessage (eMessageType Type, const char *Text) |
virtual void | Flush (void) |
![]() | |
cSkinDisplayReplay (void) | |
virtual void | SetMarks (const cMarks *Marks) |
virtual void | SetRecording (const cRecording *Recording) |
![]() | |
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) |
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 |
tColor | frameColor |
int | lastCurrentWidth |
Additional Inherited Members | |
![]() | |
static int | AvgCharWidth (void) |
static cSkinDisplay * | Current (void) |
![]() | |
const cMarks * | marks |
Definition at line 799 of file skinsttng.c.
cSkinSTTNGDisplayReplay::cSkinSTTNGDisplayReplay | ( | bool | ModeOnly | ) |
Definition at line 819 of file skinsttng.c.
References cSetup::AntiAlias, cOsd::CanHandleAreas(), clrBackground, clrTransparent, cTheme::Color(), cOsd::DrawEllipse(), cOsd::DrawRectangle(), frameColor, Gap, cFont::GetFont(), cBitmap::Height(), cFont::Height(), lastCurrentWidth, max(), cOsdProvider::NewOsd(), oeOk, osd, cOsd::OsdHeight(), cOsd::OsdLeft(), cOsd::OsdTop(), cOsd::OsdWidth(), Roundness, cOsd::SetAreas(), Setup, Theme, cBitmap::Width(), x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, y6, and y7.
|
virtual |
Definition at line 881 of file skinsttng.c.
References osd.
|
virtual |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 943 of file skinsttng.c.
References cOsd::Flush(), and osd.
|
virtual |
Sets the current position within the recording, as a user readable string in the form "h:mm:ss.ff".
The ".ff" part, indicating the frame number, is optional and the actual implementation needs to take care that it is erased from the display when a Current string with ".ff" is followed by one without it.
Implements cSkinDisplayReplay.
Definition at line 911 of file skinsttng.c.
References cTheme::Color(), cSkinDisplay::Current(), cOsd::DrawText(), frameColor, cFont::GetFont(), lastCurrentWidth, osd, Theme, cFont::Width(), x3, and y6.
|
virtual |
Sets the prompt that allows the user to enter a jump point.
Jump is a string of the form "Jump: mm:ss". The actual implementation needs to be able to handle variations in the length of this string, which will occur when the user enters an actual value. If Jump is NULL, the jump prompt shall be removed from the display.
Implements cSkinDisplayReplay.
Definition at line 926 of file skinsttng.c.
References cTheme::Color(), cOsd::DrawText(), frameColor, cFont::GetFont(), osd, taCenter, Theme, x0, x3, x4, and y6.
|
virtual |
Sets a one line message Text, with the given Type.
Type can be used to determine, e.g., the colors for displaying the Text. If Text is NULL, any previously displayed message must be removed, and any previous contents overwritten by the message must be restored.
Implements cSkinDisplayReplay.
Definition at line 931 of file skinsttng.c.
References clrBackground, cTheme::Color(), cOsd::DrawRectangle(), cOsd::DrawText(), cFont::GetFont(), osd, cOsd::RestoreRegion(), cOsd::SaveRegion(), taCenter, Theme, x2, x3, x4, y6, and y7.
|
virtual |
Sets the current replay mode, which can be used to display some indicator, showing the user whether we are currently in normal play mode, fast forward etc.
Implements cSkinDisplayReplay.
Definition at line 898 of file skinsttng.c.
References cTheme::Color(), constrain(), cOsd::DrawBitmap(), frameColor, cBitmap::Height(), osd, ReplaySymbols, Theme, cBitmap::Width(), x0, x1, y3, and y4.
|
virtual |
This function will be called whenever the position in or the total length of the recording has changed.
A cProgressBar shall then be used to display a progress indicator.
Implements cSkinDisplayReplay.
Definition at line 905 of file skinsttng.c.
References cTheme::Color(), cSkinDisplay::Current(), cOsd::DrawBitmap(), cSkinDisplayReplay::marks, osd, Theme, x3, x4, y3, and y4.
|
virtual |
Sets the title of the recording.
Implements cSkinDisplayReplay.
Definition at line 886 of file skinsttng.c.
References cTheme::Color(), cOsd::DrawText(), frameColor, cFont::GetFont(), osd, TextSpacing, Theme, x3, x4, and y0.
|
virtual |
Sets the total length of the recording, as a user readable string in the form "h:mm:ss".
Implements cSkinDisplayReplay.
Definition at line 919 of file skinsttng.c.
References cTheme::Color(), cOsd::DrawText(), frameColor, cFont::GetFont(), osd, TextSpacing, Theme, cFont::Width(), x4, and y6.
|
private |
Definition at line 804 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay(), SetCurrent(), SetJump(), SetMode(), SetTitle(), and SetTotal().
|
private |
Definition at line 805 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay(), and SetCurrent().
|
private |
Definition at line 801 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay(), Flush(), SetCurrent(), SetJump(), SetMessage(), SetMode(), SetProgress(), SetTitle(), SetTotal(), and ~cSkinSTTNGDisplayReplay().
|
private |
Definition at line 802 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay(), SetJump(), and SetMode().
|
private |
Definition at line 802 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay(), and SetMode().
|
private |
Definition at line 802 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay(), and SetMessage().
|
private |
Definition at line 802 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay(), SetCurrent(), SetJump(), SetMessage(), SetProgress(), and SetTitle().
|
private |
Definition at line 802 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay(), SetJump(), SetMessage(), SetProgress(), SetTitle(), and SetTotal().
|
private |
Definition at line 802 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay().
|
private |
Definition at line 802 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay().
|
private |
Definition at line 802 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay().
|
private |
Definition at line 803 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay(), and SetTitle().
|
private |
Definition at line 803 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay().
|
private |
Definition at line 803 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay().
|
private |
Definition at line 803 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay(), SetMode(), and SetProgress().
|
private |
Definition at line 803 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay(), SetMode(), and SetProgress().
|
private |
Definition at line 803 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay().
|
private |
Definition at line 803 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay(), SetCurrent(), SetJump(), SetMessage(), and SetTotal().
|
private |
Definition at line 803 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayReplay(), and SetMessage().