vdr 2.6.9
|
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) |
![]() | |
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) |
![]() | |
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 | |
![]() | |
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(), cEvent::StartTime(), 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(), cMenuSchedule::Set(), cMenuSchedule::SetHelpKeys(), cMenuWhatsOn::SetHelpKeys(), SetMenuItem(), cMenuSchedule::Switch(), cMenuWhatsOn::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(), cMenuSchedule::SetHelpKeys(), cMenuWhatsOn::SetHelpKeys(), SetMenuItem(), and Update().
bool cMenuScheduleItem::withDate |
Definition at line 1563 of file menu.c.
Referenced by cMenuScheduleItem(), SetMenuItem(), and Update().