cSkinDisplay Class Reference

#include <skins.h>

Inheritance diagram for cSkinDisplay:

Inheritance graph
[legend]
Collaboration diagram for cSkinDisplay:

Collaboration graph
[legend]

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]

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 cSkinCursesDisplayChannel, cSkinCursesDisplayMenu, cSkinCursesDisplayReplay, cSkinCursesDisplayMessage, cSkinClassicDisplayChannel, cSkinClassicDisplayMenu, cSkinClassicDisplayReplay, cSkinClassicDisplayMessage, cSkinDisplayChannel, cSkinDisplayMenu, cSkinDisplayReplay, cSkinDisplayMessage, cSkinSTTNGDisplayChannel, cSkinSTTNGDisplayMenu, cSkinSTTNGDisplayReplay, and cSkinSTTNGDisplayMessage.

Definition at line 39 of file skins.h.

Referenced by cSkins::Message().

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

Actually draws the OSD display to the output device.

Reimplemented in cSkinCursesDisplayChannel, cSkinCursesDisplayMenu, cSkinCursesDisplayReplay, cSkinCursesDisplayVolume, cSkinCursesDisplayTracks, cSkinCursesDisplayMessage, cSkinClassicDisplayChannel, cSkinClassicDisplayMenu, cSkinClassicDisplayReplay, cSkinClassicDisplayVolume, cSkinClassicDisplayTracks, cSkinClassicDisplayMessage, cSkinSTTNGDisplayChannel, cSkinSTTNGDisplayMenu, cSkinSTTNGDisplayReplay, cSkinSTTNGDisplayVolume, cSkinSTTNGDisplayTracks, and cSkinSTTNGDisplayMessage.

Definition at line 42 of file skins.h.

Referenced by cDisplayChannel::cDisplayChannel(), cSkins::Flush(), cSkins::Message(), cDisplayChannel::ProcessKey(), cInterface::QueryKeys(), cDisplayTracks::Show(), and cReplayControl::ShowProgress().

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().

int cSkinDisplay::editableWidth [private]

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 Nov 6 20:27:54 2007 for VDR by  doxygen 1.5.3-20071008