cSkinCursesDisplayReplay Class Reference

Inheritance diagram for cSkinCursesDisplayReplay:

Inheritance graph
[legend]
Collaboration diagram for cSkinCursesDisplayReplay:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cSkinCursesDisplayReplay (bool ModeOnly)
virtual ~cSkinCursesDisplayReplay ()
virtual void SetTitle (const char *Title)
 Sets the title of the recording.
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)
 Actually draws the OSD display to the output device.

Private Attributes

cOsdosd
bool message


Detailed Description

Definition at line 452 of file skincurses.c.


Constructor & Destructor Documentation

cSkinCursesDisplayReplay::cSkinCursesDisplayReplay ( bool  ModeOnly  ) 

Definition at line 469 of file skincurses.c.

References clrBackground, clrTransparent, cOsd::DrawRectangle(), message, osd, OsdHeight, and OsdWidth.

Here is the call graph for this function:

cSkinCursesDisplayReplay::~cSkinCursesDisplayReplay (  )  [virtual]

Definition at line 476 of file skincurses.c.

References osd.


Member Function Documentation

void cSkinCursesDisplayReplay::SetTitle ( const char *  Title  )  [virtual]

Sets the title of the recording.

Implements cSkinDisplayReplay.

Definition at line 481 of file skincurses.c.

References clrBackground, clrWhite, cOsd::DrawText(), osd, and OsdWidth.

Here is the call graph for this function:

void cSkinCursesDisplayReplay::SetMode ( bool  Play,
bool  Forward,
int  Speed 
) [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 486 of file skincurses.c.

References SetJump(), Setup, cSetup::ShowReplayMode, and strn0cpy().

Here is the call graph for this function:

void cSkinCursesDisplayReplay::SetProgress ( int  Current,
int  Total 
) [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 502 of file skincurses.c.

References clrGreen, clrWhite, cOsd::DrawRectangle(), osd, and OsdWidth.

Here is the call graph for this function:

void cSkinCursesDisplayReplay::SetCurrent ( const char *  Current  )  [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 509 of file skincurses.c.

References clrBackground, clrWhite, cOsd::DrawText(), and osd.

Here is the call graph for this function:

void cSkinCursesDisplayReplay::SetTotal ( const char *  Total  )  [virtual]

Sets the total length of the recording, as a user readable string if the form "h:mm:ss".

Implements cSkinDisplayReplay.

Definition at line 514 of file skincurses.c.

References clrBackground, clrWhite, cOsd::DrawText(), osd, and OsdWidth.

Here is the call graph for this function:

void cSkinCursesDisplayReplay::SetJump ( const char *  Jump  )  [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 519 of file skincurses.c.

References clrBackground, clrWhite, cOsd::DrawText(), osd, OsdWidth, and taCenter.

Referenced by SetMode().

Here is the call graph for this function:

void cSkinCursesDisplayReplay::SetMessage ( eMessageType  Type,
const char *  Text 
) [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 524 of file skincurses.c.

References clrMessage, cOsd::DrawText(), message, osd, OsdWidth, cOsd::RestoreRegion(), cOsd::SaveRegion(), and taCenter.

Here is the call graph for this function:

void cSkinCursesDisplayReplay::Flush ( void   )  [virtual]

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 537 of file skincurses.c.

References cOsd::Flush(), and osd.

Here is the call graph for this function:


Member Data Documentation

cOsd* cSkinCursesDisplayReplay::osd [private]

Definition at line 454 of file skincurses.c.

Referenced by cSkinCursesDisplayReplay(), Flush(), SetCurrent(), SetJump(), SetMessage(), SetProgress(), SetTitle(), SetTotal(), and ~cSkinCursesDisplayReplay().

bool cSkinCursesDisplayReplay::message [private]

Definition at line 455 of file skincurses.c.

Referenced by cSkinCursesDisplayReplay(), and SetMessage().


The documentation for this class was generated from the following file:
Generated on Tue Nov 6 20:27:47 2007 for VDR by  doxygen 1.5.3-20071008