|
SASC
DVBSoftCAM
|
#include <osdbase.h>
Inheritance diagram for cOsdItem:Public Member Functions | |
| cOsdItem (eOSState State=osUnknown) | |
| cOsdItem (const char *Text, eOSState State=osUnknown, bool Selectable=true) | |
| virtual | ~cOsdItem () |
| bool | Selectable (void) |
| void | SetText (const char *Text, bool Copy=true) |
| void | SetSelectable (bool Selectable) |
| void | SetFresh (bool Fresh) |
| const char * | Text (void) |
| virtual void | Set (void) |
| virtual eOSState | ProcessKey (eKeys Key) |
Protected Attributes | |
| bool | fresh |
| cOsdItem::cOsdItem | ( | eOSState | State = osUnknown | ) |
| cOsdItem::cOsdItem | ( | const char * | Text, |
| eOSState | State = osUnknown, |
||
| bool | Selectable = true |
||
| ) |
Definition at line 27 of file osdbase.cpp.
References fresh, NULL, Selectable(), and SetText().
{
text = NULL;
state = State;
selectable = Selectable;
fresh = true;
SetText(Text);
}
| cOsdItem::~cOsdItem | ( | ) | [virtual] |
Reimplemented in cMenuEditIntItem, cMenuEditNumItem, cMenuEditChrItem, cMenuEditStrItem, cMenuEditChanItem, cMenuEditTranItem, cMenuEditDateItem, cMenuEditTimeItem, cMenuEditCapItem, cMenuEditHexItem, cMenuEditCapItem, and cMenuEditHexItem.
Definition at line 57 of file osdbase.cpp.
References kOk, and osUnknown.
Referenced by cMenuSetupSc::ProcessKey(), and cMenuSysOpts::ProcessKey().
| bool cOsdItem::Selectable | ( | void | ) | [inline] |
Definition at line 60 of file osdbase.h.
Referenced by cOsdItem(), and SetSelectable().
{ return selectable; }
| virtual void cOsdItem::Set | ( | void | ) | [inline, virtual] |
Reimplemented in cMenuEditIntItem, cMenuEditBoolItem, cMenuEditBitItem, cMenuEditNumItem, cMenuEditStraItem, cMenuEditChanItem, cMenuEditTimeItem, cMenuEditCapItem, cMenuEditHexItem, cMenuEditCapItem, and cMenuEditHexItem.
Definition at line 65 of file osdbase.h.
{}
| void cOsdItem::SetFresh | ( | bool | Fresh | ) |
| void cOsdItem::SetSelectable | ( | bool | Selectable | ) |
Definition at line 47 of file osdbase.cpp.
References Selectable().
Referenced by cScInfoItem::cScInfoItem().
{
selectable = Selectable;
}
| void cOsdItem::SetText | ( | const char * | Text, |
| bool | Copy = true |
||
| ) |
Definition at line 41 of file osdbase.cpp.
References free.
Referenced by cLogModItem::cLogModItem(), cOsdItem(), and cMenuEditItem::SetValue().
| const char* cOsdItem::Text | ( | void | ) | [inline] |
bool cOsdItem::fresh [protected] |
Definition at line 55 of file osdbase.h.
Referenced by cOsdItem(), cMenuEditHexItem::ProcessKey(), cMenuEditIntItem::ProcessKey(), and SetFresh().