cSkinSTTNGDisplayReplay Class Reference

Inheritance diagram for cSkinSTTNGDisplayReplay:

Inheritance graph
[legend]
Collaboration diagram for cSkinSTTNGDisplayReplay:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cSkinSTTNGDisplayReplay (bool ModeOnly)
virtual ~cSkinSTTNGDisplayReplay ()
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 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


Detailed Description

Definition at line 651 of file skinsttng.c.


Constructor & Destructor Documentation

cSkinSTTNGDisplayReplay::cSkinSTTNGDisplayReplay ( bool  ModeOnly  ) 

Definition at line 674 of file skinsttng.c.

References clrBackground, clrTransparent, cTheme::Color(), cOsd::DrawEllipse(), cOsd::DrawRectangle(), frameColor, Gap, cFont::GetFont(), cBitmap::Height(), cFont::Height(), lastCurrentWidth, max(), cOsdProvider::NewOsd(), osd, cSetup::OSDHeight, cSetup::OSDLeft, cSetup::OSDTop, cSetup::OSDWidth, Roundness, cOsd::SetAreas(), Setup, SymbolHeight, SymbolWidth, cBitmap::Width(), x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, y6, and y7.

Here is the call graph for this function:

cSkinSTTNGDisplayReplay::~cSkinSTTNGDisplayReplay (  )  [virtual]

Definition at line 726 of file skinsttng.c.

References osd.


Member Function Documentation

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

Sets the title of the recording.

Implements cSkinDisplayReplay.

Definition at line 731 of file skinsttng.c.

References cTheme::Color(), cOsd::DrawText(), frameColor, cFont::GetFont(), osd, x3, x4, and y0.

Here is the call graph for this function:

void cSkinSTTNGDisplayReplay::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 743 of file skinsttng.c.

References cTheme::Color(), cOsd::DrawBitmap(), frameColor, cBitmap::Height(), osd, ReplaySymbols, cBitmap::Width(), x0, x1, y3, and y4.

Here is the call graph for this function:

void cSkinSTTNGDisplayReplay::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 753 of file skinsttng.c.

References cTheme::Color(), cOsd::DrawBitmap(), cSkinDisplayReplay::marks, osd, x3, x4, y3, and y4.

Here is the call graph for this function:

void cSkinSTTNGDisplayReplay::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 759 of file skinsttng.c.

References cTheme::Color(), cOsd::DrawText(), frameColor, cFont::GetFont(), lastCurrentWidth, osd, cFont::Width(), x3, and y6.

Here is the call graph for this function:

void cSkinSTTNGDisplayReplay::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 767 of file skinsttng.c.

References cTheme::Color(), cOsd::DrawText(), frameColor, cFont::GetFont(), osd, cFont::Width(), x4, and y6.

Here is the call graph for this function:

void cSkinSTTNGDisplayReplay::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 773 of file skinsttng.c.

References cTheme::Color(), cOsd::DrawText(), frameColor, cFont::GetFont(), osd, taCenter, x0, x3, x4, and y6.

Here is the call graph for this function:

void cSkinSTTNGDisplayReplay::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 778 of file skinsttng.c.

References clrBackground, cTheme::Color(), cOsd::DrawRectangle(), cOsd::DrawText(), cFont::GetFont(), osd, cOsd::RestoreRegion(), cOsd::SaveRegion(), taCenter, x2, x3, x4, y6, and y7.

Here is the call graph for this function:

void cSkinSTTNGDisplayReplay::Flush ( void   )  [virtual]

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 790 of file skinsttng.c.

References cOsd::Flush(), and osd.

Here is the call graph for this function:


Member Data Documentation

cOsd* cSkinSTTNGDisplayReplay::osd [private]

Definition at line 653 of file skinsttng.c.

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

int cSkinSTTNGDisplayReplay::x0 [private]

Definition at line 654 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay(), SetJump(), and SetMode().

int cSkinSTTNGDisplayReplay::x1 [private]

Definition at line 654 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay(), and SetMode().

int cSkinSTTNGDisplayReplay::x2 [private]

Definition at line 654 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay(), and SetMessage().

int cSkinSTTNGDisplayReplay::x3 [private]

Definition at line 654 of file skinsttng.c.

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

int cSkinSTTNGDisplayReplay::x4 [private]

Definition at line 654 of file skinsttng.c.

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

int cSkinSTTNGDisplayReplay::x5 [private]

Definition at line 654 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay().

int cSkinSTTNGDisplayReplay::x6 [private]

Definition at line 654 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay().

int cSkinSTTNGDisplayReplay::x7 [private]

Definition at line 654 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay().

int cSkinSTTNGDisplayReplay::y0 [private]

Definition at line 655 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay(), and SetTitle().

int cSkinSTTNGDisplayReplay::y1 [private]

Definition at line 655 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay().

int cSkinSTTNGDisplayReplay::y2 [private]

Definition at line 655 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay().

int cSkinSTTNGDisplayReplay::y3 [private]

Definition at line 655 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay(), SetMode(), and SetProgress().

int cSkinSTTNGDisplayReplay::y4 [private]

Definition at line 655 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay(), SetMode(), and SetProgress().

int cSkinSTTNGDisplayReplay::y5 [private]

Definition at line 655 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay().

int cSkinSTTNGDisplayReplay::y6 [private]

Definition at line 655 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay(), SetCurrent(), SetJump(), SetMessage(), and SetTotal().

int cSkinSTTNGDisplayReplay::y7 [private]

Definition at line 655 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay(), and SetMessage().

tColor cSkinSTTNGDisplayReplay::frameColor [private]

Definition at line 656 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay(), SetCurrent(), SetJump(), SetMode(), SetTitle(), and SetTotal().

int cSkinSTTNGDisplayReplay::lastCurrentWidth [private]

Definition at line 657 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayReplay(), and SetCurrent().


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