53 virtual void SetButtons(
const char *Red,
const char *Green = NULL,
const char *Yellow = NULL,
const char *Blue = NULL) {}
193 virtual void SetTabs(
int Tab1,
int Tab2 = 0,
int Tab3 = 0,
int Tab4 = 0,
int Tab5 = 0);
204 virtual void Scroll(
bool Up,
bool Page);
216 virtual void SetButtons(
const char *Red,
const char *Green = NULL,
const char *Yellow = NULL,
const char *Blue = NULL) = 0;
224 virtual void SetItem(
const char *Text,
int Index,
bool Current,
bool Selectable) = 0;
247 #ifndef DEPRECATED_SKIN_SETITEMEVENT
248 #define DEPRECATED_SKIN_SETITEMEVENT 0
250 #if DEPRECATED_SKIN_SETITEMEVENT
251 virtual bool SetItemEvent(
const cEvent *Event,
int Index,
bool Current,
bool Selectable,
const cChannel *Channel,
bool WithDate,
eTimerMatch TimerMatch) {
return SetItemEvent(Event, Index,
Current, Selectable, Channel, WithDate, TimerMatch,
true); }
298 virtual void SetText(
const char *Text,
bool FixedFont) = 0;
344 virtual void SetMode(
bool Play,
bool Forward,
int Speed) = 0;
386 virtual void SetTrack(
int Index,
const char *
const *Tracks) = 0;
511 virtual void Clear(
void);
A steerable satellite dish generally points to the south on the northern hemisphere,...
virtual void SetEvents(const cEvent *Present, const cEvent *Following)=0
Sets the Present and Following EPG events.
virtual void SetPositioner(const cPositioner *Positioner)
Sets the Positioner used to move the satellite dish.
cSkinDisplayChannel(void)
const cPositioner * positioner
< This class is used to display the current channel, together with the present and following EPG even...
virtual void SetChannel(const cChannel *Channel, int Number)=0
Sets the current channel to Channel.
virtual void SetMessage(eMessageType Type, const char *Text)=0
Sets a one line message Text, with the given Type.
virtual void SetMessage(eMessageType Type, const char *Text)=0
< This class implements a simple message display.
void Mark(int x, bool Start, bool Current, tColor ColorMark, tColor ColorCurrent)
cProgressBar(int Width, int Height, int Current, int Total, const cMarks *Marks, tColor ColorSeen, tColor ColorRest, tColor ColorSelected, tColor ColorMark, tColor ColorCurrent)
virtual void SetJump(const char *Jump)=0
Sets the prompt that allows the user to enter a jump point.
virtual void SetMarks(const cMarks *Marks)
Sets the editing marks to Marks, which shall be used to display the progress bar through a cProgressB...
virtual void SetTitle(const char *Title)=0
Sets the title of the recording.
virtual void SetRecording(const cRecording *Recording)
Sets the recording that is currently being played.
virtual void SetCurrent(const char *Current)=0
Sets the current position within the recording, as a user readable string if the form "h:mm:ss....
virtual void SetProgress(int Current, int Total)=0
This function will be called whenever the position in or the total length of the recording has change...
virtual void SetMode(bool Play, bool Forward, int Speed)=0
Sets the current replay mode, which can be used to display some indicator, showing the user whether w...
virtual void SetMessage(eMessageType Type, const char *Text)=0
Sets a one line message Text, with the given Type.
virtual void SetTotal(const char *Total)=0
Sets the total length of the recording, as a user readable string if the form "h:mm:ss".
const cMarks * marks
< This class implements the progress display used during replay of a recording.
virtual void SetAudioChannel(int AudioChannel)=0
Sets the audio channel indicator.
virtual void SetTrack(int Index, const char *const *Tracks)=0
< This class implements the track display.
virtual void SetVolume(int Current, int Total, bool Mute)=0
< This class implements the volume/mute display.
static cSkinDisplay * current
virtual void Flush(void)
Actually draws the OSD display to the output device.
static cSkinDisplay * Current(void)
Returns the currently active cSkinDisplay.
void SetEditableWidth(int Width)
If an item is set through a call to cSkinDisplayMenu::SetItem(), this function shall be called to set...
virtual void SetMessage(eMessageType Type, const char *Text)
Sets a one line message Text, with the given Type.
virtual void SetButtons(const char *Red, const char *Green=NULL, const char *Yellow=NULL, const char *Blue=NULL)
Sets the color buttons to the given strings, provided this cSkinDisplay actually has a color button d...
static int AvgCharWidth(void)
Returns the average width of a character in pixel (just a raw estimate).
virtual cSkinDisplayVolume * DisplayVolume(void)=0
Creates and returns a new object for displaying the current volume.
virtual cSkinDisplayReplay * DisplayReplay(bool ModeOnly)=0
Creates and returns a new object for displaying replay progress.
virtual cSkinDisplayMessage * DisplayMessage(void)=0
Creates and returns a new object for displaying a message.
virtual cSkinDisplayMenu * DisplayMenu(void)=0
Creates and returns a new object for displaying a menu.
cSkin(const char *Name, cTheme *Theme=NULL)
Creates a new skin class, with the given Name and Theme.
virtual cSkinDisplayChannel * DisplayChannel(bool WithInfo)=0
Creates and returns a new object for displaying the current channel.
virtual cSkinDisplayTracks * DisplayTracks(const char *Title, int NumTracks, const char *const *Tracks)=0
Creates and returns a new object for displaying the available tracks.
virtual const char * Description(void)=0
Returns a user visible, single line description of this skin, which may consist of arbitrary text and...
bool IsOpen(void)
Returns true if there is currently a skin display object active.
bool SetCurrent(const char *Name=NULL)
Sets the current skin to the one indicated by name.
eKeys Message(eMessageType Type, const char *s, int Seconds=0)
Displays the given message, either through a currently visible display object that is capable of doin...
void Flush(void)
Flushes the currently active cSkinDisplay, if any.
cSkin * Current(void)
Returns a pointer to the current skin.
virtual void Clear(void)
Free up all registered skins.
cSkinDisplayMessage * displayMessage
void ProcessQueuedMessages(void)
Processes the first queued message, if any.
int QueueMessage(eMessageType Type, const char *s, int Seconds=0, int Timeout=0)
Like Message(), but this function may be called from a background thread.