vdr 2.6.9
|
#include <menu.h>
Public Member Functions | |
cMenuMain (eOSState State=osUnknown, bool OpenSubMenus=false) | |
virtual eOSState | ProcessKey (eKeys Key) |
![]() | |
cOsdMenu (const char *Title, int c0=0, int c1=0, int c2=0, int c3=0, int c4=0) | |
virtual | ~cOsdMenu () |
virtual bool | NeedsFastResponse (void) |
void | SetMenuCategory (eMenuCategory MenuCategory) |
void | SetMenuSortMode (eMenuSortMode MenuSortMode) |
int | Current (void) const |
void | Add (cOsdItem *Item, bool Current=false, cOsdItem *After=NULL) |
void | Ins (cOsdItem *Item, bool Current=false, cOsdItem *Before=NULL) |
virtual void | Display (void) |
![]() | |
cOsdObject (bool FastResponse=false) | |
virtual | ~cOsdObject () |
bool | IsMenu (void) const |
virtual void | Show (void) |
![]() | |
cList (const char *NeedsLocking=NULL) | |
const cOsdItem * | Get (int Index) const |
cOsdItem * | Get (int Index) |
const cOsdItem * | First (void) const |
cOsdItem * | First (void) |
const cOsdItem * | Last (void) const |
cOsdItem * | Last (void) |
const cOsdItem * | Prev (const cOsdItem *Object) const |
cOsdItem * | Prev (const cOsdItem *Object) |
const cOsdItem * | Next (const cOsdItem *Object) const |
cOsdItem * | Next (const cOsdItem *Object) |
![]() | |
virtual | ~cListBase () |
bool | Lock (cStateKey &StateKey, bool Write=false, int TimeoutMs=0) const |
void | SetSyncStateKey (cStateKey &StateKey) |
void | SetUseGarbageCollector (void) |
void | SetExplicitModify (void) |
void | SetModified (void) |
void | Add (cListObject *Object, cListObject *After=NULL) |
void | Ins (cListObject *Object, cListObject *Before=NULL) |
void | Del (cListObject *Object, bool DeleteObject=true) |
virtual void | Move (int From, int To) |
void | Move (cListObject *From, cListObject *To) |
bool | Contains (const cListObject *Object) const |
const cListObject * | Get (int Index) const |
cListObject * | Get (int Index) |
int | Count (void) const |
void | Sort (void) |
Static Public Member Functions | |
static cOsdObject * | PluginOsdObject (void) |
Private Member Functions | |
void | Set (void) |
bool | Update (bool Force=false) |
Private Attributes | |
bool | replaying |
cOsdItem * | stopReplayItem |
cOsdItem * | cancelEditingItem |
cOsdItem * | stopRecordingItem |
int | recordControlsState |
Static Private Attributes | |
static cOsdObject * | pluginOsdObject = NULL |
Additional Inherited Members | |
![]() | |
void | SetDisplayMenu (void) |
cSkinDisplayMenu * | DisplayMenu (void) |
const char * | hk (const char *s) |
void | SetCols (int c0, int c1=0, int c2=0, int c3=0, int c4=0) |
void | SetHasHotkeys (bool HasHotkeys=true) |
virtual void | Clear (void) |
const char * | Title (void) |
bool | SelectableItem (int idx) |
void | SetCurrent (cOsdItem *Item) |
void | RefreshCurrent (void) |
void | DisplayCurrent (bool Current) |
void | DisplayItem (cOsdItem *Item) |
void | CursorUp (void) |
void | CursorDown (void) |
void | PageUp (void) |
void | PageDown (void) |
void | Mark (void) |
eOSState | HotKey (eKeys Key) |
eOSState | AddSubMenu (cOsdMenu *SubMenu) |
eOSState | CloseSubMenu (bool ReDisplay=true) |
bool | HasSubMenu (void) |
cOsdMenu * | SubMenu (void) |
void | SetStatus (const char *s) |
void | SetTitle (const char *Title) |
void | SetHelp (const char *Red, const char *Green=NULL, const char *Yellow=NULL, const char *Blue=NULL) |
virtual void | Del (int Index) |
![]() | |
void | SetNeedsFastResponse (bool NeedsFastResponse) |
![]() | |
cListBase (const char *NeedsLocking=NULL) | |
![]() | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
cStateLock | stateLock |
const char * | needsLocking |
bool | useGarbageCollector |
Definition at line 4515 of file menu.c.
References cOsdMenu::AddSubMenu(), cPluginManager::CallFirstService(), cancelEditingItem, Commands, cOsdObject::IsMenu(), mcMain, osChannels, osCommands, osRecordings, osSchedule, osSetup, osTimers, recordControlsState, replaying, Set(), cOsdMenu::SetMenuCategory(), stopRecordingItem, stopReplayItem, and tr.
|
static |
Reimplemented from cOsdMenu.
Definition at line 4657 of file menu.c.
References cOsdMenu::AddSubMenu(), cPluginManager::CallFirstService(), Commands, cInterface::Confirm(), cOsdMenu::Current(), cRecordingsHandler::DelAll(), cOsdMenu::Display(), cList< cOsdItem >::Get(), cPluginManager::GetPlugin(), cOsdMenu::HasSubMenu(), I18nCurrentLanguage(), Interface, cOsdObject::IsMenu(), kAudio, kBlue, kGreen, kNone, kRecord, kRed, kYellow, cReplayControl::LastReplayed(), cPlugin::MainMenuAction(), osCancelEdit, osChannels, osCommands, osContinue, osEnd, osPause, osPlugin, osRecord, osRecordings, osReplay, osSchedule, osSetup, osStopRecord, osStopReplay, osTimers, cSetup::PauseKeyHandling, cMenuPluginItem::PluginIndex(), pluginOsdObject, cOsdMenu::ProcessKey(), cRemote::Put(), RecordingsHandler, cSetup::RecordKeyHandling, replaying, Set(), Setup, cRecordControls::Stop(), STOP_RECORDING, tr, and Update().
|
private |
Definition at line 4562 of file menu.c.
References cOsdMenu::Add(), cOsdMenu::Clear(), Commands, cListBase::Count(), cOsdMenu::Display(), cPluginManager::GetPlugin(), cOsdMenu::hk(), cPlugin::MainMenuEntry(), osChannels, osCommands, osRecordings, osSchedule, osSetup, osTimers, cOsdMenu::SetHasHotkeys(), cOsdMenu::SetTitle(), tr, and Update().
Referenced by cMenuMain(), and ProcessKey().
|
private |
Definition at line 4599 of file menu.c.
References cThread::Active(), cOsdMenu::Add(), cancelEditingItem, cControl::Control(), cOsdMenu::Del(), cRecordControls::GetInstantId(), cListObject::Index(), cReplayControl::LastReplayed(), cList< cOsdItem >::Next(), osCancelEdit, osStopRecord, osStopReplay, cSetup::PauseKeyHandling, recordControlsState, RecordingsHandler, cSetup::RecordKeyHandling, replaying, cOsdMenu::SetHelp(), cOsdItem::SetText(), Setup, cString::sprintf(), cRecordControls::StateChanged(), STOP_RECORDING, stopRecordingItem, stopReplayItem, and tr.
Referenced by ProcessKey(), and Set().
|
private |
Definition at line 110 of file menu.h.
Referenced by cMenuMain(), and Update().
|
staticprivate |
Definition at line 113 of file menu.h.
Referenced by PluginOsdObject(), and ProcessKey().
|
private |
Definition at line 112 of file menu.h.
Referenced by cMenuMain(), and Update().
|
private |
Definition at line 108 of file menu.h.
Referenced by cMenuMain(), ProcessKey(), and Update().
|
private |
Definition at line 111 of file menu.h.
Referenced by cMenuMain(), and Update().
|
private |
Definition at line 109 of file menu.h.
Referenced by cMenuMain(), and Update().