vdr  2.4.1
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
cSkinSTTNGDisplayChannel Class Reference

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)
 
- Public Member Functions inherited from cSkinDisplayChannel
 cSkinDisplayChannel (void)
 
virtual void SetPositioner (const cPositioner *Positioner)
 
- 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 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
 
int lastDeviceNumber
 
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 128 of file skinsttng.c.

Constructor & Destructor Documentation

◆ cSkinSTTNGDisplayChannel()

cSkinSTTNGDisplayChannel::cSkinSTTNGDisplayChannel ( bool  WithInfo)

◆ ~cSkinSTTNGDisplayChannel()

cSkinSTTNGDisplayChannel::~cSkinSTTNGDisplayChannel ( )
virtual

Definition at line 259 of file skinsttng.c.

References osd.

Member Function Documentation

◆ Flush()

void cSkinSTTNGDisplayChannel::Flush ( void  )
virtual

◆ SetChannel()

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

◆ SetEvents()

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 291 of file skinsttng.c.

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

◆ SetMessage()

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 310 of file skinsttng.c.

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

Member Data Documentation

◆ bmAudio

cBitmap cSkinSTTNGDisplayChannel::bmAudio
staticprivate

Definition at line 145 of file skinsttng.c.

Referenced by SetChannel().

◆ bmDolbyDigital

cBitmap cSkinSTTNGDisplayChannel::bmDolbyDigital
staticprivate

Definition at line 145 of file skinsttng.c.

Referenced by SetChannel().

◆ bmEncrypted

cBitmap cSkinSTTNGDisplayChannel::bmEncrypted
staticprivate

Definition at line 145 of file skinsttng.c.

Referenced by SetChannel().

◆ bmRadio

cBitmap cSkinSTTNGDisplayChannel::bmRadio
staticprivate

Definition at line 145 of file skinsttng.c.

Referenced by SetChannel().

◆ bmRecording

cBitmap cSkinSTTNGDisplayChannel::bmRecording
staticprivate

Definition at line 145 of file skinsttng.c.

Referenced by SetChannel().

◆ bmTeletext

cBitmap cSkinSTTNGDisplayChannel::bmTeletext
staticprivate

Definition at line 145 of file skinsttng.c.

Referenced by SetChannel().

◆ frameColor

tColor cSkinSTTNGDisplayChannel::frameColor
private

Definition at line 135 of file skinsttng.c.

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

◆ lastDate

cString cSkinSTTNGDisplayChannel::lastDate
private

Definition at line 138 of file skinsttng.c.

Referenced by Flush().

◆ lastDeviceNumber

int cSkinSTTNGDisplayChannel::lastDeviceNumber
private

Definition at line 140 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), and Flush().

◆ lastSeen

int cSkinSTTNGDisplayChannel::lastSeen
private

Definition at line 139 of file skinsttng.c.

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

◆ lastSignalDisplay

time_t cSkinSTTNGDisplayChannel::lastSignalDisplay
private

Definition at line 143 of file skinsttng.c.

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

◆ lastSignalQuality

int cSkinSTTNGDisplayChannel::lastSignalQuality
private

Definition at line 142 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), and Flush().

◆ lastSignalStrength

int cSkinSTTNGDisplayChannel::lastSignalStrength
private

Definition at line 141 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), and Flush().

◆ lastTrackId

tTrackId cSkinSTTNGDisplayChannel::lastTrackId
private

Definition at line 144 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), and Flush().

◆ lineHeight

int cSkinSTTNGDisplayChannel::lineHeight
private

Definition at line 134 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), and SetEvents().

◆ message

bool cSkinSTTNGDisplayChannel::message
private

Definition at line 136 of file skinsttng.c.

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

◆ osd

cOsd* cSkinSTTNGDisplayChannel::osd
private

◆ present

const cEvent* cSkinSTTNGDisplayChannel::present
private

Definition at line 137 of file skinsttng.c.

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

◆ withInfo

bool cSkinSTTNGDisplayChannel::withInfo
private

Definition at line 133 of file skinsttng.c.

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

◆ x0

int cSkinSTTNGDisplayChannel::x0
private

Definition at line 131 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), and SetEvents().

◆ x1

int cSkinSTTNGDisplayChannel::x1
private

Definition at line 131 of file skinsttng.c.

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

◆ x2

int cSkinSTTNGDisplayChannel::x2
private

Definition at line 131 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), and SetMessage().

◆ x3

int cSkinSTTNGDisplayChannel::x3
private

Definition at line 131 of file skinsttng.c.

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

◆ x4

int cSkinSTTNGDisplayChannel::x4
private

Definition at line 131 of file skinsttng.c.

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

◆ x5

int cSkinSTTNGDisplayChannel::x5
private

Definition at line 131 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel().

◆ x6

int cSkinSTTNGDisplayChannel::x6
private

Definition at line 131 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel().

◆ x7

int cSkinSTTNGDisplayChannel::x7
private

Definition at line 131 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel(), and SetEvents().

◆ y0

int cSkinSTTNGDisplayChannel::y0
private

Definition at line 132 of file skinsttng.c.

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

◆ y1

int cSkinSTTNGDisplayChannel::y1
private

Definition at line 132 of file skinsttng.c.

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

◆ y2

int cSkinSTTNGDisplayChannel::y2
private

Definition at line 132 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel().

◆ y3

int cSkinSTTNGDisplayChannel::y3
private

Definition at line 132 of file skinsttng.c.

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

◆ y4

int cSkinSTTNGDisplayChannel::y4
private

Definition at line 132 of file skinsttng.c.

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

◆ y5

int cSkinSTTNGDisplayChannel::y5
private

Definition at line 132 of file skinsttng.c.

Referenced by cSkinSTTNGDisplayChannel().

◆ y6

int cSkinSTTNGDisplayChannel::y6
private

Definition at line 132 of file skinsttng.c.

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

◆ y7

int cSkinSTTNGDisplayChannel::y7
private

Definition at line 132 of file skinsttng.c.

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


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