Go to the documentation of this file.
53 virtual void SetButtons(
const char *Red,
const char *Green = NULL,
const char *Yellow = NULL,
const char *Blue = NULL) {}
56 virtual void SetMessage(
eMessageType Type,
const char *Text) {}
59 virtual void Flush(
void) {}
174 int Tab(
int n) {
return (n >= 0 && n <
MaxTabs) ?
tabs[n] : 0; }
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;
236 virtual bool SetItemEvent(
const cEvent *Event,
int Index,
bool Current,
bool Selectable,
const cChannel *Channel,
bool WithDate,
eTimerMatch TimerMatch,
bool TimerActive) {
return false; }
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); }
256 virtual bool SetItemTimer(
const cTimer *Timer,
int Index,
bool Current,
bool Selectable) {
return false; }
263 virtual bool SetItemChannel(
const cChannel *Channel,
int Index,
bool Current,
bool Selectable,
bool WithProvider) {
return false; }
272 virtual bool SetItemRecording(
const cRecording *Recording,
int Index,
bool Current,
bool Selectable,
int Level,
int Total,
int New) {
return false; }
298 virtual void SetText(
const char *Text,
bool FixedFont) = 0;
328 void Mark(
int x,
bool Start,
bool Current,
tColor ColorMark,
tColor ColorCurrent);
342 virtual void SetTitle(
const char *Title) = 0;
344 virtual void SetMode(
bool Play,
bool Forward,
int Speed) = 0;
348 virtual void SetProgress(
int Current,
int Total) = 0;
352 virtual void SetCurrent(
const char *Current) = 0;
358 virtual void SetTotal(
const char *Total) = 0;
361 virtual void SetJump(
const char *Jump) = 0;
377 virtual void SetVolume(
int Current,
int Total,
bool Mute) = 0;
386 virtual void SetTrack(
int Index,
const char *
const *Tracks) = 0;
470 bool IsOpen(
void) {
return cSkinDisplay::Current(); }
511 virtual void Clear(
void);
virtual void SetMessage(eMessageType Type, const char *Text)=0
Sets a one line message Text, with the given Type.
virtual void SetChannel(const cChannel *Channel, int Number)=0
Sets the current channel to Channel.
cSkinDisplayChannel(void)
virtual void SetPositioner(const cPositioner *Positioner)
Sets the Positioner used to move the satellite dish.
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...
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 SetTrack(int Index, const char *const *Tracks)=0
< This class implements the track display.
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 cSkinDisplayVolume * DisplayVolume(void)=0
Creates and returns a new object for displaying the current volume.
const cPositioner * positioner
< This class is used to display the current channel, together with the present and following EPG even...
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.
virtual cSkinDisplayMenu * DisplayMenu(void)=0
Creates and returns a new object for displaying a menu.
virtual void SetVolume(int Current, int Total, bool Mute)=0
< This class implements the volume/mute display.
virtual void SetEvents(const cEvent *Present, const cEvent *Following)=0
Sets the Present and Following EPG events.
A steerable satellite dish generally points to the south on the northern hemisphere,...
virtual void SetRecording(const cRecording *Recording)
Sets the recording that is currently being played.
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 SetJump(const char *Jump)=0
Sets the prompt that allows the user to enter a jump point.
cSkin(const char *Name, cTheme *Theme=NULL)
Creates a new skin class, with the given Name and Theme.
virtual cSkinDisplayMessage * DisplayMessage(void)=0
Creates and returns a new object for displaying a message.
static cSkinDisplay * current
void Mark(int x, bool Start, bool Current, tColor ColorMark, tColor ColorCurrent)
virtual void SetAudioChannel(int AudioChannel)=0
Sets the audio channel indicator.
virtual void Clear(void)
Free up all registered skins.
virtual cSkinDisplayReplay * DisplayReplay(bool ModeOnly)=0
Creates and returns a new object for displaying replay progress.
virtual void SetTitle(const char *Title)=0
Sets the title of the recording.
void ProcessQueuedMessages(void)
Processes the first queued message, if any.
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....
const cMarks * marks
< This class implements the progress display used during replay of a recording.
cSkinDisplayMessage * displayMessage
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 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 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 SetMessage(eMessageType Type, const char *Text)=0
Sets a one line message Text, with the given Type.
void Flush(void)
Flushes the currently active cSkinDisplay, if any.
cProgressBar(int Width, int Height, int Current, int Total, const cMarks *Marks, tColor ColorSeen, tColor ColorRest, tColor ColorSelected, tColor ColorMark, tColor ColorCurrent)
virtual void SetMessage(eMessageType Type, const char *Text)=0
< This class implements a simple message display.
virtual cSkinDisplayChannel * DisplayChannel(bool WithInfo)=0
Creates and returns a new object for displaying the current channel.
bool SetCurrent(const char *Name=NULL)
Sets the current skin to the one indicated by name.