cOsdItem Class Reference

#include <osdbase.h>

Inheritance diagram for cOsdItem:

Inheritance graph
Collaboration diagram for cOsdItem:

Collaboration graph

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)

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 19 of file osdbase.c.

References fresh, selectable, state, and text.

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

Definition at line 27 of file osdbase.c.

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

Here is the call graph for this function:

cOsdItem::~cOsdItem (  )  [virtual]

Definition at line 36 of file osdbase.c.

References text.

Member Function Documentation

bool cOsdItem::Selectable ( void   )  const [inline]

Definition at line 60 of file osdbase.h.

References selectable.

Referenced by cOsdMenu::DisplayCurrent(), cOsdMenu::DisplayItem(), and cOsdMenu::SelectableItem().

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

void cOsdItem::SetSelectable ( bool  Selectable  ) 

Definition at line 47 of file osdbase.c.

References selectable.

Referenced by cMenuCam::AddMultiLineItem(), and cMenuChannelItem::cMenuChannelItem().

void cOsdItem::SetFresh ( bool  Fresh  ) 

Definition at line 52 of file osdbase.c.

References fresh.

Referenced by cOsdMenu::DisplayCurrent().

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

virtual void cOsdItem::Set ( void   )  [inline, virtual]

eOSState cOsdItem::ProcessKey ( eKeys  Key  )  [virtual]

Member Data Documentation

char* cOsdItem::text [private]

Definition at line 51 of file osdbase.h.

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

bool cOsdItem::selectable [private]

Definition at line 53 of file osdbase.h.

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

bool cOsdItem::fresh [protected]

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

Generated on Tue Jan 13 14:30:39 2009 for VDR by  doxygen 1.5.6