vdr
2.2.0
|
Public Member Functions | |
cMenuPathEdit (const char *Path) | |
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) |
![]() | |
cOsdItem * | Get (int Index) const |
cOsdItem * | First (void) const |
cOsdItem * | Last (void) const |
cOsdItem * | Prev (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) |
cListObject * | Get (int Index) const |
int | Count (void) const |
void | Sort (void) |
Private Member Functions | |
eOSState | SetFolder (void) |
eOSState | Folder (void) |
eOSState | ApplyChanges (void) |
Private Attributes | |
cString | path |
char | folder [PATH_MAX] |
char | name [NAME_MAX] |
cMenuEditStrItem * | folderItem |
int | pathIsInUse |
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 (void) | |
![]() | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
cMenuPathEdit::cMenuPathEdit | ( | const char * | Path | ) |
Definition at line 2392 of file menu.c.
References cOsdMenu::Add(), cOsdMenu::Display(), folder, FOLDERDELIMCHAR, folderItem, mcRecordingEdit, name, osUnknown, path, cRecordings::PathIsInUse(), pathIsInUse, Recordings, cOsdMenu::SetHelp(), cOsdMenu::SetMenuCategory(), cOsdItem::SetSelectable(), strn0cpy(), and tr.
|
private |
Definition at line 2437 of file menu.c.
References cString::CompactChars(), cInterface::Confirm(), folder, FOLDERDELIMCHAR, cRecordings::GetNumRecordingsInPath(), Interface, cSkins::Message(), cRecordings::MoveRecordings(), mtError, name, osBack, osContinue, osUser1, path, Recordings, cMenuRecordings::SetPath(), Skins, cString::sprintf(), and tr.
Referenced by ProcessKey().
|
private |
Definition at line 2432 of file menu.c.
References cOsdMenu::AddSubMenu(), Folders, path, and tr.
Referenced by ProcessKey().
Reimplemented from cOsdMenu.
Definition at line 2459 of file menu.c.
References ApplyChanges(), Folder(), cOsdMenu::HasSubMenu(), kOk, kRed, osBack, osEnd, osUnknown, pathIsInUse, cOsdMenu::ProcessKey(), and SetFolder().
|
private |
Definition at line 2422 of file menu.c.
References cOsdMenu::CloseSubMenu(), cOsdMenu::Display(), folder, folderItem, cOsdMenu::SetCurrent(), strn0cpy(), and cOsdMenu::SubMenu().
Referenced by ProcessKey().
|
private |
Definition at line 2380 of file menu.c.
Referenced by ApplyChanges(), cMenuPathEdit(), and SetFolder().
|
private |
Definition at line 2382 of file menu.c.
Referenced by cMenuPathEdit(), and SetFolder().
|
private |
Definition at line 2381 of file menu.c.
Referenced by ApplyChanges(), and cMenuPathEdit().
|
private |
Definition at line 2379 of file menu.c.
Referenced by ApplyChanges(), cMenuPathEdit(), and Folder().
|
private |
Definition at line 2383 of file menu.c.
Referenced by cMenuPathEdit(), and ProcessKey().