|
vdr
2.2.0
|
#include <menu.h>
Public Member Functions | |
| cMenuEditTimer (cTimer *Timer, bool New=false) | |
| virtual | ~cMenuEditTimer () |
| virtual eOSState | ProcessKey (eKeys Key) |
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 () |
| 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) |
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 > | |
| 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 |
Public Member Functions inherited from cListBase | |
| 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) |
| void | SetFirstDayItem (void) |
| void | SetHelpKeys (void) |
Private Attributes | |
| cTimer * | timer |
| cTimer | data |
| int | channel |
| bool | addIfConfirmed |
| cMenuEditStrItem * | file |
| cMenuEditDateItem * | day |
| cMenuEditDateItem * | firstday |
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 (void) | |
Protected Attributes inherited from cListBase | |
| cListObject * | objects |
| cListObject * | lastObject |
| int | count |
| cMenuEditTimer::cMenuEditTimer | ( | cTimer * | Timer, |
| bool | New = false |
||
| ) |
Definition at line 949 of file menu.c.
References cOsdMenu::Add(), addIfConfirmed, cTimer::Channel(), channel, data, cTimer::day, day, cTimer::file, file, firstday, cTimer::flags, cTimers::IncBeingEdited(), cTimer::lifetime, MAXLIFETIME, MAXPRIORITY, mcTimerEdit, cChannel::Number(), cTimer::priority, SetFirstDayItem(), cTimer::SetFlags(), SetHelpKeys(), cOsdMenu::SetMenuCategory(), cTimer::start, cTimer::stop, tfActive, tfVps, timer, Timers, tr, and cTimer::weekdays.
|
virtual |
Definition at line 977 of file menu.c.
References addIfConfirmed, cTimers::DecBeingEdited(), timer, and Timers.
Reimplemented from cOsdMenu.
Definition at line 1021 of file menu.c.
References cTimers::Add(), addIfConfirmed, cOsdMenu::AddSubMenu(), cTimer::channel, cTimer::Channel(), channel, Channels, data, day, cOsdMenu::Display(), cTimer::file, Folders, cChannels::GetByNumber(), cTimer::HasFlags(), cOsdMenu::HasSubMenu(), isyslog, kBlue, kGreen, kNone, kOk, kRed, kYellow, cTimer::Matches(), cSkins::Message(), mtError, osBack, osContinue, osEnd, osUnknown, cOsdMenu::ProcessKey(), cOsdMenu::SetCurrent(), cTimer::SetEventFromSchedule(), SetFirstDayItem(), SetFolder(), SetHelpKeys(), cTimers::SetModified(), cChannel::ShortName(), Skins, tfActive, timer, Timers, cTimer::ToDescr(), cMenuEditDateItem::ToggleRepeating(), and tr.
|
private |
Definition at line 989 of file menu.c.
References cOsdMenu::Add(), data, cTimer::day, cOsdMenu::Del(), cOsdMenu::Display(), firstday, cListObject::Index(), cTimer::IsSingleEvent(), and tr.
Referenced by cMenuEditTimer(), and ProcessKey().
|
private |
Definition at line 1002 of file menu.c.
References cOsdMenu::CloseSubMenu(), data, cOsdMenu::Display(), cTimer::file, file, FOLDERDELIMCHAR, isempty(), cOsdMenu::SetCurrent(), cString::sprintf(), strn0cpy(), and cOsdMenu::SubMenu().
Referenced by ProcessKey().
|
private |
Definition at line 984 of file menu.c.
References data, cOsdMenu::SetHelp(), tr, and cTimer::weekdays.
Referenced by cMenuEditTimer(), and ProcessKey().
|
private |
Definition at line 78 of file menu.h.
Referenced by cMenuEditTimer(), ProcessKey(), and ~cMenuEditTimer().
|
private |
Definition at line 77 of file menu.h.
Referenced by cMenuEditTimer(), and ProcessKey().
|
private |
Definition at line 76 of file menu.h.
Referenced by cMenuEditTimer(), ProcessKey(), SetFirstDayItem(), SetFolder(), and SetHelpKeys().
|
private |
Definition at line 80 of file menu.h.
Referenced by cMenuEditTimer(), ProcessKey(), and cMenuTimerItem::Set().
|
private |
Definition at line 79 of file menu.h.
Referenced by cMenuEditTimer(), and SetFolder().
|
private |
Definition at line 81 of file menu.h.
Referenced by cMenuEditTimer(), and SetFirstDayItem().
|
private |
Definition at line 75 of file menu.h.
Referenced by cMenuEditTimer(), cMenuTimerItem::cMenuTimerItem(), cMenuTimerItem::Compare(), ProcessKey(), cMenuTimerItem::Set(), cMenuTimerItem::SetMenuItem(), cMenuTimerItem::Timer(), and ~cMenuEditTimer().
1.8.11