cSkinDisplay Class Reference

#include <skins.h>

Inheritance diagram for cSkinDisplay:

Inheritance graph
Collaboration diagram for cSkinDisplay:

Collaboration graph

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 cSkinDisplayCurrent (void)
 Returns the currently active cSkinDisplay.

Private Attributes

int editableWidth

Static Private Attributes

static cSkinDisplaycurrent = NULL

Detailed Description

Definition at line 24 of file skins.h.

Constructor & Destructor Documentation

cSkinDisplay::cSkinDisplay ( void   ) 

Definition at line 55 of file skins.c.

References current, and editableWidth.

cSkinDisplay::~cSkinDisplay (  )  [virtual]

Definition at line 61 of file skins.c.

References current.

Member Function Documentation

int cSkinDisplay::EditableWidth ( void   )  [inline]

Definition at line 31 of file skins.h.

References editableWidth.

Referenced by cMenuEditStrItem::Set().

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.

References editableWidth.

Referenced by cSkinSTTNGDisplayMenu::SetItem(), cSkinClassicDisplayMenu::SetItem(), and cSkinCursesDisplayMenu::SetItem().

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 cSkinCursesDisplayMenu, cSkinClassicDisplayMenu, cSkinDisplayMenu, and cSkinSTTNGDisplayMenu.

Definition at line 36 of file skins.h.

Referenced by cMenuEditStrItem::SetHelpKeys().

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

virtual void cSkinDisplay::Flush ( void   )  [inline, virtual]

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

Returns the currently active cSkinDisplay.

Definition at line 44 of file skins.h.

References current.

Referenced by cSkins::Flush(), cSkins::IsOpen(), cSkins::Message(), cMenuEditStrItem::Set(), and cMenuEditStrItem::SetHelpKeys().

Member Data Documentation

cSkinDisplay * cSkinDisplay::current = NULL [static, private]

Definition at line 26 of file skins.h.

Referenced by cSkinDisplay(), Current(), and ~cSkinDisplay().

Definition at line 27 of file skins.h.

Referenced by cSkinDisplay(), EditableWidth(), and SetEditableWidth().

The documentation for this class was generated from the following files:

Generated on Tue Jan 13 14:32:23 2009 for VDR by  doxygen 1.5.6