|
vdr 2.6.4
|
Public Types | |
| enum | eScheduleSortMode { ssmAllThis , ssmThisThis , ssmThisAll , ssmAllAll } |
Public Member Functions | |
| cMenuScheduleItem (const cTimers *Timers, const cEvent *Event, const cChannel *Channel=NULL, bool WithDate=false) | |
| virtual int | Compare (const cListObject &ListObject) const |
| bool | Update (const cTimers *Timers, bool Force=false) |
| virtual void | SetMenuItem (cSkinDisplayMenu *DisplayMenu, int Index, bool Current, bool Selectable) |
Public Member Functions inherited from cOsdItem | |
| cOsdItem (eOSState State=osUnknown) | |
| cOsdItem (const char *Text, eOSState State=osUnknown, bool Selectable=true) | |
| virtual | ~cOsdItem () |
| bool | Selectable (void) const |
| void | SetText (const char *Text, bool Copy=true) |
| void | SetSelectable (bool Selectable) |
| void | SetFresh (bool Fresh) |
| const char * | Text (void) const |
| virtual void | Set (void) |
| virtual eOSState | ProcessKey (eKeys Key) |
Public Member Functions inherited from cListObject | |
| cListObject (void) | |
| virtual | ~cListObject () |
| void | Append (cListObject *Object) |
| void | Insert (cListObject *Object) |
| void | Unlink (void) |
| int | Index (void) const |
| cListObject * | Prev (void) const |
| cListObject * | Next (void) const |
Static Public Member Functions | |
| static void | SetSortMode (eScheduleSortMode SortMode) |
| static void | IncSortMode (void) |
| static eScheduleSortMode | SortMode (void) |
Public Attributes | |
| const cEvent * | event |
| const cChannel * | channel |
| bool | withDate |
| eTimerMatch | timerMatch |
| bool | timerActive |
Static Private Attributes | |
| static eScheduleSortMode | sortMode = ssmAllThis |
Additional Inherited Members | |
Protected Attributes inherited from cOsdItem | |
| bool | fresh |
| cMenuScheduleItem::cMenuScheduleItem | ( | const cTimers * | Timers, |
| const cEvent * | Event, | ||
| const cChannel * | Channel = NULL, |
||
| bool | WithDate = false |
||
| ) |
Definition at line 1577 of file menu.c.
References channel, timerActive, timerMatch, tmNone, Update(), and withDate.
|
virtual |
Must return 0 if this object is equal to ListObject, a positive value if it is "greater", and a negative value if it is "smaller".
Reimplemented from cListObject.
Definition at line 1587 of file menu.c.
References event, sortMode, ssmAllThis, cEvent::StartTime(), and cEvent::Title().
|
inlinestatic |
Definition at line 1568 of file menu.c.
References sortMode, ssmAllAll, and ssmAllThis.
Referenced by cMenuSchedule::Number().
|
virtual |
Reimplemented from cOsdItem.
Definition at line 1627 of file menu.c.
References channel, event, cListObject::Index(), cOsdItem::Selectable(), cSkinDisplayMenu::SetItem(), cSkinDisplayMenu::SetItemEvent(), cOsdItem::Text(), timerActive, timerMatch, and withDate.
|
inlinestatic |
Definition at line 1567 of file menu.c.
References sortMode, and SortMode().
Referenced by cMenuSchedule::cMenuSchedule(), and cMenuSchedule::ProcessKey().
|
inlinestatic |
Definition at line 1569 of file menu.c.
References sortMode.
Referenced by cMenuSchedule::Set(), and SetSortMode().
| bool cMenuScheduleItem::Update | ( | const cTimers * | Timers, |
| bool | Force = false |
||
| ) |
Definition at line 1600 of file menu.c.
References channel, cEvent::EndTime(), event, cTimers::GetMatch(), cEvent::GetTimeString(), cTimer::HasFlags(), cEvent::IsRunning(), cChannel::Number(), cTimer::Recording(), cOsdItem::SetText(), cChannel::ShortName(), cString::sprintf(), tfActive, timerActive, timerMatch, TimerMatchChars, cEvent::Title(), tmNone, Utf8SymChars(), and withDate.
Referenced by cMenuScheduleItem().
| const cChannel* cMenuScheduleItem::channel |
Definition at line 1562 of file menu.c.
Referenced by cMenuScheduleItem(), cMenuWhatsOn::ProcessKey(), SetMenuItem(), and Update().
| const cEvent* cMenuScheduleItem::event |
Definition at line 1561 of file menu.c.
Referenced by Compare(), cMenuWhatsOn::ProcessKey(), cMenuWhatsOn::SetHelpKeys(), cMenuSchedule::SetHelpKeys(), SetMenuItem(), cMenuWhatsOn::Switch(), cMenuSchedule::Switch(), and Update().
|
staticprivate |
Definition at line 1559 of file menu.c.
Referenced by Compare(), IncSortMode(), SetSortMode(), and SortMode().
| bool cMenuScheduleItem::timerActive |
Definition at line 1565 of file menu.c.
Referenced by cMenuScheduleItem(), SetMenuItem(), and Update().
| eTimerMatch cMenuScheduleItem::timerMatch |
Definition at line 1564 of file menu.c.
Referenced by cMenuScheduleItem(), cMenuWhatsOn::SetHelpKeys(), cMenuSchedule::SetHelpKeys(), SetMenuItem(), and Update().
| bool cMenuScheduleItem::withDate |
Definition at line 1563 of file menu.c.
Referenced by cMenuScheduleItem(), SetMenuItem(), and Update().