vdr
1.7.31
|
#include <menu.h>
Public Member Functions | |
cMenuRecordings (const char *Base=NULL, int Level=0, bool OpenSubMenus=false) | |
~cMenuRecordings () | |
virtual eOSState | ProcessKey (eKeys Key) |
cMenuRecordings (const char *Base=NULL, int Level=0, bool OpenSubMenus=false) | |
~cMenuRecordings () | |
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) |
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) |
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) |
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) |
cOsdObject (bool FastResponse=false) | |
virtual | ~cOsdObject () |
bool | IsMenu (void) const |
virtual void | Show (void) |
![]() | |
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) const |
![]() | |
virtual | ~cListBase () |
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) |
int | Count (void) const |
void | Sort (void) |
virtual | ~cListBase () |
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) |
int | Count (void) const |
void | Sort (void) |
Protected Member Functions | |
cString | DirectoryName (void) |
cRecording * | GetRecording (cMenuRecordingItem *Item) |
cString | DirectoryName (void) |
cRecording * | GetRecording (cMenuRecordingItem *Item) |
![]() | |
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 | 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 | 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 | 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) |
void | SetNeedsFastResponse (bool NeedsFastResponse) |
Private Member Functions | |
void | SetHelpKeys (void) |
void | Set (bool Refresh=false) |
bool | Open (bool OpenSubMenus=false) |
eOSState | Play (void) |
eOSState | Rewind (void) |
eOSState | Delete (void) |
eOSState | Info (void) |
eOSState | Sort (void) |
eOSState | Commands (eKeys Key=kNone) |
eOSState | Edit (void) |
void | SetHelpKeys (void) |
void | Set (bool Refresh=false) |
bool | Open (bool OpenSubMenus=false) |
eOSState | Play (void) |
eOSState | Rewind (void) |
eOSState | Delete (void) |
eOSState | Info (void) |
eOSState | Sort (void) |
eOSState | Commands (eKeys Key=kNone) |
eOSState | Edit (void) |
Private Attributes | |
char * | base |
int | level |
int | recordingsState |
int | helpKeys |
Additional Inherited Members | |
![]() | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
Definition at line 195 of file include/vdr/menu.h.
cMenuRecordings::cMenuRecordings | ( | const char * | Base = NULL , |
int | Level = 0 , |
||
bool | OpenSubMenus = false |
||
) |
Definition at line 2541 of file menu.c.
References base, cOsdMenu::Current(), cOsdMenu::Display(), cList< cOsdItem >::First(), helpKeys, cReplayControl::LastReplayed(), level, mcRecording, Open(), cSetup::RecordingDirs, Recordings, recordingsState, Set(), cOsdMenu::SetCurrent(), SetHelpKeys(), cOsdMenu::SetMenuCategory(), Setup, and cRecordings::StateChanged().
Referenced by Open().
cMenuRecordings::~cMenuRecordings | ( | ) |
cMenuRecordings::cMenuRecordings | ( | const char * | Base = NULL , |
int | Level = 0 , |
||
bool | OpenSubMenus = false |
||
) |
cMenuRecordings::~cMenuRecordings | ( | ) |
Definition at line 2770 of file menu.c.
References cOsdMenu::AddSubMenu(), cListBase::Count(), cOsdMenu::Current(), cRecording::FileName(), cList< cOsdItem >::Get(), GetRecording(), cOsdMenu::HasSubMenu(), cMenuRecordingItem::IsDirectory(), kNone, osContinue, cMenuCommands::ProcessKey(), RecordingCommands, cString::sprintf(), strescape(), and tr.
Referenced by ProcessKey().
|
private |
|
private |
Definition at line 2701 of file menu.c.
References cCutter::Active(), cReplayControl::ClearLastReplayed(), cInterface::Confirm(), cListBase::Count(), cOsdMenu::Current(), cOsdMenu::Del(), cTimers::Del(), cRecordings::DelByName(), cRecording::Delete(), cOsdMenu::Display(), cMenuRecordingItem::FileName(), cVideoDiskUsage::ForceCheck(), cList< cOsdItem >::Get(), cRecordings::GetByName(), cRecordControls::GetRecordControl(), GetRecording(), cOsdMenu::HasSubMenu(), Interface, cMenuRecordingItem::IsDirectory(), cTimer::IsSingleEvent(), isyslog, cSkins::Message(), mtError, cReplayControl::NowReplaying(), osBack, osContinue, cRecordControls::Process(), Recordings, SetHelpKeys(), cTimers::SetModified(), cControl::Shutdown(), Skins, cTimer::Skip(), cCutter::Stop(), cRecordControl::Timer(), Timers, cTimer::ToDescr(), and tr.
Referenced by ProcessKey().
|
protected |
Definition at line 2632 of file menu.c.
References AddDirectory(), base, ExchangeChars(), and VideoDirectory.
|
protected |
|
private |
Definition at line 2797 of file menu.c.
References cOsdMenu::AddSubMenu(), cListBase::Count(), cOsdMenu::Current(), cList< cOsdItem >::Get(), GetRecording(), cOsdMenu::HasSubMenu(), cMenuRecordingItem::IsDirectory(), and osContinue.
Referenced by ProcessKey().
|
private |
|
protected |
Definition at line 2643 of file menu.c.
References cMenuRecordingItem::FileName(), cRecordings::GetByName(), cSkins::Message(), mtError, Recordings, Skins, and tr.
Referenced by Commands(), Delete(), Edit(), Info(), Play(), Rewind(), and SetHelpKeys().
|
protected |
|
private |
|
private |
Definition at line 2757 of file menu.c.
References cOsdMenu::AddSubMenu(), cListBase::Count(), cOsdMenu::Current(), cList< cOsdItem >::Get(), GetRecording(), cOsdMenu::HasSubMenu(), cRecording::Info(), cMenuRecordingItem::IsDirectory(), osContinue, and cRecordingInfo::Title().
Referenced by ProcessKey().
|
private |
|
private |
Definition at line 2651 of file menu.c.
References cOsdMenu::AddSubMenu(), base, cMenuRecordings(), cOsdMenu::Current(), cList< cOsdItem >::Get(), cMenuRecordingItem::IsDirectory(), level, cMenuRecordingItem::Name(), and cString::sprintf().
Referenced by cMenuRecordings(), and Play().
|
private |
Definition at line 2667 of file menu.c.
References cOsdMenu::Current(), cRecording::FileName(), cList< cOsdItem >::Get(), GetRecording(), cMenuRecordingItem::IsDirectory(), Open(), osContinue, osReplay, and cReplayControl::SetRecording().
Referenced by ProcessKey(), and Rewind().
|
private |
Reimplemented from cOsdMenu.
Definition at line 2810 of file menu.c.
References Commands(), cListBase::Count(), cOsdMenu::Current(), cOsdMenu::Del(), Delete(), cOsdMenu::Display(), Edit(), cOsdMenu::HasSubMenu(), helpKeys, Info(), k0, k1, kBlue, kGreen, kInfo, kNone, kOk, kPlay, kRed, kYellow, osBack, osUnknown, Play(), RecordingCommands, Recordings, recordingsState, Rewind(), Set(), SetHelpKeys(), Sort(), and cRecordings::StateChanged().
|
private |
Definition at line 2684 of file menu.c.
References cListBase::Count(), cOsdMenu::Current(), cResumeFile::Delete(), cMenuRecordingItem::FileName(), cList< cOsdItem >::Get(), GetRecording(), cOsdMenu::HasSubMenu(), cMenuRecordingItem::IsDirectory(), cRecording::IsPesRecording(), osContinue, Play(), cDevice::PrimaryDevice(), and cDevice::StopReplay().
Referenced by ProcessKey().
|
private |
|
private |
Definition at line 2591 of file menu.c.
References cOsdMenu::Add(), base, cOsdMenu::Clear(), cOsdMenu::Current(), DirectoryName(), cOsdMenu::Display(), cRecording::FileName(), cMenuRecordingItem::FileName(), cList< T >::First(), FOLDERDELIMCHAR, cList< cOsdItem >::Get(), cRecordings::GetByName(), GetRecordingsSortMode(), cMenuRecordingItem::IncrementCounter(), cMenuRecordingItem::IsDirectory(), cReplayControl::LastReplayed(), level, cList< T >::Next(), Recordings, cOsdMenu::SetCurrent(), cListBase::Sort(), and cOsdItem::Text().
Referenced by cMenuRecordings(), ProcessKey(), and Sort().
|
private |
|
private |
|
private |
Definition at line 2565 of file menu.c.
References cListBase::Count(), cOsdMenu::Current(), cList< cOsdItem >::Get(), GetRecording(), helpKeys, cRecording::Info(), cMenuRecordingItem::IsDirectory(), RecordingCommands, cOsdMenu::SetHelp(), cRecordingInfo::Title(), and tr.
Referenced by cMenuRecordings(), Delete(), and ProcessKey().
|
private |
|
private |
Definition at line 2788 of file menu.c.
References DirectoryName(), cOsdMenu::HasSubMenu(), IncRecordingsSortMode(), osContinue, and Set().
Referenced by ProcessKey().
|
private |
Definition at line 197 of file include/vdr/menu.h.
Referenced by cMenuRecordings(), DirectoryName(), Open(), Set(), and ~cMenuRecordings().
|
private |
Definition at line 200 of file include/vdr/menu.h.
Referenced by cMenuRecordings(), ProcessKey(), SetHelpKeys(), and ~cMenuRecordings().
|
private |
Definition at line 198 of file include/vdr/menu.h.
Referenced by cMenuRecordings(), Open(), and Set().
|
private |
Definition at line 199 of file include/vdr/menu.h.
Referenced by cMenuRecordings(), and ProcessKey().