vdr 2.6.8
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()

cSkinLCARSDisplayChannel::~cSkinLCARSDisplayChannel ( )
virtual

Definition at line 475 of file skinlcars.c.

References osd, tallFont, and tinyFont.

Member Function Documentation

◆ DrawDate()

void cSkinLCARSDisplayChannel::DrawDate ( void )
private

◆ DrawDevice()

void cSkinLCARSDisplayChannel::DrawDevice ( void )
private

◆ DrawSeen()

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

◆ DrawSignal()

void cSkinLCARSDisplayChannel::DrawSignal ( void )
private

◆ DrawTrack()

void cSkinLCARSDisplayChannel::DrawTrack ( void )
private

◆ Flush()

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.

◆ SetChannel()

◆ SetEvents()

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, Theme, cEvent::Title(), withInfo, xc00, xc02, xc03, xc13, yc03, and yc05.

◆ SetMessage()

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, Theme, withInfo, xc03, xc06, xc07, xc13, yc00, yc02, yc11, and yc12.

◆ SetPositioner()

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

◆ bmAudio

cBitmap cSkinLCARSDisplayChannel::bmAudio
staticprivate

Definition at line 367 of file skinlcars.c.

Referenced by SetChannel().

◆ bmDolbyDigital

cBitmap cSkinLCARSDisplayChannel::bmDolbyDigital
staticprivate

Definition at line 367 of file skinlcars.c.

Referenced by SetChannel().

◆ bmEncrypted

cBitmap cSkinLCARSDisplayChannel::bmEncrypted
staticprivate

Definition at line 367 of file skinlcars.c.

Referenced by SetChannel().

◆ bmRadio

cBitmap cSkinLCARSDisplayChannel::bmRadio
staticprivate

Definition at line 367 of file skinlcars.c.

Referenced by SetChannel().

◆ bmRecording

cBitmap cSkinLCARSDisplayChannel::bmRecording
staticprivate

Definition at line 367 of file skinlcars.c.

Referenced by SetChannel().

◆ bmTeletext

cBitmap cSkinLCARSDisplayChannel::bmTeletext
staticprivate

Definition at line 367 of file skinlcars.c.

Referenced by SetChannel().

◆ frameColor

tColor cSkinLCARSDisplayChannel::frameColor
private

Definition at line 353 of file skinlcars.c.

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

◆ initial

bool cSkinLCARSDisplayChannel::initial
private

◆ lastCamSlot

cCamSlot* cSkinLCARSDisplayChannel::lastCamSlot
private

Definition at line 362 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and DrawDevice().

◆ lastCurrentPosition

int cSkinLCARSDisplayChannel::lastCurrentPosition
private

Definition at line 359 of file skinlcars.c.

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

◆ lastDate

cString cSkinLCARSDisplayChannel::lastDate
private

Definition at line 357 of file skinlcars.c.

Referenced by DrawDate().

◆ lastDeviceNumber

int cSkinLCARSDisplayChannel::lastDeviceNumber
private

Definition at line 360 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and DrawDevice().

◆ lastDeviceType

cString cSkinLCARSDisplayChannel::lastDeviceType
private

Definition at line 361 of file skinlcars.c.

Referenced by DrawDevice().

◆ lastSeen

int cSkinLCARSDisplayChannel::lastSeen
private

Definition at line 358 of file skinlcars.c.

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

◆ lastSignalDisplay

time_t cSkinLCARSDisplayChannel::lastSignalDisplay
private

Definition at line 365 of file skinlcars.c.

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

◆ lastSignalQuality

int cSkinLCARSDisplayChannel::lastSignalQuality
private

Definition at line 364 of file skinlcars.c.

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

◆ lastSignalStrength

int cSkinLCARSDisplayChannel::lastSignalStrength
private

Definition at line 363 of file skinlcars.c.

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

◆ lastTrackId

tTrackId cSkinLCARSDisplayChannel::lastTrackId
private

Definition at line 366 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and DrawTrack().

◆ lineHeight

int cSkinLCARSDisplayChannel::lineHeight
private

◆ message

bool cSkinLCARSDisplayChannel::message
private

Definition at line 354 of file skinlcars.c.

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

◆ osd

◆ present

const cEvent* cSkinLCARSDisplayChannel::present
private

Definition at line 355 of file skinlcars.c.

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

◆ tallFont

cFont* cSkinLCARSDisplayChannel::tallFont
private

Definition at line 352 of file skinlcars.c.

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

◆ tinyFont

cFont* cSkinLCARSDisplayChannel::tinyFont
private

Definition at line 351 of file skinlcars.c.

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

◆ withInfo

bool cSkinLCARSDisplayChannel::withInfo
private

Definition at line 349 of file skinlcars.c.

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

◆ xc00

int cSkinLCARSDisplayChannel::xc00
private

Definition at line 346 of file skinlcars.c.

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

◆ xc01

int cSkinLCARSDisplayChannel::xc01
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

◆ xc02

int cSkinLCARSDisplayChannel::xc02
private

Definition at line 346 of file skinlcars.c.

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

◆ xc03

int cSkinLCARSDisplayChannel::xc03
private

Definition at line 346 of file skinlcars.c.

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

◆ xc04

int cSkinLCARSDisplayChannel::xc04
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

◆ xc05

int cSkinLCARSDisplayChannel::xc05
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

◆ xc06

int cSkinLCARSDisplayChannel::xc06
private

Definition at line 346 of file skinlcars.c.

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

◆ xc07

int cSkinLCARSDisplayChannel::xc07
private

Definition at line 346 of file skinlcars.c.

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

◆ xc08

int cSkinLCARSDisplayChannel::xc08
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

◆ xc09

int cSkinLCARSDisplayChannel::xc09
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

◆ xc10

int cSkinLCARSDisplayChannel::xc10
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and DrawDevice().

◆ xc11

int cSkinLCARSDisplayChannel::xc11
private

Definition at line 346 of file skinlcars.c.

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

◆ xc12

int cSkinLCARSDisplayChannel::xc12
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and DrawDate().

◆ xc13

int cSkinLCARSDisplayChannel::xc13
private

Definition at line 346 of file skinlcars.c.

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

◆ xc14

int cSkinLCARSDisplayChannel::xc14
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

◆ xc15

int cSkinLCARSDisplayChannel::xc15
private

Definition at line 346 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

◆ xs

int cSkinLCARSDisplayChannel::xs
private

Definition at line 348 of file skinlcars.c.

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

◆ yc00

int cSkinLCARSDisplayChannel::yc00
private

Definition at line 347 of file skinlcars.c.

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

◆ yc01

int cSkinLCARSDisplayChannel::yc01
private

Definition at line 347 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and SetChannel().

◆ yc02

int cSkinLCARSDisplayChannel::yc02
private

Definition at line 347 of file skinlcars.c.

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

◆ yc03

int cSkinLCARSDisplayChannel::yc03
private

Definition at line 347 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and SetEvents().

◆ yc04

int cSkinLCARSDisplayChannel::yc04
private

Definition at line 347 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

◆ yc05

int cSkinLCARSDisplayChannel::yc05
private

Definition at line 347 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and SetEvents().

◆ yc06

int cSkinLCARSDisplayChannel::yc06
private

Definition at line 347 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

◆ yc07

int cSkinLCARSDisplayChannel::yc07
private

Definition at line 347 of file skinlcars.c.

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

◆ yc08

int cSkinLCARSDisplayChannel::yc08
private

Definition at line 347 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel().

◆ yc09

int cSkinLCARSDisplayChannel::yc09
private

Definition at line 347 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and SetChannel().

◆ yc10

int cSkinLCARSDisplayChannel::yc10
private

Definition at line 347 of file skinlcars.c.

Referenced by cSkinLCARSDisplayChannel(), and SetChannel().

◆ yc11

int cSkinLCARSDisplayChannel::yc11
private

◆ yc12

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: