vdr 2.6.6
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 48 of file osdbase.h.

Constructor & Destructor Documentation

◆ cOsdItem() [1/2]

cOsdItem::cOsdItem ( eOSState State = osUnknown)

Definition at line 20 of file osdbase.c.

References fresh, selectable, state, and text.

◆ cOsdItem() [2/2]

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, text, and Text().

◆ ~cOsdItem()

cOsdItem::~cOsdItem ( )
virtual

Definition at line 37 of file osdbase.c.

References text.

Member Function Documentation

◆ ProcessKey()

eOSState cOsdItem::ProcessKey ( eKeys Key)
virtual

◆ Selectable()

bool cOsdItem::Selectable ( void ) const
inline

◆ Set()

virtual void cOsdItem::Set ( void )
inlinevirtual

◆ SetFresh()

void cOsdItem::SetFresh ( bool Fresh)

Definition at line 53 of file osdbase.c.

References fresh.

Referenced by cOsdMenu::DisplayCurrent().

◆ SetMenuItem()

void cOsdItem::SetMenuItem ( cSkinDisplayMenu * DisplayMenu,
int Index,
bool Current,
bool Selectable )
virtual

◆ SetSelectable()

void cOsdItem::SetSelectable ( bool Selectable)

◆ SetText()

void cOsdItem::SetText ( const char * Text,
bool Copy = true )

◆ Text()

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

Member Data Documentation

◆ fresh

bool cOsdItem::fresh
protected

◆ selectable

bool cOsdItem::selectable
private

Definition at line 52 of file osdbase.h.

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

◆ state

eOSState cOsdItem::state
private

◆ text

char* cOsdItem::text
private

Definition at line 50 of file osdbase.h.

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


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