vdr
2.6.9
|
#include <skins.h>
Public Member Functions | |
cSkinDisplayChannel (void) | |
virtual void | SetChannel (const cChannel *Channel, int Number)=0 |
virtual void | SetEvents (const cEvent *Present, const cEvent *Following)=0 |
virtual void | SetMessage (eMessageType Type, const char *Text)=0 |
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) |
virtual void | Flush (void) |
Private Attributes | |
const cPositioner * | positioner |
Additional Inherited Members | |
![]() | |
static int | AvgCharWidth (void) |
static cSkinDisplay * | Current (void) |
cSkinDisplayChannel::cSkinDisplayChannel | ( | void | ) |
Definition at line 68 of file skins.c.
References positioner.
|
pure 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.
Implemented in cSkinSTTNGDisplayChannel, cSkinLCARSDisplayChannel, cSkinClassicDisplayChannel, and cSkinCursesDisplayChannel.
Referenced by cDisplayChannel::DisplayChannel().
|
pure virtual |
Sets the Present and Following EPG events.
If either of these is not available, NULL will be given.
Implemented in cSkinSTTNGDisplayChannel, cSkinLCARSDisplayChannel, cSkinClassicDisplayChannel, and cSkinCursesDisplayChannel.
Referenced by cDisplayChannel::DisplayInfo(), and cDisplayChannel::Refresh().
|
pure 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.
Reimplemented from cSkinDisplay.
Implemented in cSkinSTTNGDisplayChannel, cSkinLCARSDisplayChannel, cSkinClassicDisplayChannel, and cSkinCursesDisplayChannel.
Referenced by SetPositioner().
|
virtual |
Sets the Positioner used to move the satellite dish.
The skin may use the data provided by Positioner to implement some form of progress display, since moving the dish may take a while. This function will only be called if the device receiving the current live channel actually uses a positioner, and it will be called with NULL once the dish has reached its target position (or the user switches to a channel that doesn't require positioning the dish). While the dish is moving, SetPositioner() is called repeatedly, so the skin has a chance to update the progress display. The default implementation calls SetMessage() with a text that indicates that the dish is being moved to a new position.
Reimplemented in cSkinLCARSDisplayChannel.
Definition at line 73 of file skins.c.
References mtInfo, positioner, SetMessage(), cString::sprintf(), cPositioner::TargetLongitude(), and tr.
Referenced by cDisplayChannel::ProcessKey().
|
private |
< 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.
Definition at line 70 of file skins.h.
Referenced by cSkinDisplayChannel(), and SetPositioner().