vdr  2.2.0
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 SetPositioner (const cPositioner *Positioner)
 
virtual void Flush (void)
 
- Public Member Functions inherited from cSkinDisplayChannel
 cSkinDisplayChannel (void)
 
- 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)
 

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 lastCurrentPosition
 
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)
 

Detailed Description

Definition at line 343 of file skinlcars.c.

Constructor & Destructor Documentation

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

Definition at line 475 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
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 653 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
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 588 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 610 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.

void cSkinLCARSDisplayChannel::SetPositioner ( const cPositioner Positioner)
virtual

Sets the Positioner used to move the satellite dish.

The skin may use the data provided by Positioner to implement some form of progress display, since moving the dish may take a while. This function will only be called if the device receiving the current live channel actually uses a positioner, and it will be called with NULL once the dish has reached its target position (or the user switches to a channel that doesn't require positioning the dish). While the dish is moving, SetPositioner() is called repeatedly, so the skin has a chance to update the progress display. The default implementation calls SetMessage() with a text that indicates that the dish is being moved to a new position.

Reimplemented from cSkinDisplayChannel.

Definition at line 639 of file skinlcars.c.

References DrawDevicePosition(), Gap, initial, lastCurrentPosition, lineHeight, osd, ShowSeenExtent, xc06, xc07, and yc11.

Member Data Documentation

cBitmap cSkinLCARSDisplayChannel::bmAudio
staticprivate

Definition at line 367 of file skinlcars.c.

Referenced by SetChannel().

cBitmap cSkinLCARSDisplayChannel::bmDolbyDigital
staticprivate

Definition at line 367 of file skinlcars.c.

Referenced by SetChannel().

cBitmap cSkinLCARSDisplayChannel::bmEncrypted
staticprivate

Definition at line 367 of file skinlcars.c.

Referenced by SetChannel().

cBitmap cSkinLCARSDisplayChannel::bmRadio
staticprivate

Definition at line 367 of file skinlcars.c.

Referenced by SetChannel().

cBitmap cSkinLCARSDisplayChannel::bmRecording
staticprivate

Definition at line 367 of file skinlcars.c.

Referenced by SetChannel().

cBitmap cSkinLCARSDisplayChannel::bmTeletext
staticprivate

Definition at line 367 of file skinlcars.c.

Referenced by SetChannel().

tColor cSkinLCARSDisplayChannel::frameColor
private
bool cSkinLCARSDisplayChannel::initial
private
cCamSlot* cSkinLCARSDisplayChannel::lastCamSlot
private
int cSkinLCARSDisplayChannel::lastCurrentPosition
private

Definition at line 359 of file skinlcars.c.

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

cString cSkinLCARSDisplayChannel::lastDate
private
int cSkinLCARSDisplayChannel::lastDeviceNumber
private

Definition at line 360 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and DrawDevice().

cString cSkinLCARSDisplayChannel::lastDeviceType
private

Definition at line 361 of file skinlcars.c.

Referenced by DrawDevice(), and cSkinLCARSDisplayMenu::DrawDevice().

int cSkinLCARSDisplayChannel::lastSeen
private
time_t cSkinLCARSDisplayChannel::lastSignalDisplay
private
int cSkinLCARSDisplayChannel::lastSignalQuality
private
int cSkinLCARSDisplayChannel::lastSignalStrength
private
tTrackId cSkinLCARSDisplayChannel::lastTrackId
private
int cSkinLCARSDisplayChannel::lineHeight
private
bool cSkinLCARSDisplayChannel::message
private

Definition at line 354 of file skinlcars.c.

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

cOsd* cSkinLCARSDisplayChannel::osd
private

Definition at line 345 of file skinlcars.c.

Referenced by cSkinLCARSDisplayMenu::Clear(), cSkinLCARSDisplayChannel(), cSkinLCARSDisplayMenu::cSkinLCARSDisplayMenu(), cSkinLCARSDisplayMessage::cSkinLCARSDisplayMessage(), cSkinLCARSDisplayReplay::cSkinLCARSDisplayReplay(), cSkinLCARSDisplayTracks::cSkinLCARSDisplayTracks(), cSkinLCARSDisplayVolume::cSkinLCARSDisplayVolume(), DrawDate(), cSkinLCARSDisplayMenu::DrawDate(), cSkinLCARSDisplayReplay::DrawDate(), DrawDevice(), cSkinLCARSDisplayMenu::DrawDevice(), cSkinLCARSDisplayMenu::DrawDisk(), cSkinLCARSDisplayMenu::DrawFrameDisplay(), cSkinLCARSDisplayMenu::DrawInfo(), cSkinLCARSDisplayMenu::DrawLive(), cSkinLCARSDisplayMenu::DrawLiveIndicator(), cSkinLCARSDisplayMenu::DrawLoad(), cSkinLCARSDisplayMenu::DrawMainBracket(), cSkinLCARSDisplayMenu::DrawMainButton(), cSkinLCARSDisplayMenu::DrawMainFrameLower(), cSkinLCARSDisplayMenu::DrawMainFrameUpper(), cSkinLCARSDisplayMenu::DrawMenuFrame(), cSkinLCARSDisplayMenu::DrawPlay(), cSkinLCARSDisplayMenu::DrawScrollbar(), DrawSeen(), cSkinLCARSDisplayMenu::DrawSeen(), DrawSignal(), cSkinLCARSDisplayMenu::DrawSignals(), cSkinLCARSDisplayMenu::DrawStatusElbows(), cSkinLCARSDisplayMenu::DrawTimer(), cSkinLCARSDisplayMenu::DrawTimers(), DrawTrack(), cSkinLCARSDisplayReplay::DrawTrack(), Flush(), cSkinLCARSDisplayMenu::Flush(), cSkinLCARSDisplayReplay::Flush(), cSkinLCARSDisplayVolume::Flush(), cSkinLCARSDisplayTracks::Flush(), cSkinLCARSDisplayMessage::Flush(), cSkinLCARSDisplayTracks::SetAudioChannel(), cSkinLCARSDisplayMenu::SetButtons(), SetChannel(), cSkinLCARSDisplayReplay::SetCurrent(), cSkinLCARSDisplayMenu::SetEvent(), SetEvents(), cSkinLCARSDisplayMenu::SetItem(), cSkinLCARSDisplayTracks::SetItem(), cSkinLCARSDisplayReplay::SetJump(), cSkinLCARSDisplayMenu::SetMenuCategory(), SetMessage(), cSkinLCARSDisplayMenu::SetMessage(), cSkinLCARSDisplayReplay::SetMessage(), cSkinLCARSDisplayMessage::SetMessage(), cSkinLCARSDisplayReplay::SetMode(), SetPositioner(), cSkinLCARSDisplayReplay::SetProgress(), cSkinLCARSDisplayMenu::SetRecording(), cSkinLCARSDisplayReplay::SetRecording(), cSkinLCARSDisplayMenu::SetText(), cSkinLCARSDisplayMenu::SetTitle(), cSkinLCARSDisplayReplay::SetTitle(), cSkinLCARSDisplayReplay::SetTotal(), cSkinLCARSDisplayVolume::SetVolume(), ~cSkinLCARSDisplayChannel(), cSkinLCARSDisplayMenu::~cSkinLCARSDisplayMenu(), cSkinLCARSDisplayMessage::~cSkinLCARSDisplayMessage(), cSkinLCARSDisplayReplay::~cSkinLCARSDisplayReplay(), cSkinLCARSDisplayTracks::~cSkinLCARSDisplayTracks(), and cSkinLCARSDisplayVolume::~cSkinLCARSDisplayVolume().

const cEvent* cSkinLCARSDisplayChannel::present
private

Definition at line 355 of file skinlcars.c.

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

cFont* cSkinLCARSDisplayChannel::tallFont
private
cFont* cSkinLCARSDisplayChannel::tinyFont
private
bool cSkinLCARSDisplayChannel::withInfo
private

Definition at line 349 of file skinlcars.c.

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

int cSkinLCARSDisplayChannel::xc00
private

Definition at line 346 of file skinlcars.c.

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

int cSkinLCARSDisplayChannel::xc01
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::xc02
private

Definition at line 346 of file skinlcars.c.

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

int cSkinLCARSDisplayChannel::xc03
private

Definition at line 346 of file skinlcars.c.

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

int cSkinLCARSDisplayChannel::xc04
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::xc05
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::xc06
private

Definition at line 346 of file skinlcars.c.

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

int cSkinLCARSDisplayChannel::xc07
private

Definition at line 346 of file skinlcars.c.

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

int cSkinLCARSDisplayChannel::xc08
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::xc09
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::xc10
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and DrawDevice().

int cSkinLCARSDisplayChannel::xc11
private

Definition at line 346 of file skinlcars.c.

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

int cSkinLCARSDisplayChannel::xc12
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and DrawDate().

int cSkinLCARSDisplayChannel::xc13
private

Definition at line 346 of file skinlcars.c.

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

int cSkinLCARSDisplayChannel::xc14
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::xc15
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

int cSkinLCARSDisplayChannel::xs
private
int cSkinLCARSDisplayChannel::yc00
private
int cSkinLCARSDisplayChannel::yc01
private
int cSkinLCARSDisplayChannel::yc02
private
int cSkinLCARSDisplayChannel::yc03
private
int cSkinLCARSDisplayChannel::yc04
private
int cSkinLCARSDisplayChannel::yc05
private
int cSkinLCARSDisplayChannel::yc06
private
int cSkinLCARSDisplayChannel::yc07
private
int cSkinLCARSDisplayChannel::yc08
private
int cSkinLCARSDisplayChannel::yc09
private
int cSkinLCARSDisplayChannel::yc10
private
int cSkinLCARSDisplayChannel::yc11
private
int cSkinLCARSDisplayChannel::yc12
private

Definition at line 347 of file skinlcars.c.

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


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