vdr
2.2.0
|
Public Member Functions | |
cSkinCursesDisplayReplay (bool ModeOnly) | |
virtual | ~cSkinCursesDisplayReplay () |
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 |
bool | message |
Additional Inherited Members | |
![]() | |
static int | AvgCharWidth (void) |
static cSkinDisplay * | Current (void) |
![]() | |
const cMarks * | marks |
Definition at line 498 of file skincurses.c.
cSkinCursesDisplayReplay::cSkinCursesDisplayReplay | ( | bool | ModeOnly | ) |
Definition at line 515 of file skincurses.c.
References cCursesOsd::cCursesOsd(), clrBackground, clrTransparent, ScOsdHeight, and ScOsdWidth.
|
virtual |
Definition at line 522 of file skincurses.c.
|
virtual |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 583 of file skincurses.c.
|
virtual |
Sets the current position within the recording, as a user readable string if 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 555 of file skincurses.c.
References clrBackground, clrWhite, and Utf8StrLen().
|
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 565 of file skincurses.c.
References clrBackground, clrWhite, ScOsdWidth, and taCenter.
|
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 570 of file skincurses.c.
References clrMessage, ScOsdWidth, and taCenter.
|
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 532 of file skincurses.c.
References Setup, cSetup::ShowReplayMode, and strn0cpy().
|
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 548 of file skincurses.c.
References clrGreen, clrWhite, and ScOsdWidth.
|
virtual |
Sets the title of the recording.
Implements cSkinDisplayReplay.
Definition at line 527 of file skincurses.c.
References clrBackground, clrWhite, and ScOsdWidth.
|
virtual |
Sets the total length of the recording, as a user readable string if the form "h:mm:ss".
Implements cSkinDisplayReplay.
Definition at line 560 of file skincurses.c.
References clrBackground, clrWhite, ScOsdWidth, and Utf8StrLen().
|
private |
Definition at line 501 of file skincurses.c.
|
private |
Definition at line 500 of file skincurses.c.