cSkinClassicDisplayReplay Class Reference

Inheritance diagram for cSkinClassicDisplayReplay:

Inheritance graph
[legend]
Collaboration diagram for cSkinClassicDisplayReplay:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cSkinClassicDisplayReplay (bool ModeOnly)
virtual ~cSkinClassicDisplayReplay ()
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
int x0
int x1
int y0
int y1
int y2
int y3
int lastCurrentWidth


Detailed Description

Definition at line 386 of file skinclassic.c.


Constructor & Destructor Documentation

cSkinClassicDisplayReplay::cSkinClassicDisplayReplay ( bool  ModeOnly  ) 

Definition at line 405 of file skinclassic.c.

References clrBackground, clrTransparent, cTheme::Color(), cOsd::DrawRectangle(), fontOsd, cFont::GetFont(), cFont::Height(), lastCurrentWidth, cOsdProvider::NewOsd(), osd, cSetup::OSDHeight, cSetup::OSDLeft, cSetup::OSDTop, cSetup::OSDWidth, cOsd::SetAreas(), Setup, x0, x1, y0, y1, y2, and y3.

Here is the call graph for this function:

cSkinClassicDisplayReplay::~cSkinClassicDisplayReplay (  )  [virtual]

Definition at line 422 of file skinclassic.c.

References osd.


Member Function Documentation

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

Sets the title of the recording.

Implements cSkinDisplayReplay.

Definition at line 427 of file skinclassic.c.

References clrBackground, cTheme::Color(), cOsd::DrawText(), fontOsd, cFont::GetFont(), osd, x0, x1, and y0.

Here is the call graph for this function:

void cSkinClassicDisplayReplay::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 432 of file skinclassic.c.

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

Here is the call graph for this function:

void cSkinClassicDisplayReplay::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 448 of file skinclassic.c.

References cTheme::Color(), cOsd::DrawBitmap(), cSkinDisplayReplay::marks, osd, x0, x1, y1, and y2.

Here is the call graph for this function:

void cSkinClassicDisplayReplay::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 454 of file skinclassic.c.

References clrBackground, cTheme::Color(), cOsd::DrawText(), fontOsd, cFont::GetFont(), lastCurrentWidth, osd, cFont::Width(), x0, and y2.

Here is the call graph for this function:

void cSkinClassicDisplayReplay::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 462 of file skinclassic.c.

References clrBackground, cTheme::Color(), cOsd::DrawText(), fontOsd, cFont::GetFont(), osd, cFont::Width(), x1, and y2.

Here is the call graph for this function:

void cSkinClassicDisplayReplay::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 468 of file skinclassic.c.

References clrBackground, cTheme::Color(), cOsd::DrawText(), fontOsd, cFont::GetFont(), osd, taCenter, x0, x1, and y2.

Referenced by SetMode().

Here is the call graph for this function:

void cSkinClassicDisplayReplay::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 473 of file skinclassic.c.

References cTheme::Color(), cOsd::DrawText(), fontOsd, cFont::GetFont(), osd, cOsd::RestoreRegion(), cOsd::SaveRegion(), taCenter, x0, x1, y2, and y3.

Here is the call graph for this function:

void cSkinClassicDisplayReplay::Flush ( void   )  [virtual]

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 484 of file skinclassic.c.

References cOsd::Flush(), and osd.

Here is the call graph for this function:


Member Data Documentation

cOsd* cSkinClassicDisplayReplay::osd [private]

Definition at line 388 of file skinclassic.c.

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

int cSkinClassicDisplayReplay::x0 [private]

Definition at line 389 of file skinclassic.c.

Referenced by cSkinClassicDisplayReplay(), SetCurrent(), SetJump(), SetMessage(), SetProgress(), and SetTitle().

int cSkinClassicDisplayReplay::x1 [private]

Definition at line 389 of file skinclassic.c.

Referenced by cSkinClassicDisplayReplay(), SetJump(), SetMessage(), SetProgress(), SetTitle(), and SetTotal().

int cSkinClassicDisplayReplay::y0 [private]

Definition at line 390 of file skinclassic.c.

Referenced by cSkinClassicDisplayReplay(), and SetTitle().

int cSkinClassicDisplayReplay::y1 [private]

Definition at line 390 of file skinclassic.c.

Referenced by cSkinClassicDisplayReplay(), and SetProgress().

int cSkinClassicDisplayReplay::y2 [private]

Definition at line 390 of file skinclassic.c.

Referenced by cSkinClassicDisplayReplay(), SetCurrent(), SetJump(), SetMessage(), SetProgress(), and SetTotal().

int cSkinClassicDisplayReplay::y3 [private]

Definition at line 390 of file skinclassic.c.

Referenced by cSkinClassicDisplayReplay(), and SetMessage().

int cSkinClassicDisplayReplay::lastCurrentWidth [private]

Definition at line 391 of file skinclassic.c.

Referenced by cSkinClassicDisplayReplay(), and SetCurrent().


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