vdr
2.0.5
|
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) |
![]() | |
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 | |
cOsd * | osd |
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 |
cFont * | tinyFont |
cFont * | tallFont |
tColor | frameColor |
bool | message |
const cEvent * | present |
bool | initial |
cString | lastDate |
int | lastSeen |
int | lastDeviceNumber |
cString | lastDeviceType |
cCamSlot * | lastCamSlot |
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 int | AvgCharWidth (void) |
static cSkinDisplay * | Current (void) |
Definition at line 304 of file skinlcars.c.
cSkinLCARSDisplayChannel::cSkinLCARSDisplayChannel | ( | bool | WithInfo | ) |
Definition at line 349 of file skinlcars.c.
References cSetup::ChannelInfoPos, clrBackground, clrTransparent, cTheme::Color(), cFont::CreateFont(), CreateOsd(), CreateTinyFont(), cOsd::DrawEllipse(), cOsd::DrawRectangle(), fontOsd, cSetup::FontOsd, cSetup::FontOsdSize, frameColor, Gap, cFont::GetFont(), cFont::Height(), initial, lastCamSlot, lastDeviceNumber, lastSeen, lastSignalDisplay, lastSignalQuality, lastSignalStrength, lastTrackId, lineHeight, message, osd, cOsd::OsdHeight(), cOsd::OsdLeft(), cOsd::OsdTop(), cOsd::OsdWidth(), present, Setup, tallFont, tinyFont, withInfo, xc00, xc01, xc02, xc03, xc04, xc05, xc06, xc07, xc08, xc09, xc10, xc11, xc12, xc13, xc14, xc15, xs, yc00, yc01, yc02, yc03, yc04, yc05, yc06, yc07, yc08, yc09, yc10, yc11, and yc12.
|
virtual |
Definition at line 433 of file skinlcars.c.
|
private |
Definition at line 440 of file skinlcars.c.
References cTheme::Color(), DayDateTime(), cOsd::DrawText(), fontOsd, cFont::GetFont(), initial, lastDate, lineHeight, osd, taBorder, taRight, xc12, xc13, and yc11.
Referenced by Flush().
|
private |
Definition at line 471 of file skinlcars.c.
References cDevice::ActualDevice(), cDevice::DeviceNumber(), DrawDeviceData(), lastCamSlot, lastDeviceNumber, lastDeviceType, lastSignalDisplay, lastSignalQuality, lastSignalStrength, osd, tinyFont, xc10, xc11, xs, yc11, and yc12.
Referenced by Flush(), and SetChannel().
|
private |
Definition at line 459 of file skinlcars.c.
References clrBackground, cTheme::Color(), cOsd::DrawRectangle(), Gap, initial, lastSeen, lineHeight, min(), osd, ShowSeenExtent, xc06, xc07, and yc11.
Referenced by Flush().
|
private |
Definition at line 483 of file skinlcars.c.
References cDevice::ActualDevice(), DrawDeviceSignal(), initial, lastSignalDisplay, lastSignalQuality, lastSignalStrength, lineHeight, osd, xc11, xs, yc11, and yc12.
Referenced by Flush().
|
private |
Definition at line 449 of file skinlcars.c.
References clrBackground, cTheme::Color(), tTrackId::description, cOsd::DrawText(), fontOsd, cDevice::GetCurrentAudioTrack(), cFont::GetFont(), cDevice::GetTrack(), lastTrackId, osd, cDevice::PrimaryDevice(), strn0cpy(), xc03, xc07, and yc07.
Referenced by Flush().
|
virtual |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 590 of file skinlcars.c.
References cSkinDisplay::Current(), DrawDate(), DrawDevice(), DrawSeen(), DrawSignal(), DrawTrack(), cEvent::Duration(), cOsd::Flush(), initial, message, osd, present, cEvent::StartTime(), and withInfo.
|
virtual |
< This class is used to display the current channel, together with the present and following EPG event.
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 492 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.
|
virtual |
Sets the Present and Following EPG events.
If either of these is not available, NULL will be given.
Implements cSkinDisplayChannel.
Definition at line 539 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.
|
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 561 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.
|
staticprivate |
Definition at line 327 of file skinlcars.c.
Referenced by SetChannel().
|
staticprivate |
Definition at line 327 of file skinlcars.c.
Referenced by SetChannel().
|
staticprivate |
Definition at line 327 of file skinlcars.c.
Referenced by SetChannel().
|
staticprivate |
Definition at line 327 of file skinlcars.c.
Referenced by SetChannel().
|
staticprivate |
Definition at line 327 of file skinlcars.c.
Referenced by SetChannel().
|
staticprivate |
Definition at line 327 of file skinlcars.c.
Referenced by SetChannel().
|
private |
Definition at line 314 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), SetChannel(), and SetEvents().
|
private |
Definition at line 317 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), DrawDate(), DrawSeen(), DrawSignal(), and Flush().
|
private |
Definition at line 322 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), and DrawDevice().
|
private |
Definition at line 318 of file skinlcars.c.
Referenced by DrawDate().
|
private |
Definition at line 320 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), and DrawDevice().
|
private |
Definition at line 321 of file skinlcars.c.
Referenced by DrawDevice().
|
private |
Definition at line 319 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), DrawSeen(), and SetEvents().
|
private |
Definition at line 325 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), DrawDevice(), DrawSignal(), and SetChannel().
|
private |
Definition at line 324 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), DrawDevice(), and DrawSignal().
|
private |
Definition at line 323 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), DrawDevice(), and DrawSignal().
|
private |
Definition at line 326 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), and DrawTrack().
|
private |
Definition at line 311 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), DrawDate(), DrawSeen(), DrawSignal(), SetChannel(), and SetEvents().
|
private |
Definition at line 315 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), Flush(), and SetMessage().
|
private |
Definition at line 306 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), DrawDate(), DrawDevice(), DrawSeen(), DrawSignal(), DrawTrack(), Flush(), SetChannel(), SetEvents(), SetMessage(), and ~cSkinLCARSDisplayChannel().
|
private |
Definition at line 316 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), Flush(), and SetEvents().
|
private |
Definition at line 313 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), SetChannel(), and ~cSkinLCARSDisplayChannel().
|
private |
Definition at line 312 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), DrawDevice(), and ~cSkinLCARSDisplayChannel().
|
private |
Definition at line 310 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), Flush(), SetChannel(), SetEvents(), and SetMessage().
|
private |
Definition at line 307 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), SetChannel(), and SetEvents().
|
private |
Definition at line 307 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel().
|
private |
Definition at line 307 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), SetChannel(), and SetEvents().
|
private |
Definition at line 307 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), DrawTrack(), SetChannel(), SetEvents(), and SetMessage().
|
private |
Definition at line 307 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel().
|
private |
Definition at line 307 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel().
|
private |
Definition at line 307 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), DrawSeen(), and SetMessage().
|
private |
Definition at line 307 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), DrawSeen(), DrawTrack(), and SetMessage().
|
private |
Definition at line 307 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel().
|
private |
Definition at line 307 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel().
|
private |
Definition at line 307 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), and DrawDevice().
|
private |
Definition at line 307 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), DrawDevice(), and DrawSignal().
|
private |
Definition at line 307 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), and DrawDate().
|
private |
Definition at line 307 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), DrawDate(), SetChannel(), SetEvents(), and SetMessage().
|
private |
Definition at line 307 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel().
|
private |
Definition at line 307 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel().
|
private |
Definition at line 309 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), DrawDevice(), and DrawSignal().
|
private |
Definition at line 308 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), SetChannel(), and SetMessage().
|
private |
Definition at line 308 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), and SetChannel().
|
private |
Definition at line 308 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), SetChannel(), and SetMessage().
|
private |
Definition at line 308 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), and SetEvents().
|
private |
Definition at line 308 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel().
|
private |
Definition at line 308 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), and SetEvents().
|
private |
Definition at line 308 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel().
|
private |
Definition at line 308 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), and DrawTrack().
|
private |
Definition at line 308 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel().
|
private |
Definition at line 308 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel().
|
private |
Definition at line 308 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel().
|
private |
Definition at line 308 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), DrawDate(), DrawDevice(), DrawSeen(), DrawSignal(), and SetMessage().
|
private |
Definition at line 308 of file skinlcars.c.
Referenced by cSkinLCARSDisplayChannel(), DrawDevice(), DrawSignal(), and SetMessage().