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);
212 virtual void Clear(
void) = 0;
214 virtual void SetTitle(
const char *Title) = 0;
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 1
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;
342 virtual void SetTitle(
const char *Title) = 0;
344 virtual void SetMode(
bool Play,
bool Forward,
int Speed) = 0;
358 virtual void SetTotal(
const char *Total) = 0;
361 virtual void SetJump(
const char *Jump) = 0;
386 virtual void SetTrack(
int Index,
const char *
const *Tracks) = 0;
509 virtual void Clear(
void);
virtual void SetMessage(eMessageType Type, const char *Text)=0
< This class implements a simple message display.
static int AvgCharWidth(void)
Returns the average width of a character in pixel (just a raw estimate).
virtual void SetTrack(int Index, const char *const *Tracks)=0
< This class implements the track display.
virtual cSkinDisplayVolume * DisplayVolume(void)=0
Creates and returns a new object for displaying the current volume.
virtual void SetVolume(int Current, int Total, bool Mute)=0
< This class implements the volume/mute display.
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.
void ProcessQueuedMessages(void)
Processes the first queued message, if any.
const cPositioner * positioner
< This class is used to display the current channel, together with the present and following EPG even...
cSkinDisplayMessage * displayMessage
virtual cSkinDisplayMenu * DisplayMenu(void)=0
Creates and returns a new object for displaying a menu.
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...
cSkinDisplayChannel(void)
static cSkinDisplay * Current(void)
Returns the currently active cSkinDisplay.
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 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...
virtual void SetRecording(const cRecording *Recording)
Sets the recording that is currently being played.
static cSkinDisplay * current
A steerable satellite dish generally points to the south on the northern hemisphere, and to the north on the southern hemisphere (unless you're located directly on the equator, in which case the general direction is "up").
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 Flush(void)
Actually draws the OSD display to the output device.
virtual const char * Description(void)=0
Returns a user visible, single line description of this skin, which may consist of arbitrary text and...
virtual void Clear(void)
Free up all registered skins.
cSkin(const char *Name, cTheme *Theme=NULL)
Creates a new skin class, with the given Name and Theme.
virtual cSkinDisplayReplay * DisplayReplay(bool ModeOnly)=0
Creates and returns a new object for displaying replay progress.
void Flush(void)
Flushes the currently active cSkinDisplay, if any.
virtual void SetMessage(eMessageType Type, const char *Text)=0
Sets a one line message Text, with the given Type.
bool IsOpen(void)
Returns true if there is currently a skin display object active.
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 SetEditableWidth(int Width)
If an item is set through a call to cSkinDisplayMenu::SetItem(), this function shall be called to set...
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 SetMessage(eMessageType Type, const char *Text)=0
Sets a one line message Text, with the given Type.
virtual cSkinDisplayMessage * DisplayMessage(void)=0
Creates and returns a new object for displaying a message.
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".
virtual void SetAudioChannel(int AudioChannel)=0
Sets the audio channel indicator.
virtual void SetPositioner(const cPositioner *Positioner)
Sets the Positioner used to move the satellite dish.
void Mark(int x, bool Start, bool Current, tColor ColorMark, tColor ColorCurrent)
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 SetEvents(const cEvent *Present, const cEvent *Following)=0
Sets the Present and Following EPG events.
const cMarks * marks
< This class implements the progress display used during replay of a recording.
virtual void SetTitle(const char *Title)=0
Sets the title of the recording.
cSkin * Current(void)
Returns a pointer to the current skin.
virtual void SetMessage(eMessageType Type, const char *Text)
Sets a one line message Text, with the given Type.
virtual cSkinDisplayTracks * DisplayTracks(const char *Title, int NumTracks, const char *const *Tracks)=0
Creates and returns a new object for displaying the available tracks.
bool SetCurrent(const char *Name=NULL)
Sets the current skin to the one indicated by name.
virtual cSkinDisplayChannel * DisplayChannel(bool WithInfo)=0
Creates and returns a new object for displaying the current channel.
virtual void SetChannel(const cChannel *Channel, int Number)=0
Sets the current channel to Channel.