40 virtual void SetButtons(
const char *Red,
const char *Green = NULL,
const char *Yellow = NULL,
const char *Blue = NULL) {}
60 virtual void SetChannel(
const cChannel *Channel,
int Number) = 0;
64 virtual void SetEvents(
const cEvent *Present,
const cEvent *Following) = 0;
72 virtual void SetPositioner(
const cPositioner *Positioner);
150 enum { MaxTabs = 6 };
156 int Tab(
int n) {
return (n >= 0 && n < MaxTabs) ? tabs[n] : 0; }
159 const char *GetTabbedText(
const char *s,
int Tab);
175 virtual void SetTabs(
int Tab1,
int Tab2 = 0,
int Tab3 = 0,
int Tab4 = 0,
int Tab5 = 0);
182 virtual void Scroll(
bool Up,
bool Page);
188 virtual int MaxItems(
void) = 0;
190 virtual void Clear(
void) = 0;
192 virtual void SetTitle(
const char *Title) = 0;
194 virtual void SetButtons(
const char *Red,
const char *Green = NULL,
const char *Yellow = NULL,
const char *Blue = NULL) = 0;
202 virtual void SetItem(
const char *Text,
int Index,
bool Current,
bool Selectable) = 0;
224 virtual bool SetItemTimer(
const cTimer *Timer,
int Index,
bool Current,
bool Selectable) {
return false; }
231 virtual bool SetItemChannel(
const cChannel *Channel,
int Index,
bool Current,
bool Selectable,
bool WithProvider) {
return false; }
240 virtual bool SetItemRecording(
const cRecording *Recording,
int Index,
bool Current,
bool Selectable,
int Level,
int Total,
int New) {
return false; }
251 virtual void SetScrollbar(
int Total,
int Offset);
256 virtual void SetEvent(
const cEvent *Event) = 0;
261 virtual void SetRecording(
const cRecording *Recording) = 0;
266 virtual void SetText(
const char *Text,
bool FixedFont) = 0;
272 virtual int GetTextAreaWidth(
void)
const;
278 virtual const cFont *GetTextAreaFont(
bool FixedFont)
const;
295 int Pos(
int p) {
return int(int64_t(p) * Width() / total); }
302 virtual void SetMarks(
const cMarks *Marks);
305 virtual void SetRecording(
const cRecording *Recording);
310 virtual void SetTitle(
const char *Title) = 0;
312 virtual void SetMode(
bool Play,
bool Forward,
int Speed) = 0;
316 virtual void SetProgress(
int Current,
int Total) = 0;
320 virtual void SetCurrent(
const char *Current) = 0;
326 virtual void SetTotal(
const char *Total) = 0;
329 virtual void SetJump(
const char *Jump) = 0;
345 virtual void SetVolume(
int Current,
int Total,
bool Mute) = 0;
354 virtual void SetTrack(
int Index,
const char *
const *Tracks) = 0;
357 virtual void SetAudioChannel(
int AudioChannel) = 0;
389 const char *
Name(
void) {
return name; }
391 virtual const char *Description(
void) = 0;
414 virtual cSkinDisplayTracks *DisplayTracks(
const char *Title,
int NumTracks,
const char *
const *Tracks) = 0;
433 bool SetCurrent(
const char *Name = NULL);
448 int QueueMessage(
eMessageType Type,
const char *s,
int Seconds = 0,
int Timeout = 0);
473 void ProcessQueuedMessages(
void);
477 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.