SASC-NG
DVBSoftCAM

cSkinDisplay Class Reference

#include <skins.h>

Inheritance diagram for cSkinDisplay:

List of all members.

Public Member Functions

 cSkinDisplay (void)
virtual ~cSkinDisplay ()
int EditableWidth (void)
void SetEditableWidth (int Width)
virtual void SetButtons (const char *Red, const char *Green=NULL, const char *Yellow=NULL, const char *Blue=NULL)
virtual void SetMessage (eMessageType Type, const char *Text)
virtual void Flush (void)
 Actually draws the OSD display to the output device.

Static Public Member Functions

static cSkinDisplay * Current (void)
 Returns the currently active cSkinDisplay.

Detailed Description

Definition at line 24 of file skins.h.


Constructor & Destructor Documentation

cSkinDisplay::cSkinDisplay ( void  )
virtual cSkinDisplay::~cSkinDisplay ( ) [virtual]

Member Function Documentation

static cSkinDisplay* cSkinDisplay::Current ( void  ) [inline, static]

Returns the currently active cSkinDisplay.

Definition at line 44 of file skins.h.

References NULL.

int cSkinDisplay::EditableWidth ( void  ) [inline]

Definition at line 31 of file skins.h.

{ return editableWidth; }
virtual void cSkinDisplay::Flush ( void  ) [inline, virtual]

Actually draws the OSD display to the output device.

Definition at line 42 of file skins.h.

virtual void cSkinDisplay::SetButtons ( const char *  Red,
const char *  Green = NULL,
const char *  Yellow = NULL,
const char *  Blue = NULL 
) [inline, virtual]

Sets the color buttons to the given strings, provided this cSkinDisplay actually has a color button display.

Reimplemented in cSkinDisplayMenu.

Definition at line 36 of file skins.h.

void cSkinDisplay::SetEditableWidth ( int  Width) [inline]

If an item is set through a call to cSkinDisplayMenu::SetItem(), this function shall be called to set the width of the rightmost tab separated field. This information will be used for editable items.

Definition at line 32 of file skins.h.

virtual void cSkinDisplay::SetMessage ( eMessageType  Type,
const char *  Text 
) [inline, virtual]

Sets a one line message Text, with the given Type. Type can be used to determine, e.g., the colors for displaying the Text.

Reimplemented in cSkinDisplayChannel, cSkinDisplayMenu, cSkinDisplayReplay, and cSkinDisplayMessage.

Definition at line 39 of file skins.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines