vdr 2.7.5
|
Public Member Functions | |
cSkinSTTNGDisplayChannel (bool WithInfo) | |
virtual | ~cSkinSTTNGDisplayChannel () override |
virtual void | SetChannel (const cChannel *Channel, int Number) override |
virtual void | SetEvents (const cEvent *Present, const cEvent *Following) override |
virtual void | SetMessage (eMessageType Type, const char *Text) override |
virtual void | Flush (void) override |
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 | |
cOsd * | osd |
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 cEvent * | present |
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 cSkinDisplay * | Current (void) |
Definition at line 129 of file skinsttng.c.
cSkinSTTNGDisplayChannel::cSkinSTTNGDisplayChannel | ( | bool | WithInfo | ) |
Definition at line 163 of file skinsttng.c.
References clrBackground, clrTransparent, fontOsd, frameColor, Gap, cFont::GetFont(), cFont::Height(), lastDeviceNumber, lastSeen, lastSignalDisplay, lastSignalQuality, lastSignalStrength, lastTrackId, lineHeight, message, cOsdProvider::NewOsd(), oeOk, osd, cOsd::OsdHeight(), cOsd::OsdLeft(), cOsd::OsdTop(), cOsd::OsdWidth(), present, Roundness, Setup, TextFrame, Theme, cFont::Width(), withInfo, x0, x1, x2, x3, x4, x5, x6, x7, y0, y1, y2, y3, y4, y5, y6, and y7.
|
overridevirtual |
Definition at line 260 of file skinsttng.c.
References osd.
|
overridevirtual |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 329 of file skinsttng.c.
References cDevice::ActualDevice(), DayDateTime(), tTrackId::description, cDevice::DeviceNumber(), frameColor, Gap, cDevice::GetCurrentAudioTrack(), cFont::GetFont(), cDevice::GetTrack(), cFont::Height(), lastDate, lastDeviceNumber, lastSeen, lastSignalDisplay, lastSignalQuality, lastSignalStrength, lastTrackId, message, min(), osd, present, cDevice::PrimaryDevice(), ScrollWidth, cDevice::SignalQuality(), cDevice::SignalStrength(), cString::sprintf(), strn0cpy(), TextFrame, Theme, cFont::Width(), withInfo, x1, x3, x4, y3, y4, y6, and y7.
|
overridevirtual |
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 265 of file skinsttng.c.
References cRecordControls::Active(), cChannel::Apid(), bmAudio, bmDolbyDigital, bmEncrypted, bmRadio, bmRecording, bmTeletext, cChannel::Ca(), ChannelString(), cChannel::Dpid(), fontOsd, frameColor, cFont::GetFont(), cChannel::GroupSep(), lastSignalDisplay, osd, SymbolSpacing, TextFrame, Theme, cChannel::Tpid(), cChannel::Vpid(), x3, x4, y0, and y1.
|
overridevirtual |
Sets the Present and Following EPG events.
If either of these is not available, NULL will be given.
Implements cSkinDisplayChannel.
Definition at line 292 of file skinsttng.c.
References clrBackground, 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.
|
overridevirtual |
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 311 of file skinsttng.c.
References clrBackground, fontOsd, cFont::GetFont(), message, osd, taCenter, Theme, withInfo, x2, x3, x4, y0, y1, y6, and y7.
|
staticprivate |
Definition at line 146 of file skinsttng.c.
Referenced by SetChannel().
|
staticprivate |
Definition at line 146 of file skinsttng.c.
Referenced by SetChannel().
|
staticprivate |
Definition at line 146 of file skinsttng.c.
Referenced by SetChannel().
|
staticprivate |
Definition at line 146 of file skinsttng.c.
Referenced by SetChannel().
|
staticprivate |
Definition at line 146 of file skinsttng.c.
Referenced by SetChannel().
|
staticprivate |
Definition at line 146 of file skinsttng.c.
Referenced by SetChannel().
|
private |
Definition at line 136 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), Flush(), SetChannel(), and SetEvents().
|
private |
Definition at line 139 of file skinsttng.c.
Referenced by Flush().
|
private |
Definition at line 141 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), and Flush().
|
private |
Definition at line 140 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), Flush(), and SetEvents().
|
private |
Definition at line 144 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), Flush(), and SetChannel().
|
private |
Definition at line 143 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), and Flush().
|
private |
Definition at line 142 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), and Flush().
|
private |
Definition at line 145 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), and Flush().
|
private |
Definition at line 135 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), and SetEvents().
|
private |
Definition at line 137 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), Flush(), and SetMessage().
|
private |
Definition at line 131 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), Flush(), SetChannel(), SetEvents(), SetMessage(), and ~cSkinSTTNGDisplayChannel().
|
private |
Definition at line 138 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), Flush(), and SetEvents().
|
private |
Definition at line 134 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), Flush(), SetEvents(), and SetMessage().
|
private |
Definition at line 132 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), and SetEvents().
|
private |
Definition at line 132 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), Flush(), and SetEvents().
|
private |
Definition at line 132 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), and SetMessage().
|
private |
Definition at line 132 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), Flush(), SetChannel(), SetEvents(), and SetMessage().
|
private |
Definition at line 132 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), Flush(), SetChannel(), SetEvents(), and SetMessage().
|
private |
Definition at line 132 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel().
|
private |
Definition at line 132 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel().
|
private |
Definition at line 132 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), and SetEvents().
|
private |
Definition at line 133 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), SetChannel(), and SetMessage().
|
private |
Definition at line 133 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), SetChannel(), and SetMessage().
|
private |
Definition at line 133 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel().
|
private |
Definition at line 133 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), Flush(), and SetEvents().
|
private |
Definition at line 133 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), Flush(), and SetEvents().
|
private |
Definition at line 133 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel().
|
private |
Definition at line 133 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), Flush(), and SetMessage().
|
private |
Definition at line 133 of file skinsttng.c.
Referenced by cSkinSTTNGDisplayChannel(), Flush(), and SetMessage().