vdr  1.7.27
Public Member Functions | Protected Attributes | Private Attributes
cOsdItem Class Reference

#include <osdbase.h>

List of all members.

Public Member Functions

 cOsdItem (eOSState State=osUnknown)
 cOsdItem (const char *Text, eOSState State=osUnknown, bool Selectable=true)
virtual ~cOsdItem ()
bool Selectable (void) const
void SetText (const char *Text, bool Copy=true)
void SetSelectable (bool Selectable)
void SetFresh (bool Fresh)
const char * Text (void) const
virtual void Set (void)
virtual eOSState ProcessKey (eKeys Key)
 cOsdItem (eOSState State=osUnknown)
 cOsdItem (const char *Text, eOSState State=osUnknown, bool Selectable=true)
virtual ~cOsdItem ()
bool Selectable (void) const
void SetText (const char *Text, bool Copy=true)
void SetSelectable (bool Selectable)
void SetFresh (bool Fresh)
const char * Text (void) const
virtual void Set (void)
virtual eOSState ProcessKey (eKeys Key)

Protected Attributes

bool fresh

Private Attributes

char * text
eOSState state
bool selectable

Detailed Description

Definition at line 50 of file include/vdr/osdbase.h.


Constructor & Destructor Documentation

Definition at line 20 of file osdbase.c.

References fresh, selectable, state, and text.

cOsdItem::cOsdItem ( const char *  Text,
eOSState  State = osUnknown,
bool  Selectable = true 
)

Definition at line 28 of file osdbase.c.

References fresh, selectable, Selectable(), SetText(), state, and text.

cOsdItem::~cOsdItem ( ) [virtual]

Definition at line 37 of file osdbase.c.

References text.

cOsdItem::cOsdItem ( const char *  Text,
eOSState  State = osUnknown,
bool  Selectable = true 
)
virtual cOsdItem::~cOsdItem ( ) [virtual]

Member Function Documentation

eOSState cOsdItem::ProcessKey ( eKeys  Key) [virtual]
virtual eOSState cOsdItem::ProcessKey ( eKeys  Key) [virtual]
bool cOsdItem::Selectable ( void  ) const [inline]

Definition at line 61 of file osdbase.h.

References selectable.

bool cOsdItem::Selectable ( void  ) const [inline]
virtual void cOsdItem::Set ( void  ) [inline, virtual]
virtual void cOsdItem::Set ( void  ) [inline, virtual]
void cOsdItem::SetFresh ( bool  Fresh)

Definition at line 53 of file osdbase.c.

References fresh.

Referenced by cOsdMenu::DisplayCurrent().

void cOsdItem::SetFresh ( bool  Fresh)
void cOsdItem::SetSelectable ( bool  Selectable)
void cOsdItem::SetSelectable ( bool  Selectable)
void cOsdItem::SetText ( const char *  Text,
bool  Copy = true 
)
void cOsdItem::SetText ( const char *  Text,
bool  Copy = true 
)
const char* cOsdItem::Text ( void  ) const [inline]

Definition at line 65 of file osdbase.h.

References text.

const char* cOsdItem::Text ( void  ) const [inline]

Member Data Documentation

bool cOsdItem::fresh [protected]
bool cOsdItem::selectable [private]

Definition at line 54 of file include/vdr/osdbase.h.

Referenced by cOsdItem(), Selectable(), and SetSelectable().

char * cOsdItem::text [private]

Definition at line 52 of file include/vdr/osdbase.h.

Referenced by cOsdItem(), SetText(), Text(), and ~cOsdItem().


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