|
vdr
2.2.0
|
Public Member Functions | |
| cMenuWhatsOn (const cSchedules *Schedules, bool Now, int CurrentChannelNr) | |
| 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) |
Static Public Member Functions | |
| static int | CurrentChannel (void) |
| static void | SetCurrentChannel (int ChannelNr) |
| static const cEvent * | ScheduleEvent (void) |
Private Member Functions | |
| eOSState | Record (void) |
| eOSState | Switch (void) |
| bool | Update (void) |
| void | SetHelpKeys (void) |
Private Attributes | |
| bool | now |
| bool | canSwitch |
| int | helpKeys |
| int | timerState |
Static Private Attributes | |
| static int | currentChannel = 0 |
| static const cEvent * | scheduleEvent = NULL |
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 |
| cMenuWhatsOn::cMenuWhatsOn | ( | const cSchedules * | Schedules, |
| bool | Now, | ||
| int | CurrentChannelNr | ||
| ) |
Definition at line 1454 of file menu.c.
References cOsdMenu::Add(), canSwitch, Channels, currentChannel, cOsdMenu::Display(), cList< T >::First(), cSchedule::GetFollowingEvent(), cSchedule::GetPresentEvent(), cSchedules::GetSchedule(), helpKeys, mcScheduleNext, mcScheduleNow, cTimers::Modified(), cList< T >::Next(), now, SetHelpKeys(), cOsdMenu::SetMenuCategory(), Timers, and timerState.
|
inlinestatic |
Definition at line 1445 of file menu.c.
Referenced by cMenuSchedule::ProcessKey().
Reimplemented from cOsdMenu.
Definition at line 1570 of file menu.c.
References cOsdMenu::AddSubMenu(), canSwitch, cMenuScheduleItem::channel, cListBase::Count(), cOsdMenu::Current(), currentChannel, cOsdMenu::Display(), cMenuScheduleItem::event, cList< cOsdItem >::Get(), cOsdMenu::HasSubMenu(), kBlue, kGreen, kInfo, kNone, kOk, kRecord, kRed, kYellow, cChannel::Number(), osBack, osUnknown, cOsdMenu::ProcessKey(), Record(), scheduleEvent, SetHelpKeys(), Switch(), and Update().
|
private |
Definition at line 1537 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().
|
static |
Definition at line 1518 of file menu.c.
References scheduleEvent.
Referenced by cMenuSchedule::ProcessKey(), and cMenuSchedule::~cMenuSchedule().
|
inlinestatic |
Definition at line 1446 of file menu.c.
References currentChannel, cMenuEvent::ProcessKey(), and scheduleEvent.
Referenced by cMenuSchedule::cMenuSchedule().
|
private |
Definition at line 1490 of file menu.c.
References canSwitch, cEvent::ChannelID(), Channels, cOsdMenu::Current(), cDevice::CurrentChannel(), cMenuScheduleItem::event, cList< cOsdItem >::Get(), cChannels::GetByChannelID(), helpKeys, now, cOsdMenu::SetHelp(), cMenuScheduleItem::timerMatch, tmFull, and tr.
Referenced by cMenuWhatsOn(), ProcessKey(), and Record().
|
private |
Definition at line 1525 of file menu.c.
References cEvent::ChannelID(), Channels, cOsdMenu::Current(), cMenuScheduleItem::event, cList< cOsdItem >::Get(), cChannels::GetByChannelID(), cSkins::Message(), mtError, osContinue, osEnd, cDevice::PrimaryDevice(), Skins, cDevice::SwitchChannel(), and tr.
Referenced by ProcessKey().
|
private |
Definition at line 1478 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 1434 of file menu.c.
Referenced by cMenuWhatsOn(), ProcessKey(), and SetHelpKeys().
|
staticprivate |
Definition at line 1439 of file menu.c.
Referenced by cMenuWhatsOn(), ProcessKey(), and SetCurrentChannel().
|
private |
Definition at line 1435 of file menu.c.
Referenced by cMenuWhatsOn(), and SetHelpKeys().
|
private |
Definition at line 1433 of file menu.c.
Referenced by cMenuWhatsOn(), and SetHelpKeys().
|
staticprivate |
Definition at line 1440 of file menu.c.
Referenced by ProcessKey(), ScheduleEvent(), and SetCurrentChannel().
|
private |
Definition at line 1436 of file menu.c.
Referenced by cMenuWhatsOn(), and Update().
1.8.11