vdr 2.7.6
|
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 override |
bool | Update (const cTimers *Timers, bool Force=false) |
virtual void | SetMenuItem (cSkinDisplayMenu *DisplayMenu, int Index, bool Current, bool Selectable) override |
![]() | |
cOsdItem (eOSState State=osUnknown) | |
cOsdItem (const char *Text, eOSState State=osUnknown, bool Selectable=true) | |
virtual | ~cOsdItem () override |
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) |
![]() | |
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 |
const cTimer * | timer |
bool | withDate |
eTimerMatch | timerMatch |
bool | timerActive |
Static Private Attributes | |
static eScheduleSortMode | sortMode = ssmAllThis |
Additional Inherited Members | |
![]() | |
bool | fresh |
cMenuScheduleItem::cMenuScheduleItem | ( | const cTimers * | Timers, |
const cEvent * | Event, | ||
const cChannel * | Channel = NULL, | ||
bool | WithDate = false ) |
Definition at line 1587 of file menu.c.
References channel, timer, timerActive, timerMatch, tmNone, Update(), and withDate.
Referenced by Compare().
|
overridevirtual |
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 1598 of file menu.c.
References cListObject::cListObject(), cMenuScheduleItem(), event, sortMode, ssmAllThis, cEvent::StartTime(), and cEvent::Title().
|
inlinestatic |
Definition at line 1578 of file menu.c.
References sortMode, ssmAllAll, and ssmAllThis.
Referenced by cMenuSchedule::Number().
|
overridevirtual |
Reimplemented from cOsdItem.
Definition at line 1641 of file menu.c.
References channel, event, cListObject::Index(), LOCK_CHANNELS_READ, LOCK_SCHEDULES_READ, LOCK_TIMERS_READ, cOsdItem::Selectable(), cSkinDisplayMenu::SetItem(), cSkinDisplayMenu::SetItemEvent(), cOsdItem::Text(), timer, timerMatch, and withDate.
|
inlinestatic |
Definition at line 1577 of file menu.c.
References SortMode(), and sortMode.
Referenced by cMenuSchedule::cMenuSchedule(), and cMenuSchedule::ProcessKey().
|
inlinestatic |
Definition at line 1579 of file menu.c.
References sortMode.
Referenced by cMenuSchedule::Set(), and SetSortMode().
bool cMenuScheduleItem::Update | ( | const cTimers * | Timers, |
bool | Force = false ) |
Definition at line 1611 of file menu.c.
References channel, event, cTimers::GetMatch(), LOCK_CHANNELS_READ, LOCK_SCHEDULES_READ, cOsdItem::SetText(), cString::sprintf(), tfActive, timer, timerActive, timerMatch, TimerMatchChars, tmNone, Utf8SymChars(), and withDate.
Referenced by cMenuScheduleItem().
const cChannel* cMenuScheduleItem::channel |
Definition at line 1571 of file menu.c.
Referenced by cMenuScheduleItem(), cMenuWhatsOn::ProcessKey(), SetMenuItem(), and Update().
const cEvent* cMenuScheduleItem::event |
Definition at line 1570 of file menu.c.
Referenced by Compare(), cMenuWhatsOn::ProcessKey(), cMenuSchedule::Set(), cMenuSchedule::SetHelpKeys(), cMenuWhatsOn::SetHelpKeys(), SetMenuItem(), cMenuSchedule::Switch(), cMenuWhatsOn::Switch(), and Update().
|
staticprivate |
Definition at line 1568 of file menu.c.
Referenced by Compare(), IncSortMode(), SetSortMode(), and SortMode().
const cTimer* cMenuScheduleItem::timer |
Definition at line 1572 of file menu.c.
Referenced by cMenuScheduleItem(), SetMenuItem(), and Update().
bool cMenuScheduleItem::timerActive |
Definition at line 1575 of file menu.c.
Referenced by cMenuScheduleItem(), and Update().
eTimerMatch cMenuScheduleItem::timerMatch |
Definition at line 1574 of file menu.c.
Referenced by cMenuScheduleItem(), cMenuSchedule::SetHelpKeys(), cMenuWhatsOn::SetHelpKeys(), SetMenuItem(), and Update().
bool cMenuScheduleItem::withDate |
Definition at line 1573 of file menu.c.
Referenced by cMenuScheduleItem(), SetMenuItem(), and Update().