vdr
2.2.0
|
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) |
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 | timeWidth |
bool | message |
Additional Inherited Members | |
![]() | |
static int | AvgCharWidth (void) |
static cSkinDisplay * | Current (void) |
Definition at line 191 of file skincurses.c.
cSkinCursesDisplayChannel::cSkinCursesDisplayChannel | ( | bool | WithInfo | ) |
Definition at line 205 of file skincurses.c.
References cCursesOsd::cCursesOsd(), cSetup::ChannelInfoPos, clrBackground, ScOsdHeight, ScOsdWidth, and Setup.
|
virtual |
Definition at line 214 of file skincurses.c.
|
virtual |
Actually draws the OSD display to the output device.
Reimplemented from cSkinDisplay.
Definition at line 252 of file skincurses.c.
References clrBackground, clrWhite, DayDateTime(), 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 219 of file skincurses.c.
References ChannelString(), clrBackground, clrWhite, 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 225 of file skincurses.c.
References clrBackground, clrCyan, clrRed, clrWhite, clrYellow, Font, cEvent::GetTimeString(), ScOsdWidth, cEvent::ShortText(), 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 239 of file skincurses.c.
References clrMessage, ScOsdWidth, and taCenter.
|
private |
Definition at line 195 of file skincurses.c.
|
private |
Definition at line 193 of file skincurses.c.
|
private |
Definition at line 194 of file skincurses.c.