cSkinCursesDisplayChannel Class Reference

Inheritance diagram for cSkinCursesDisplayChannel:

Inheritance graph
[legend]
Collaboration diagram for cSkinCursesDisplayChannel:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cSkinCursesDisplayChannel (bool WithInfo)
virtual ~cSkinCursesDisplayChannel ()
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 timeWidth
bool message


Detailed Description

Definition at line 191 of file skincurses.c.


Constructor & Destructor Documentation

cSkinCursesDisplayChannel::cSkinCursesDisplayChannel ( bool  WithInfo  ) 

Definition at line 205 of file skincurses.c.

References cSetup::ChannelInfoPos, clrBackground, cOsd::DrawRectangle(), message, osd, OsdHeight, OsdWidth, Setup, and timeWidth.

Here is the call graph for this function:

cSkinCursesDisplayChannel::~cSkinCursesDisplayChannel (  )  [virtual]

Definition at line 214 of file skincurses.c.

References osd.


Member Function Documentation

void cSkinCursesDisplayChannel::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 219 of file skincurses.c.

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

Here is the call graph for this function:

void cSkinCursesDisplayChannel::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 225 of file skincurses.c.

References clrBackground, clrCyan, clrRed, clrWhite, clrYellow, cOsd::DrawRectangle(), cOsd::DrawText(), cEvent::GetTimeString(), osd, OsdWidth, cEvent::ShortText(), timeWidth, and cEvent::Title().

Here is the call graph for this function:

void cSkinCursesDisplayChannel::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 239 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 cSkinCursesDisplayChannel::Flush ( void   )  [virtual]

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 252 of file skincurses.c.

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

Here is the call graph for this function:


Member Data Documentation

cOsd* cSkinCursesDisplayChannel::osd [private]

Definition at line 193 of file skincurses.c.

Referenced by cSkinCursesDisplayChannel(), Flush(), SetChannel(), SetEvents(), SetMessage(), and ~cSkinCursesDisplayChannel().

int cSkinCursesDisplayChannel::timeWidth [private]

Definition at line 194 of file skincurses.c.

Referenced by cSkinCursesDisplayChannel(), and SetEvents().

bool cSkinCursesDisplayChannel::message [private]

Definition at line 195 of file skincurses.c.

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


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