vdr
1.7.31
|
#include <menu.h>
Public Member Functions | |
cMenuCommands (const char *Title, cList< cNestedItem > *Commands, const char *Parameters=NULL) | |
virtual | ~cMenuCommands () |
virtual eOSState | ProcessKey (eKeys Key) |
cMenuCommands (const char *Title, cList< cNestedItem > *Commands, const char *Parameters=NULL) | |
virtual | ~cMenuCommands () |
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) |
Private Member Functions | |
bool | Parse (const char *s) |
eOSState | Execute (void) |
bool | Parse (const char *s) |
eOSState | Execute (void) |
Private Attributes | |
cList< cNestedItem > * | commands |
cString | parameters |
cString | title |
cString | command |
bool | confirm |
char * | result |
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 | 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) |
![]() | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
Definition at line 56 of file include/vdr/menu.h.
cMenuCommands::cMenuCommands | ( | const char * | Title, |
cList< cNestedItem > * | Commands, | ||
const char * | Parameters = NULL |
||
) |
Definition at line 1966 of file menu.c.
References cOsdMenu::Add(), commands, Commands, cList< T >::First(), cOsdMenu::hk(), mcCommand, cList< T >::Next(), parameters, Parse(), result, cOsdMenu::SetHasHotkeys(), cOsdMenu::SetMenuCategory(), cString::sprintf(), and title.
Referenced by Execute().
|
virtual |
cMenuCommands::cMenuCommands | ( | const char * | Title, |
cList< cNestedItem > * | Commands, | ||
const char * | Parameters = NULL |
||
) |
|
virtual |
|
private |
Definition at line 2011 of file menu.c.
References cOsdMenu::AddSubMenu(), cPipe::Close(), cMenuCommands(), command, commands, cInterface::Confirm(), confirm, cOsdMenu::Current(), dsyslog, esyslog, fontFix, cList< T >::Get(), Interface, isempty(), cSkins::Message(), mtStatus, cPipe::Open(), osContinue, osEnd, parameters, Parse(), result, Skins, cString::sprintf(), cNestedItem::SubItems(), cNestedItem::Text(), title, and cOsdMenu::Title().
Referenced by ProcessKey().
|
private |
|
private |
Definition at line 1988 of file menu.c.
References command, confirm, skipspace(), stripspace(), strn0cpy(), and title.
Referenced by cMenuCommands(), and Execute().
|
private |
Reimplemented from cOsdMenu.
Definition at line 2058 of file menu.c.
References Execute(), kBlue, kGreen, kOk, kRed, kYellow, osContinue, and osUnknown.
Referenced by cMenuRecordings::Commands(), and cMenuTimers::Commands().
|
private |
Definition at line 61 of file include/vdr/menu.h.
|
private |
Definition at line 58 of file include/vdr/menu.h.
Referenced by cMenuCommands(), and Execute().
|
private |
Definition at line 62 of file include/vdr/menu.h.
|
private |
Definition at line 59 of file include/vdr/menu.h.
Referenced by cMenuCommands(), and Execute().
|
private |
Definition at line 63 of file include/vdr/menu.h.
Referenced by cMenuCommands(), Execute(), and ~cMenuCommands().
|
private |
Definition at line 60 of file include/vdr/menu.h.
Referenced by cMenuCommands(), Execute(), and Parse().