vdr  2.2.0
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 void SetMenuItem (cSkinDisplayMenu *DisplayMenu, int Index, bool Current, bool Selectable)
 
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
 

Protected Attributes

bool fresh
 

Private Attributes

char * text
 
eOSState state
 
bool selectable
 

Detailed Description

Definition at line 49 of file 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.

Member Function Documentation

eOSState cOsdItem::ProcessKey ( eKeys  Key)
virtual
bool cOsdItem::Selectable ( void  ) const
inline
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(), and Selectable().

void cOsdItem::SetMenuItem ( cSkinDisplayMenu DisplayMenu,
int  Index,
bool  Current,
bool  Selectable 
)
virtual
void cOsdItem::SetSelectable ( bool  Selectable)
void cOsdItem::SetText ( const char *  Text,
bool  Copy = true 
)
const char* cOsdItem::Text ( void  ) const
inline

Member Data Documentation

bool cOsdItem::fresh
protected
bool cOsdItem::selectable
private

Definition at line 53 of file osdbase.h.

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

eOSState cOsdItem::state
private
char* cOsdItem::text
private

Definition at line 51 of file osdbase.h.

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


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