cSkinSTTNGDisplayChannel Class Reference

Inheritance diagram for cSkinSTTNGDisplayChannel:

Inheritance graph
[legend]
Collaboration diagram for cSkinSTTNGDisplayChannel:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cSkinSTTNGDisplayChannel (bool WithInfo)
virtual ~cSkinSTTNGDisplayChannel ()
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 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
bool withInfo
int lineHeight
tColor frameColor
bool message
const cEventpresent
cString lastDate
int lastSeen
tTrackId lastTrackId

Static Private Attributes

static cBitmap bmTeletext
static cBitmap bmRadio
static cBitmap bmAudio
static cBitmap bmDolbyDigital
static cBitmap bmEncrypted
static cBitmap bmRecording


Detailed Description

Definition at line 122 of file skinsttng.c.


Constructor & Destructor Documentation

cSkinSTTNGDisplayChannel::cSkinSTTNGDisplayChannel ( bool  WithInfo  ) 

cSkinSTTNGDisplayChannel::~cSkinSTTNGDisplayChannel (  )  [virtual]

Definition at line 235 of file skinsttng.c.

References osd.


Member Function Documentation

void cSkinSTTNGDisplayChannel::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 240 of file skinsttng.c.

References cRecordControls::Active(), cChannel::Apid(), bmAudio, bmDolbyDigital, bmEncrypted, bmRadio, bmRecording, bmTeletext, cChannel::Ca(), ChannelString(), cTheme::Color(), cChannel::Dpid(), cOsd::DrawBitmap(), cOsd::DrawRectangle(), cOsd::DrawText(), fontOsd, frameColor, cFont::GetFont(), cChannel::GroupSep(), cBitmap::Height(), osd, cChannel::Tpid(), cChannel::Vpid(), cBitmap::Width(), x3, x4, y0, and y1.

Here is the call graph for this function:

void cSkinSTTNGDisplayChannel::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 267 of file skinsttng.c.

References clrBackground, cTheme::Color(), cOsd::DrawRectangle(), cOsd::DrawText(), fontOsd, frameColor, cFont::GetFont(), cEvent::GetTimeString(), lastSeen, lineHeight, osd, present, cEvent::ShortText(), cEvent::Title(), withInfo, x0, x1, x3, x4, x7, y3, and y4.

Here is the call graph for this function:

void cSkinSTTNGDisplayChannel::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 286 of file skinsttng.c.

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

Here is the call graph for this function:

void cSkinSTTNGDisplayChannel::Flush ( void   )  [virtual]


Member Data Documentation

Definition at line 125 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), and SetEvents().

Definition at line 125 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), Flush(), and SetEvents().

Definition at line 125 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), and SetMessage().

Definition at line 125 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), Flush(), SetChannel(), SetEvents(), and SetMessage().

Definition at line 125 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), Flush(), SetChannel(), SetEvents(), and SetMessage().

Definition at line 125 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel().

Definition at line 125 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel().

Definition at line 125 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), and SetEvents().

Definition at line 126 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), SetChannel(), and SetMessage().

Definition at line 126 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), SetChannel(), and SetMessage().

Definition at line 126 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel().

Definition at line 126 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), Flush(), and SetEvents().

Definition at line 126 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), Flush(), and SetEvents().

Definition at line 126 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel().

Definition at line 126 of file skinsttng.c.

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

Definition at line 126 of file skinsttng.c.

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

Definition at line 127 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), Flush(), SetEvents(), and SetMessage().

Definition at line 128 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), and SetEvents().

Definition at line 129 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), Flush(), SetChannel(), and SetEvents().

Definition at line 130 of file skinsttng.c.

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

Definition at line 131 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), Flush(), and SetEvents().

Definition at line 132 of file skinsttng.c.

Referenced by Flush().

Definition at line 133 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), Flush(), and SetEvents().

Definition at line 134 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), and Flush().

Definition at line 135 of file skinsttng.c.

Referenced by SetChannel().

Definition at line 135 of file skinsttng.c.

Referenced by SetChannel().

Definition at line 135 of file skinsttng.c.

Referenced by SetChannel().

Definition at line 135 of file skinsttng.c.

Referenced by SetChannel().

Definition at line 135 of file skinsttng.c.

Referenced by SetChannel().

Definition at line 135 of file skinsttng.c.

Referenced by SetChannel().


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

Generated on Tue Nov 4 20:02:06 2008 for VDR by  doxygen 1.5.6