53 virtual void SetButtons(
const char *Red,
const char *Green = NULL,
const char *Yellow = NULL,
const char *Blue = NULL) {}
73 virtual void SetChannel(
const cChannel *Channel,
int Number) = 0;
77 virtual void SetEvents(
const cEvent *Present,
const cEvent *Following) = 0;
85 virtual void SetPositioner(
const cPositioner *Positioner);
168 enum { MaxTabs = 6 };
174 int Tab(
int n) {
return (n >= 0 && n < MaxTabs) ? tabs[n] : 0; }
177 const char *GetTabbedText(
const char *s,
int Tab);
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);
210 virtual int MaxItems(
void) = 0;
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); }
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; }
283 virtual void SetScrollbar(
int Total,
int Offset);
288 virtual void SetEvent(
const cEvent *Event) = 0;
293 virtual void SetRecording(
const cRecording *Recording) = 0;
298 virtual void SetText(
const char *Text,
bool FixedFont) = 0;
304 virtual int GetTextAreaWidth(
void)
const;
310 virtual const cFont *GetTextAreaFont(
bool FixedFont)
const;
327 int Pos(
int p) {
return int(int64_t(p) * Width() / total); }
334 virtual void SetMarks(
const cMarks *Marks);
337 virtual void SetRecording(
const cRecording *Recording);
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;
389 virtual void SetAudioChannel(
int AudioChannel) = 0;
421 const char *
Name(
void) {
return name; }
423 virtual const char *Description(
void) = 0;
446 virtual cSkinDisplayTracks *DisplayTracks(
const char *Title,
int NumTracks,
const char *
const *Tracks) = 0;
465 bool SetCurrent(
const char *Name = NULL);
480 int QueueMessage(
eMessageType Type,
const char *s,
int Seconds = 0,
int Timeout = 0);
505 void ProcessQueuedMessages(
void);
509 virtual void Clear(
void);
static int AvgCharWidth(void)
Returns the average width of a character in pixel (just a raw estimate).
const cPositioner * positioner
< This class is used to display the current channel, together with the present and following EPG even...
cSkinDisplayMessage * displayMessage
static cSkinDisplay * Current(void)
Returns the currently active cSkinDisplay.
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 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 Flush(void)
Actually draws the OSD display to the output device.
bool IsOpen(void)
Returns true if there is currently a skin display object active.
void SetEditableWidth(int Width)
If an item is set through a call to cSkinDisplayMenu::SetItem(), this function shall be called to set...
const cMarks * marks
< This class implements the progress display used during replay of a 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.