vdr  1.7.31
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
cSkinLCARSDisplayChannel Class Reference

Public Member Functions

 cSkinLCARSDisplayChannel (bool WithInfo)
virtual ~cSkinLCARSDisplayChannel ()
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)

Private Member Functions

void DrawDate (void)
void DrawTrack (void)
void DrawSeen (int Current, int Total)
void DrawDevice (void)
void DrawSignal (void)

Private Attributes

cOsdosd
int xc00
int xc01
int xc02
int xc03
int xc04
int xc05
int xc06
int xc07
int xc08
int xc09
int xc10
int xc11
int xc12
int xc13
int xc14
int xc15
int yc00
int yc01
int yc02
int yc03
int yc04
int yc05
int yc06
int yc07
int yc08
int yc09
int yc10
int yc11
int yc12
int xs
bool withInfo
int lineHeight
cFonttinyFont
cFonttallFont
tColor frameColor
bool message
const cEventpresent
bool initial
cString lastDate
int lastSeen
int lastDeviceNumber
cString lastDeviceType
cCamSlotlastCamSlot
int lastSignalStrength
int lastSignalQuality
time_t lastSignalDisplay
tTrackId lastTrackId

Static Private Attributes

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

Additional Inherited Members

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

Detailed Description

Definition at line 291 of file skinlcars.c.

Constructor & Destructor Documentation

cSkinLCARSDisplayChannel::cSkinLCARSDisplayChannel ( bool  WithInfo)
cSkinLCARSDisplayChannel::~cSkinLCARSDisplayChannel ( )
virtual

Definition at line 420 of file skinlcars.c.

References osd, tallFont, and tinyFont.

Member Function Documentation

void cSkinLCARSDisplayChannel::DrawDate ( void  )
private
void cSkinLCARSDisplayChannel::DrawDevice ( void  )
private
void cSkinLCARSDisplayChannel::DrawSeen ( int  Current,
int  Total 
)
private

Definition at line 446 of file skinlcars.c.

References clrBackground, cTheme::Color(), cOsd::DrawRectangle(), Gap, initial, lastSeen, lineHeight, min(), osd, ShowSeenExtent, xc06, xc07, and yc11.

Referenced by Flush().

void cSkinLCARSDisplayChannel::DrawSignal ( void  )
private
void cSkinLCARSDisplayChannel::DrawTrack ( void  )
private
void cSkinLCARSDisplayChannel::Flush ( void  )
virtual

Actually draws the OSD display to the output device.

Reimplemented from cSkinDisplay.

Definition at line 577 of file skinlcars.c.

References cSkinDisplay::Current(), DrawDate(), DrawDevice(), DrawSeen(), DrawSignal(), DrawTrack(), cEvent::Duration(), cOsd::Flush(), initial, message, osd, present, cEvent::StartTime(), and withInfo.

void cSkinLCARSDisplayChannel::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 479 of file skinlcars.c.

References cRecordControls::Active(), cChannel::Apid(), bmAudio, bmDolbyDigital, bmEncrypted, bmRadio, bmRecording, bmTeletext, cChannel::Ca(), ChannelString(), clrBackground, cTheme::Color(), cChannel::Dpid(), cOsd::DrawBitmap(), DrawDevice(), cOsd::DrawRectangle(), cOsd::DrawText(), frameColor, cChannel::GroupSep(), cBitmap::Height(), lastSignalDisplay, lineHeight, max(), cChannel::Name(), cChannel::Number(), osd, cString::sprintf(), SymbolSpacing, taBorder, taLeft, tallFont, taRight, taTop, cChannel::Tpid(), cChannel::Vpid(), cBitmap::Width(), withInfo, xc00, xc02, xc03, xc13, yc00, yc01, and yc02.

void cSkinLCARSDisplayChannel::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 526 of file skinlcars.c.

References clrBackground, cTheme::Color(), cOsd::DrawRectangle(), cOsd::DrawText(), fontOsd, frameColor, cFont::GetFont(), cEvent::GetTimeString(), lastSeen, lineHeight, osd, present, cEvent::ShortText(), taBorder, taRight, cEvent::Title(), withInfo, xc00, xc02, xc03, xc13, yc03, and yc05.

void cSkinLCARSDisplayChannel::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 548 of file skinlcars.c.

References clrBackground, cTheme::Color(), cOsd::DrawRectangle(), cOsd::DrawText(), cFont::GetFont(), message, osd, cOsd::RestoreRegion(), cOsd::SaveRegion(), ShowSeenExtent, taCenter, withInfo, xc03, xc06, xc07, xc13, yc00, yc02, yc11, and yc12.

Member Data Documentation

cBitmap cSkinLCARSDisplayChannel::bmAudio
staticprivate

Definition at line 314 of file skinlcars.c.

Referenced by SetChannel().

cBitmap cSkinLCARSDisplayChannel::bmDolbyDigital
staticprivate

Definition at line 314 of file skinlcars.c.

Referenced by SetChannel().

cBitmap cSkinLCARSDisplayChannel::bmEncrypted
staticprivate

Definition at line 314 of file skinlcars.c.

Referenced by SetChannel().

cBitmap cSkinLCARSDisplayChannel::bmRadio
staticprivate

Definition at line 314 of file skinlcars.c.

Referenced by SetChannel().

cBitmap cSkinLCARSDisplayChannel::bmRecording
staticprivate

Definition at line 314 of file skinlcars.c.

Referenced by SetChannel().

cBitmap cSkinLCARSDisplayChannel::bmTeletext
staticprivate

Definition at line 314 of file skinlcars.c.

Referenced by SetChannel().

tColor cSkinLCARSDisplayChannel::frameColor
private

Definition at line 301 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), SetChannel(), and SetEvents().

bool cSkinLCARSDisplayChannel::initial
private

Definition at line 304 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), DrawDate(), DrawSeen(), DrawSignal(), and Flush().

cCamSlot* cSkinLCARSDisplayChannel::lastCamSlot
private

Definition at line 309 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and DrawDevice().

cString cSkinLCARSDisplayChannel::lastDate
private

Definition at line 305 of file skinlcars.c.

Referenced by DrawDate().

int cSkinLCARSDisplayChannel::lastDeviceNumber
private

Definition at line 307 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and DrawDevice().

cString cSkinLCARSDisplayChannel::lastDeviceType
private

Definition at line 308 of file skinlcars.c.

Referenced by DrawDevice().

int cSkinLCARSDisplayChannel::lastSeen
private

Definition at line 306 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), DrawSeen(), and SetEvents().

time_t cSkinLCARSDisplayChannel::lastSignalDisplay
private

Definition at line 312 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), DrawDevice(), DrawSignal(), and SetChannel().

int cSkinLCARSDisplayChannel::lastSignalQuality
private

Definition at line 311 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), DrawDevice(), and DrawSignal().

int cSkinLCARSDisplayChannel::lastSignalStrength
private

Definition at line 310 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), DrawDevice(), and DrawSignal().

tTrackId cSkinLCARSDisplayChannel::lastTrackId
private

Definition at line 313 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and DrawTrack().

int cSkinLCARSDisplayChannel::lineHeight
private
bool cSkinLCARSDisplayChannel::message
private

Definition at line 302 of file skinlcars.c.

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

cOsd* cSkinLCARSDisplayChannel::osd
private
const cEvent* cSkinLCARSDisplayChannel::present
private

Definition at line 303 of file skinlcars.c.

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

cFont* cSkinLCARSDisplayChannel::tallFont
private

Definition at line 300 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), SetChannel(), and ~cSkinLCARSDisplayChannel().

cFont* cSkinLCARSDisplayChannel::tinyFont
private

Definition at line 299 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), DrawDevice(), and ~cSkinLCARSDisplayChannel().

bool cSkinLCARSDisplayChannel::withInfo
private

Definition at line 297 of file skinlcars.c.

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

int cSkinLCARSDisplayChannel::xc00
private

Definition at line 294 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), SetChannel(), and SetEvents().

int cSkinLCARSDisplayChannel::xc01
private

Definition at line 294 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::xc02
private

Definition at line 294 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), SetChannel(), and SetEvents().

int cSkinLCARSDisplayChannel::xc03
private

Definition at line 294 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), DrawTrack(), SetChannel(), SetEvents(), and SetMessage().

int cSkinLCARSDisplayChannel::xc04
private

Definition at line 294 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::xc05
private

Definition at line 294 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::xc06
private

Definition at line 294 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), DrawSeen(), and SetMessage().

int cSkinLCARSDisplayChannel::xc07
private

Definition at line 294 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), DrawSeen(), DrawTrack(), and SetMessage().

int cSkinLCARSDisplayChannel::xc08
private

Definition at line 294 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::xc09
private

Definition at line 294 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::xc10
private

Definition at line 294 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and DrawDevice().

int cSkinLCARSDisplayChannel::xc11
private

Definition at line 294 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), DrawDevice(), and DrawSignal().

int cSkinLCARSDisplayChannel::xc12
private

Definition at line 294 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and DrawDate().

int cSkinLCARSDisplayChannel::xc13
private

Definition at line 294 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), DrawDate(), SetChannel(), SetEvents(), and SetMessage().

int cSkinLCARSDisplayChannel::xc14
private

Definition at line 294 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::xc15
private

Definition at line 294 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::xs
private

Definition at line 296 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), DrawDevice(), and DrawSignal().

int cSkinLCARSDisplayChannel::yc00
private

Definition at line 295 of file skinlcars.c.

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

int cSkinLCARSDisplayChannel::yc01
private

Definition at line 295 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and SetChannel().

int cSkinLCARSDisplayChannel::yc02
private

Definition at line 295 of file skinlcars.c.

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

int cSkinLCARSDisplayChannel::yc03
private

Definition at line 295 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and SetEvents().

int cSkinLCARSDisplayChannel::yc04
private

Definition at line 295 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::yc05
private

Definition at line 295 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and SetEvents().

int cSkinLCARSDisplayChannel::yc06
private

Definition at line 295 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::yc07
private

Definition at line 295 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and DrawTrack().

int cSkinLCARSDisplayChannel::yc08
private

Definition at line 295 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::yc09
private

Definition at line 295 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::yc10
private

Definition at line 295 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::yc11
private
int cSkinLCARSDisplayChannel::yc12
private

Definition at line 295 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), DrawDevice(), DrawSignal(), and SetMessage().


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