vdr
1.7.27
|
#include <skins.h>
Classes | |
class | cProgressBar |
Public Member Functions | |
cSkinDisplayReplay (void) | |
virtual void | SetMarks (const cMarks *Marks) |
virtual void | SetTitle (const char *Title)=0 |
virtual void | SetMode (bool Play, bool Forward, int Speed)=0 |
virtual void | SetProgress (int Current, int Total)=0 |
virtual void | SetCurrent (const char *Current)=0 |
virtual void | SetTotal (const char *Total)=0 |
virtual void | SetJump (const char *Jump)=0 |
virtual void | SetMessage (eMessageType Type, const char *Text)=0 |
cSkinDisplayReplay (void) | |
virtual void | SetMarks (const cMarks *Marks) |
virtual void | SetTitle (const char *Title)=0 |
virtual void | SetMode (bool Play, bool Forward, int Speed)=0 |
virtual void | SetProgress (int Current, int Total)=0 |
virtual void | SetCurrent (const char *Current)=0 |
virtual void | SetTotal (const char *Total)=0 |
virtual void | SetJump (const char *Jump)=0 |
virtual void | SetMessage (eMessageType Type, const char *Text)=0 |
Protected Attributes | |
const cMarks * | marks |
Definition at line 185 of file include/vdr/skins.h.
virtual void cSkinDisplayReplay::SetCurrent | ( | const char * | Current | ) | [pure 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.
Implemented in cSkinSTTNGDisplayReplay, cSkinCursesDisplayReplay, and cSkinClassicDisplayReplay.
Referenced by cReplayControl::ShowProgress().
virtual void cSkinDisplayReplay::SetCurrent | ( | const char * | Current | ) | [pure 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.
Implemented in cSkinSTTNGDisplayReplay, cSkinCursesDisplayReplay, and cSkinClassicDisplayReplay.
virtual void cSkinDisplayReplay::SetJump | ( | const char * | Jump | ) | [pure 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.
Implemented in cSkinSTTNGDisplayReplay, cSkinCursesDisplayReplay, and cSkinClassicDisplayReplay.
Referenced by cReplayControl::TimeSearchDisplay(), and cReplayControl::TimeSearchProcess().
virtual void cSkinDisplayReplay::SetJump | ( | const char * | Jump | ) | [pure 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.
Implemented in cSkinSTTNGDisplayReplay, cSkinCursesDisplayReplay, and cSkinClassicDisplayReplay.
void cSkinDisplayReplay::SetMarks | ( | const cMarks * | Marks | ) | [virtual] |
Sets the editing marks to Marks, which shall be used to display the progress bar through a cProgressBar object.
Definition at line 169 of file skins.c.
References marks.
Referenced by cReplayControl::ShowProgress().
virtual void cSkinDisplayReplay::SetMarks | ( | const cMarks * | Marks | ) | [virtual] |
Sets the editing marks to Marks, which shall be used to display the progress bar through a cProgressBar object.
virtual void cSkinDisplayReplay::SetMessage | ( | eMessageType | Type, |
const char * | Text | ||
) | [pure 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.
Reimplemented from cSkinDisplay.
Implemented in cSkinSTTNGDisplayReplay, cSkinCursesDisplayReplay, and cSkinClassicDisplayReplay.
virtual void cSkinDisplayReplay::SetMessage | ( | eMessageType | Type, |
const char * | Text | ||
) | [pure 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.
Reimplemented from cSkinDisplay.
Implemented in cSkinSTTNGDisplayReplay, cSkinCursesDisplayReplay, and cSkinClassicDisplayReplay.
virtual void cSkinDisplayReplay::SetMode | ( | bool | Play, |
bool | Forward, | ||
int | Speed | ||
) | [pure 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.
Implemented in cSkinSTTNGDisplayReplay, cSkinCursesDisplayReplay, and cSkinClassicDisplayReplay.
virtual void cSkinDisplayReplay::SetMode | ( | bool | Play, |
bool | Forward, | ||
int | Speed | ||
) | [pure 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.
Implemented in cSkinSTTNGDisplayReplay, cSkinCursesDisplayReplay, and cSkinClassicDisplayReplay.
Referenced by cReplayControl::ShowMode().
virtual void cSkinDisplayReplay::SetProgress | ( | int | Current, |
int | Total | ||
) | [pure 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.
Implemented in cSkinSTTNGDisplayReplay, cSkinCursesDisplayReplay, and cSkinClassicDisplayReplay.
Referenced by cReplayControl::ShowProgress().
virtual void cSkinDisplayReplay::SetProgress | ( | int | Current, |
int | Total | ||
) | [pure 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.
Implemented in cSkinSTTNGDisplayReplay, cSkinCursesDisplayReplay, and cSkinClassicDisplayReplay.
virtual void cSkinDisplayReplay::SetTitle | ( | const char * | Title | ) | [pure virtual] |
Sets the title of the recording.
Implemented in cSkinSTTNGDisplayReplay, cSkinCursesDisplayReplay, and cSkinClassicDisplayReplay.
virtual void cSkinDisplayReplay::SetTitle | ( | const char * | Title | ) | [pure virtual] |
Sets the title of the recording.
Implemented in cSkinSTTNGDisplayReplay, cSkinCursesDisplayReplay, and cSkinClassicDisplayReplay.
Referenced by cReplayControl::ShowProgress().
virtual void cSkinDisplayReplay::SetTotal | ( | const char * | Total | ) | [pure virtual] |
Sets the total length of the recording, as a user readable string if the form "h:mm:ss".
Implemented in cSkinSTTNGDisplayReplay, cSkinCursesDisplayReplay, and cSkinClassicDisplayReplay.
Referenced by cReplayControl::ShowProgress().
virtual void cSkinDisplayReplay::SetTotal | ( | const char * | Total | ) | [pure virtual] |
Sets the total length of the recording, as a user readable string if the form "h:mm:ss".
Implemented in cSkinSTTNGDisplayReplay, cSkinCursesDisplayReplay, and cSkinClassicDisplayReplay.
const cMarks * cSkinDisplayReplay::marks [protected] |
< This class implements the progress display used during replay of a recording.
Definition at line 189 of file include/vdr/skins.h.
Referenced by cSkinDisplayReplay(), SetMarks(), cSkinClassicDisplayReplay::SetProgress(), and cSkinSTTNGDisplayReplay::SetProgress().