vdr  1.7.31
Public Member Functions | Protected Attributes | Private Attributes | List of all members
cOsdItem Class Reference

#include <osdbase.h>

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)
- Public Member Functions inherited from cListObject
 cListObject (void)
virtual ~cListObject ()
virtual int Compare (const cListObject &ListObject) const
void Append (cListObject *Object)
void Insert (cListObject *Object)
void Unlink (void)
int Index (void) const
cListObjectPrev (void) const
cListObjectNext (void) const
 cListObject (void)
virtual ~cListObject ()
virtual int Compare (const cListObject &ListObject) const
void Append (cListObject *Object)
void Insert (cListObject *Object)
void Unlink (void)
int Index (void) const
cListObjectPrev (void) const
cListObjectNext (void) const

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

cOsdItem::cOsdItem ( eOSState  State = osUnknown)

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 ( eOSState  State = osUnknown)
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  )
inlinevirtual
virtual void cOsdItem::Set ( void  )
inlinevirtual
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().

eOSState cOsdItem::state
private
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: