vdr
2.2.0
|
#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) |
![]() | |
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 |
cListObject * | Prev (void) const |
cListObject * | Next (void) const |
Protected Attributes | |
bool | fresh |
Private Attributes | |
char * | text |
eOSState | state |
bool | selectable |
Definition at line 28 of file osdbase.c.
References fresh, selectable, Selectable(), SetText(), state, and text.
Reimplemented in cMenuEditMapItem, cMenuEditTimeItem, cMenuEditDateItem, cMenuEditTranItem, cMenuEditChanItem, cMenuEditStrItem, cMenuEditChrItem, cMenuEditSrcItem, cMenuEditPrcItem, cMenuEditIntxItem, cMenuEditNumItem, cMenuEditCaItem, and cMenuEditIntItem.
Definition at line 63 of file osdbase.c.
References kOk, osUnknown, and state.
Referenced by cOsdMenu::Current(), cMenuEditStrItem::InEditMode(), cMenuEditIntItem::ProcessKey(), cMenuEditCaItem::ProcessKey(), cMenuEditNumItem::ProcessKey(), cMenuEditPrcItem::ProcessKey(), cMenuEditSrcItem::ProcessKey(), cMenuEditChrItem::ProcessKey(), cMenuEditStrItem::ProcessKey(), cOsdMenu::ProcessKey(), cMenuEditDateItem::ProcessKey(), cMenuEditTimeItem::ProcessKey(), cMenuEditMapItem::ProcessKey(), and Set().
|
inline |
Definition at line 60 of file osdbase.h.
References selectable, SetFresh(), SetSelectable(), SetText(), and Text().
Referenced by cOsdItem(), cOsdMenu::Display(), cOsdMenu::DisplayCurrent(), cOsdMenu::DisplayItem(), cOsdMenu::SelectableItem(), and SetSelectable().
|
inlinevirtual |
Reimplemented in cMenuTimerItem, cMenuChannelItem, cMenuEditMapItem, cMenuEditTimeItem, cMenuEditDateItem, cMenuEditChanItem, cMenuEditStraItem, cMenuEditStrItem, cMenuEditSrcItem, cMenuEditChrItem, cMenuEditPrcItem, cMenuEditIntxItem, cMenuEditNumItem, cMenuEditCaItem, cMenuEditBitItem, cMenuEditBoolItem, and cMenuEditIntItem.
Definition at line 65 of file osdbase.h.
References cListObject::Index(), ProcessKey(), and SetMenuItem().
Referenced by cOsdMenu::RefreshCurrent().
void cOsdItem::SetFresh | ( | bool | Fresh | ) |
Definition at line 53 of file osdbase.c.
References fresh.
Referenced by cOsdMenu::DisplayCurrent(), and Selectable().
|
virtual |
Reimplemented in cMenuRecordingItem, cMenuScheduleItem, cMenuTimerItem, and cMenuChannelItem.
Definition at line 58 of file osdbase.c.
References cSkinDisplayMenu::SetItem(), and Text().
Referenced by cOsdMenu::DisplayCurrent(), cOsdMenu::DisplayItem(), and Set().
void cOsdItem::SetSelectable | ( | bool | Selectable | ) |
Definition at line 48 of file osdbase.c.
References selectable, and Selectable().
Referenced by cMenuCam::AddMultiLineItem(), cMenuEditFolder::cMenuEditFolder(), cMenuPathEdit::cMenuPathEdit(), Selectable(), cMenuFolder::Set(), and cMenuRecordingEdit::Set().
void cOsdItem::SetText | ( | const char * | Text, |
bool | Copy = true |
||
) |
Definition at line 42 of file osdbase.c.
References text.
Referenced by cMenuCam::AddMultiLineItem(), cMenuFolderItem::cMenuFolderItem(), cOsdItem(), Selectable(), cMenuEditItem::SetValue(), cHdffMenu::SetVideoConversion(), and cMenuMain::Update().
|
inline |
Definition at line 64 of file osdbase.h.
References text.
Referenced by cOsdMenu::DisplayCurrent(), cOsdMenu::DisplayItem(), cMenuMain::ProcessKey(), Selectable(), cMenuRecordings::Set(), and SetMenuItem().
|
protected |
Definition at line 55 of file osdbase.h.
Referenced by cOsdItem(), cMenuEditIntItem::ProcessKey(), cMenuEditPrcItem::ProcessKey(), cMenuEditTimeItem::ProcessKey(), and SetFresh().
|
private |
Definition at line 53 of file osdbase.h.
Referenced by cOsdItem(), Selectable(), and SetSelectable().
|
private |
Definition at line 52 of file osdbase.h.
Referenced by cOsdItem(), cMenuEditIntItem::ProcessKey(), cMenuEditCaItem::ProcessKey(), ProcessKey(), cMenuEditNumItem::ProcessKey(), cMenuEditIntxItem::ProcessKey(), cMenuEditPrcItem::ProcessKey(), cMenuEditSrcItem::ProcessKey(), cMenuEditChrItem::ProcessKey(), cOsdMenu::ProcessKey(), cMenuEditTranItem::ProcessKey(), cMenuEditDateItem::ProcessKey(), cMenuEditTimeItem::ProcessKey(), cMenuEditMapItem::ProcessKey(), and cMenuSetupPlugins::ProcessKey().
|
private |
Definition at line 51 of file osdbase.h.
Referenced by cOsdItem(), SetText(), Text(), and ~cOsdItem().