cSkinClassicDisplayChannel Class Reference

Inheritance diagram for cSkinClassicDisplayChannel:

Inheritance graph
[legend]
Collaboration diagram for cSkinClassicDisplayChannel:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cSkinClassicDisplayChannel (bool WithInfo)
virtual ~cSkinClassicDisplayChannel ()
virtual void SetChannel (const cChannel *Channel, int Number)
virtual void SetEvents (const cEvent *Present, const cEvent *Following)
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 lineHeight
int timeWidth
bool message
cString lastDate


Detailed Description

Definition at line 74 of file skinclassic.c.


Constructor & Destructor Documentation

cSkinClassicDisplayChannel::cSkinClassicDisplayChannel ( bool  WithInfo  ) 

cSkinClassicDisplayChannel::~cSkinClassicDisplayChannel (  )  [virtual]

Definition at line 108 of file skinclassic.c.

References osd.


Member Function Documentation

void cSkinClassicDisplayChannel::SetChannel ( const cChannel Channel,
int  Number 
) [virtual]

< This class is used to display the current channel, together with the present and following EPG even. How and to what extent this is done is totally up to the derived class. Sets the current channel to Channel. If Number is not 0, the user is in the process of entering a channel number, which must be displayed accordingly.

Implements cSkinDisplayChannel.

Definition at line 113 of file skinclassic.c.

References ChannelString(), clrBackground, cTheme::Color(), cOsd::DrawRectangle(), cOsd::DrawText(), fontOsd, cFont::GetFont(), lastDate, lineHeight, osd, and cOsd::Width().

Here is the call graph for this function:

void cSkinClassicDisplayChannel::SetEvents ( const cEvent Present,
const cEvent Following 
) [virtual]

Sets the Present and Following EPG events. If either of these is not available, NULL will be given.

Implements cSkinDisplayChannel.

Definition at line 120 of file skinclassic.c.

References clrBackground, cTheme::Color(), cOsd::DrawRectangle(), cOsd::DrawText(), fontOsd, cFont::GetFont(), cEvent::GetTimeString(), cOsd::Height(), lineHeight, osd, cEvent::ShortText(), timeWidth, cEvent::Title(), and cOsd::Width().

Here is the call graph for this function:

void cSkinClassicDisplayChannel::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 cSkinDisplayChannel.

Definition at line 134 of file skinclassic.c.

References cTheme::Color(), cOsd::DrawText(), fontOsd, cFont::GetFont(), lineHeight, message, osd, cOsd::RestoreRegion(), cOsd::SaveRegion(), taCenter, and cOsd::Width().

Here is the call graph for this function:

void cSkinClassicDisplayChannel::Flush ( void   )  [virtual]

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 148 of file skinclassic.c.

References clrBackground, cTheme::Color(), DayDateTime(), cOsd::DrawText(), cOsd::Flush(), cFont::GetFont(), lastDate, message, osd, cOsd::Width(), and cFont::Width().

Here is the call graph for this function:


Member Data Documentation

Definition at line 77 of file skinclassic.c.

Referenced by cSkinClassicDisplayChannel(), SetChannel(), SetEvents(), and SetMessage().

Definition at line 78 of file skinclassic.c.

Referenced by cSkinClassicDisplayChannel(), and SetEvents().

Definition at line 79 of file skinclassic.c.

Referenced by cSkinClassicDisplayChannel(), Flush(), and SetMessage().

Definition at line 80 of file skinclassic.c.

Referenced by Flush(), and SetChannel().


The documentation for this class was generated from the following file:

Generated on Tue Nov 4 20:01:42 2008 for VDR by  doxygen 1.5.6