vdr  2.0.6
Public Member Functions | List of all members
cSkinDisplayChannel Class Referenceabstract

#include <skins.h>

Collaboration diagram for cSkinDisplayChannel:
[legend]

Public Member Functions

virtual void SetChannel (const cChannel *Channel, int Number)=0
 
virtual void SetEvents (const cEvent *Present, const cEvent *Following)=0
 
virtual void SetMessage (eMessageType Type, const char *Text)=0
 
- Public Member Functions inherited from cSkinDisplay
 cSkinDisplay (void)
 
virtual ~cSkinDisplay ()
 
int EditableWidth (void)
 
void SetEditableWidth (int Width)
 
virtual void SetButtons (const char *Red, const char *Green=NULL, const char *Yellow=NULL, const char *Blue=NULL)
 
virtual void Flush (void)
 

Additional Inherited Members

- Static Public Member Functions inherited from cSkinDisplay
static int AvgCharWidth (void)
 
static cSkinDisplayCurrent (void)
 

Detailed Description

Definition at line 51 of file skins.h.

Member Function Documentation

virtual void cSkinDisplayChannel::SetChannel ( const cChannel Channel,
int  Number 
)
pure virtual

< This class is used to display the current channel, together with the present and following EPG event.

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.

Implemented in cSkinLCARSDisplayChannel, cSkinCursesDisplayChannel, cSkinSTTNGDisplayChannel, and cSkinClassicDisplayChannel.

Referenced by cDisplayChannel::DisplayChannel().

virtual void cSkinDisplayChannel::SetEvents ( const cEvent Present,
const cEvent Following 
)
pure virtual

Sets the Present and Following EPG events.

If either of these is not available, NULL will be given.

Implemented in cSkinLCARSDisplayChannel, cSkinCursesDisplayChannel, cSkinSTTNGDisplayChannel, and cSkinClassicDisplayChannel.

Referenced by cDisplayChannel::DisplayInfo(), and cDisplayChannel::Refresh().

virtual void cSkinDisplayChannel::SetMessage ( eMessageType  Type,
const char *  Text 
)
pure 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.

Reimplemented from cSkinDisplay.

Implemented in cSkinLCARSDisplayChannel, cSkinCursesDisplayChannel, cSkinSTTNGDisplayChannel, and cSkinClassicDisplayChannel.


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