vdr 2.7.5
|
Public Member Functions | |
cMenuPathEdit (const char *Path) | |
virtual eOSState | ProcessKey (eKeys Key) override |
Public Member Functions inherited from cOsdMenu | |
cOsdMenu (const char *Title, int c0=0, int c1=0, int c2=0, int c3=0, int c4=0) | |
virtual | ~cOsdMenu () override |
virtual bool | NeedsFastResponse (void) override |
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) |
Public Member Functions inherited from cOsdObject | |
cOsdObject (bool FastResponse=false) | |
virtual | ~cOsdObject () |
bool | IsMenu (void) const |
virtual void | Show (void) |
Public Member Functions inherited from cList< cOsdItem > | |
cList (const char *NeedsLocking=NULL) | |
const cOsdItem * | Get (int Index) const |
const cOsdItem * | First (void) const |
const cOsdItem * | Last (void) const |
const cOsdItem * | Prev (const cOsdItem *Object) const |
const cOsdItem * | Next (const cOsdItem *Object) const |
Public Member Functions inherited from cListBase | |
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) |
Private Member Functions | |
eOSState | SetFolder (void) |
eOSState | Folder (void) |
eOSState | ApplyChanges (void) |
Private Attributes | |
cString | path |
cString | oldFolder |
char | folder [PATH_MAX] |
char | name [NAME_MAX] |
cMenuEditStrItem * | folderItem |
int | pathIsInUse |
Additional Inherited Members | |
Protected Member Functions inherited from cOsdMenu | |
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) |
Protected Member Functions inherited from cOsdObject | |
void | SetNeedsFastResponse (bool NeedsFastResponse) |
Protected Member Functions inherited from cListBase | |
cListBase (const char *NeedsLocking=NULL) | |
Protected Attributes inherited from cListBase | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
cStateLock | stateLock |
const char * | needsLocking |
bool | useGarbageCollector |
cMenuPathEdit::cMenuPathEdit | ( | const char * | Path | ) |
Definition at line 2533 of file menu.c.
References cOsdMenu::Add(), cOsdMenu::cOsdMenu(), cOsdMenu::Display(), folder, FOLDERDELIMCHAR, folderItem, LOCK_RECORDINGS_READ, mcRecordingEdit, name, cListObject::Next(), oldFolder, osUnknown, path, pathIsInUse, cOsdMenu::SetHelp(), cOsdMenu::SetMenuCategory(), cOsdItem::SetSelectable(), cString::sprintf(), strn0cpy(), and tr.
|
private |
Definition at line 2599 of file menu.c.
References cString::CompactChars(), folder, FOLDERDELIMCHAR, Interface, LOCK_RECORDINGS_READ, LOCK_RECORDINGS_WRITE, mtError, name, oldFolder, osBack, osContinue, osUserRecMoved, osUserRecRenamed, path, Skins, cString::sprintf(), and tr.
Referenced by ProcessKey().
|
private |
Definition at line 2594 of file menu.c.
References cOsdMenu::AddSubMenu(), Folders, path, and tr.
Referenced by ProcessKey().
Reimplemented from cOsdMenu.
Definition at line 2634 of file menu.c.
References ApplyChanges(), Folder(), cOsdMenu::HasSubMenu(), kOk, kRed, osBack, osEnd, osUnknown, pathIsInUse, cOsdMenu::ProcessKey(), and SetFolder().
|
private |
Definition at line 2584 of file menu.c.
References cOsdMenu::CloseSubMenu(), cOsdMenu::Display(), folder, folderItem, cOsdMenu::SetCurrent(), strn0cpy(), and cOsdMenu::SubMenu().
Referenced by ProcessKey().
|
private |
Definition at line 2521 of file menu.c.
Referenced by ApplyChanges(), cMenuPathEdit(), and SetFolder().
|
private |
Definition at line 2523 of file menu.c.
Referenced by cMenuPathEdit(), and SetFolder().
|
private |
Definition at line 2522 of file menu.c.
Referenced by ApplyChanges(), and cMenuPathEdit().
|
private |
Definition at line 2520 of file menu.c.
Referenced by ApplyChanges(), and cMenuPathEdit().
|
private |
Definition at line 2519 of file menu.c.
Referenced by ApplyChanges(), cMenuPathEdit(), and Folder().
|
private |
Definition at line 2524 of file menu.c.
Referenced by cMenuPathEdit(), and ProcessKey().