vdr
2.4.1
|
Public Member Functions | |
cSkinCursesDisplayChannel (bool WithInfo) | |
virtual | ~cSkinCursesDisplayChannel () |
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) |
Private Attributes | |
cOsd * | osd |
int | timeWidth |
bool | message |
Definition at line 197 of file skincurses.c.
cSkinCursesDisplayChannel::cSkinCursesDisplayChannel | ( | bool | WithInfo | ) |
Definition at line 211 of file skincurses.c.
References cSetup::ChannelInfoPos, clrBackground, cOsd::DrawRectangle(), message, osd, ScOsdHeight, ScOsdWidth, Setup, and timeWidth.
|
virtual |
Definition at line 220 of file skincurses.c.
References osd.
|
virtual |
Definition at line 258 of file skincurses.c.
References clrBackground, clrWhite, DayDateTime(), cOsd::DrawText(), cOsd::Flush(), Font, message, osd, ScOsdWidth, and Utf8StrLen().
|
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 225 of file skincurses.c.
References ChannelString(), clrBackground, clrWhite, cOsd::DrawRectangle(), cOsd::DrawText(), Font, osd, and ScOsdWidth.
|
virtual |
Sets the Present and Following EPG events.
If either of these is not available, NULL will be given.
Implements cSkinDisplayChannel.
Definition at line 231 of file skincurses.c.
References clrBackground, clrCyan, clrRed, clrWhite, clrYellow, cOsd::DrawRectangle(), cOsd::DrawText(), Font, cEvent::GetTimeString(), osd, ScOsdWidth, cEvent::ShortText(), timeWidth, and cEvent::Title().
|
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 245 of file skincurses.c.
References clrMessage, cOsd::DrawText(), Font, message, osd, cOsd::RestoreRegion(), cOsd::SaveRegion(), ScOsdWidth, and taCenter.
|
private |
Definition at line 201 of file skincurses.c.
Referenced by cSkinCursesDisplayChannel(), Flush(), and SetMessage().
|
private |
Definition at line 199 of file skincurses.c.
Referenced by cSkinCursesDisplayChannel(), Flush(), SetChannel(), SetEvents(), SetMessage(), and ~cSkinCursesDisplayChannel().
|
private |
Definition at line 200 of file skincurses.c.
Referenced by cSkinCursesDisplayChannel(), and SetEvents().