vdr
2.2.0
|
Public Member Functions | |
cMenuSchedule (void) | |
virtual | ~cMenuSchedule () |
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 | Number (void) |
eOSState | Record (void) |
eOSState | Switch (void) |
void | PrepareScheduleAllThis (const cEvent *Event, const cChannel *Channel) |
void | PrepareScheduleThisThis (const cEvent *Event, const cChannel *Channel) |
void | PrepareScheduleThisAll (const cEvent *Event, const cChannel *Channel) |
void | PrepareScheduleAllAll (const cEvent *Event, const cChannel *Channel) |
bool | Update (void) |
void | SetHelpKeys (void) |
Private Attributes | |
cSchedulesLock | schedulesLock |
const cSchedules * | schedules |
bool | now |
bool | next |
bool | canSwitch |
int | helpKeys |
int | timerState |
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 |
cMenuSchedule::cMenuSchedule | ( | void | ) |
Definition at line 1804 of file menu.c.
References canSwitch, Channels, cDevice::CurrentChannel(), cChannels::GetByNumber(), helpKeys, mcSchedule, cTimers::Modified(), next, now, cChannel::Number(), PrepareScheduleAllThis(), cSchedules::Schedules(), schedules, schedulesLock, cMenuWhatsOn::SetCurrentChannel(), SetHelpKeys(), cOsdMenu::SetMenuCategory(), cMenuScheduleItem::SetSortMode(), cMenuScheduleItem::ssmAllThis, Timers, and timerState.
|
virtual |
Definition at line 1823 of file menu.c.
References cMenuWhatsOn::ScheduleEvent().
|
private |
Definition at line 1937 of file menu.c.
References cEvent::ChannelID(), Channels, cOsdMenu::Current(), cDevice::CurrentChannel(), cOsdMenu::Display(), esyslog, cMenuScheduleItem::event, cList< cOsdItem >::Get(), cChannels::GetByChannelID(), cChannels::GetByNumber(), cMenuScheduleItem::IncSortMode(), osContinue, PrepareScheduleAllAll(), PrepareScheduleAllThis(), PrepareScheduleThisAll(), PrepareScheduleThisThis(), cOsdMenu::SetCurrent(), cListBase::Sort(), cMenuScheduleItem::SortMode(), cMenuScheduleItem::ssmAllAll, cMenuScheduleItem::ssmAllThis, cMenuScheduleItem::ssmThisAll, and cMenuScheduleItem::ssmThisThis.
Referenced by ProcessKey().
|
private |
Definition at line 1882 of file menu.c.
References cOsdMenu::Add(), Channels, CHNAMWIDTH, CHNUMWIDTH, cOsdMenu::Clear(), cSetup::EPGLinger, cSchedule::Events(), cList< T >::First(), cSchedules::GetSchedule(), cList< T >::Next(), now, schedules, cOsdMenu::SetCols(), cOsdMenu::SetTitle(), Setup, and tr.
Referenced by Number().
|
private |
Definition at line 1828 of file menu.c.
References cOsdMenu::Add(), cOsdMenu::Clear(), cSetup::EPGLinger, cSchedule::Events(), cList< T >::First(), cSchedule::GetPresentEvent(), cSchedules::GetSchedule(), cChannel::Name(), cList< T >::Next(), now, schedules, cOsdMenu::SetCols(), cOsdMenu::SetTitle(), Setup, cString::sprintf(), and tr.
Referenced by cMenuSchedule(), Number(), and ProcessKey().
|
private |
Definition at line 1863 of file menu.c.
References cOsdMenu::Add(), Channels, CHNAMWIDTH, CHNUMWIDTH, cOsdMenu::Clear(), cSetup::EPGLinger, cSchedule::Events(), cList< T >::First(), cSchedules::GetSchedule(), cList< T >::Next(), now, schedules, cOsdMenu::SetCols(), cOsdMenu::SetTitle(), Setup, cEvent::Title(), and tr.
Referenced by Number().
|
private |
Definition at line 1846 of file menu.c.
References cOsdMenu::Add(), cOsdMenu::Clear(), cSetup::EPGLinger, cSchedule::Events(), cList< T >::First(), cSchedules::GetSchedule(), cChannel::Name(), cList< T >::Next(), now, schedules, cOsdMenu::SetCols(), cOsdMenu::SetTitle(), Setup, cString::sprintf(), cEvent::Title(), and tr.
Referenced by Number().
Reimplemented from cOsdMenu.
Definition at line 2009 of file menu.c.
References cOsdMenu::AddSubMenu(), canSwitch, cEvent::ChannelID(), Channels, cListBase::Count(), cOsdMenu::Current(), cMenuWhatsOn::CurrentChannel(), cOsdMenu::Display(), cList< cOsdItem >::Get(), cChannels::GetByChannelID(), cOsdMenu::HasSubMenu(), k0, kBlue, kGreen, kInfo, kNone, kOk, kRecord, kRed, kYellow, next, now, cChannel::Number(), Number(), osUnknown, PrepareScheduleAllThis(), cOsdMenu::ProcessKey(), Record(), cMenuWhatsOn::ScheduleEvent(), schedules, SetHelpKeys(), cMenuScheduleItem::SetSortMode(), cMenuScheduleItem::ssmAllThis, Switch(), and Update().
|
private |
Definition at line 1963 of file menu.c.
References cTimers::Add(), cOsdMenu::AddSubMenu(), cOsdMenu::CloseSubMenu(), cOsdMenu::Current(), cOsdMenu::Display(), cMenuScheduleItem::event, cList< cOsdItem >::Get(), cTimers::GetMatch(), cTimers::GetTimer(), cOsdMenu::HasSubMenu(), isyslog, cTimer::Matches(), NEWTIMERLIMIT, osContinue, SetHelpKeys(), cTimers::SetModified(), cMenuScheduleItem::timerMatch, Timers, tmFull, tmNone, cTimer::ToDescr(), and Update().
Referenced by ProcessKey().
|
private |
Definition at line 1913 of file menu.c.
References canSwitch, cEvent::ChannelID(), Channels, cOsdMenu::Current(), cDevice::CurrentChannel(), cMenuScheduleItem::event, cList< cOsdItem >::Get(), cChannels::GetByChannelID(), helpKeys, cOsdMenu::SetHelp(), cMenuScheduleItem::timerMatch, tmFull, and tr.
Referenced by cMenuSchedule(), ProcessKey(), and Record().
|
private |
Definition at line 1996 of file menu.c.
References cEvent::ChannelID(), Channels, cOsdMenu::Current(), cMenuScheduleItem::event, cList< cOsdItem >::Get(), cChannels::GetByChannelID(), cSkins::Message(), mtError, osContinue, osEnd, Skins, cChannels::SwitchTo(), and tr.
Referenced by ProcessKey().
|
private |
Definition at line 1901 of file menu.c.
References cList< cOsdItem >::First(), cTimers::Modified(), cList< cOsdItem >::Next(), Timers, and timerState.
Referenced by ProcessKey(), and Record().
|
private |
Definition at line 1786 of file menu.c.
Referenced by cMenuSchedule(), ProcessKey(), and SetHelpKeys().
|
private |
Definition at line 1787 of file menu.c.
Referenced by cMenuSchedule(), and SetHelpKeys().
|
private |
Definition at line 1785 of file menu.c.
Referenced by cMenuSchedule(), and ProcessKey().
|
private |
Definition at line 1785 of file menu.c.
Referenced by cMenuSchedule(), PrepareScheduleAllAll(), PrepareScheduleAllThis(), PrepareScheduleThisAll(), PrepareScheduleThisThis(), and ProcessKey().
|
private |
Definition at line 1784 of file menu.c.
Referenced by cMenuSchedule(), PrepareScheduleAllAll(), PrepareScheduleAllThis(), PrepareScheduleThisAll(), PrepareScheduleThisThis(), and ProcessKey().
|
private |
Definition at line 1783 of file menu.c.
Referenced by cMenuSchedule().
|
private |
Definition at line 1788 of file menu.c.
Referenced by cMenuSchedule(), and Update().