vdr
2.2.0
|
Public Member Functions | |
cSkinClassicDisplayChannel (bool WithInfo) | |
virtual | ~cSkinClassicDisplayChannel () |
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) |
![]() | |
cSkinDisplayChannel (void) | |
virtual void | SetPositioner (const cPositioner *Positioner) |
![]() | |
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 | lineHeight |
int | timeWidth |
bool | message |
cString | lastDate |
Additional Inherited Members | |
![]() | |
static int | AvgCharWidth (void) |
static cSkinDisplay * | Current (void) |
Definition at line 77 of file skinclassic.c.
cSkinClassicDisplayChannel::cSkinClassicDisplayChannel | ( | bool | WithInfo | ) |
Definition at line 93 of file skinclassic.c.
References cSetup::AntiAlias, cOsd::CanHandleAreas(), cSetup::ChannelInfoPos, clrBackground, cTheme::Color(), cOsd::DrawRectangle(), fontOsd, cFont::GetFont(), cFont::Height(), cOsd::Height(), lineHeight, message, cOsdProvider::NewOsd(), oeOk, osd, cOsd::OsdHeight(), cOsd::OsdLeft(), cOsd::OsdTop(), cOsd::OsdWidth(), cOsd::SetAreas(), Setup, TextFrame, timeWidth, cFont::Width(), and cOsd::Width().
|
virtual |
Definition at line 111 of file skinclassic.c.
References osd.
|
virtual |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 151 of file skinclassic.c.
References clrBackground, cTheme::Color(), DayDateTime(), cOsd::DrawText(), cOsd::Flush(), cFont::GetFont(), lastDate, message, osd, TextFrame, cFont::Width(), and cOsd::Width().
Referenced by cSkinClassicDisplayTracks::SetAudioChannel().
|
virtual |
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 116 of file skinclassic.c.
References ChannelString(), clrBackground, cTheme::Color(), cOsd::DrawRectangle(), cOsd::DrawText(), fontOsd, cFont::GetFont(), lastDate, lineHeight, osd, TextFrame, and cOsd::Width().
|
virtual |
Sets the Present and Following EPG events.
If either of these is not available, NULL will be given.
Implements cSkinDisplayChannel.
Definition at line 123 of file skinclassic.c.
References clrBackground, cTheme::Color(), cOsd::DrawRectangle(), cOsd::DrawText(), fontOsd, cFont::GetFont(), cEvent::GetTimeString(), cOsd::Height(), lineHeight, osd, cEvent::ShortText(), TextFrame, TextSpacing, timeWidth, cEvent::Title(), and cOsd::Width().
|
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 137 of file skinclassic.c.
References cTheme::Color(), cOsd::DrawText(), fontOsd, cFont::GetFont(), lineHeight, message, osd, cOsd::RestoreRegion(), cOsd::SaveRegion(), taCenter, and cOsd::Width().
|
private |
Definition at line 83 of file skinclassic.c.
Referenced by Flush(), cSkinClassicDisplayMenu::Flush(), and SetChannel().
|
private |
Definition at line 80 of file skinclassic.c.
Referenced by cSkinClassicDisplayChannel(), cSkinClassicDisplayMenu::cSkinClassicDisplayMenu(), cSkinClassicDisplayMessage::cSkinClassicDisplayMessage(), cSkinClassicDisplayReplay::cSkinClassicDisplayReplay(), cSkinClassicDisplayTracks::cSkinClassicDisplayTracks(), cSkinClassicDisplayVolume::cSkinClassicDisplayVolume(), cSkinClassicDisplayMenu::MaxItems(), SetChannel(), SetEvents(), cSkinClassicDisplayMenu::SetItem(), cSkinClassicDisplayTracks::SetItem(), SetMessage(), and cSkinClassicDisplayMenu::SetScrollbar().
|
private |
Definition at line 82 of file skinclassic.c.
Referenced by cSkinClassicDisplayChannel(), Flush(), and SetMessage().
|
private |
Definition at line 79 of file skinclassic.c.
Referenced by cSkinClassicDisplayMenu::Clear(), cSkinClassicDisplayChannel(), cSkinClassicDisplayMenu::cSkinClassicDisplayMenu(), cSkinClassicDisplayMessage::cSkinClassicDisplayMessage(), cSkinClassicDisplayReplay::cSkinClassicDisplayReplay(), cSkinClassicDisplayTracks::cSkinClassicDisplayTracks(), cSkinClassicDisplayVolume::cSkinClassicDisplayVolume(), cSkinClassicDisplayMenu::DrawScrollbar(), cSkinClassicDisplayMenu::DrawTitle(), Flush(), cSkinClassicDisplayMenu::Flush(), cSkinClassicDisplayReplay::Flush(), cSkinClassicDisplayVolume::Flush(), cSkinClassicDisplayTracks::Flush(), cSkinClassicDisplayMessage::Flush(), cSkinClassicDisplayMenu::SetButtons(), SetChannel(), cSkinClassicDisplayReplay::SetCurrent(), cSkinClassicDisplayMenu::SetEvent(), SetEvents(), cSkinClassicDisplayMenu::SetItem(), cSkinClassicDisplayTracks::SetItem(), cSkinClassicDisplayReplay::SetJump(), SetMessage(), cSkinClassicDisplayMenu::SetMessage(), cSkinClassicDisplayReplay::SetMessage(), cSkinClassicDisplayMessage::SetMessage(), cSkinClassicDisplayReplay::SetProgress(), cSkinClassicDisplayMenu::SetRecording(), cSkinClassicDisplayMenu::SetText(), cSkinClassicDisplayReplay::SetTitle(), cSkinClassicDisplayReplay::SetTotal(), cSkinClassicDisplayVolume::SetVolume(), ~cSkinClassicDisplayChannel(), cSkinClassicDisplayMenu::~cSkinClassicDisplayMenu(), cSkinClassicDisplayMessage::~cSkinClassicDisplayMessage(), cSkinClassicDisplayReplay::~cSkinClassicDisplayReplay(), cSkinClassicDisplayTracks::~cSkinClassicDisplayTracks(), and cSkinClassicDisplayVolume::~cSkinClassicDisplayVolume().
|
private |
Definition at line 81 of file skinclassic.c.
Referenced by cSkinClassicDisplayChannel(), and SetEvents().