vdr
2.0.2
|
Public Types | |
enum | eScheduleSortMode { ssmAllThis, ssmThisThis, ssmThisAll, ssmAllAll } |
Public Member Functions | |
cMenuScheduleItem (const cEvent *Event, cChannel *Channel=NULL, bool WithDate=false) | |
virtual int | Compare (const cListObject &ListObject) const |
bool | Update (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 |
Static Private Attributes | |
static eScheduleSortMode | sortMode = ssmAllThis |
Additional Inherited Members | |
![]() | |
bool | fresh |
|
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 1497 of file menu.c.
References event, sortMode, ssmAllThis, cEvent::StartTime(), and cEvent::Title().
|
inlinestatic |
Definition at line 1479 of file menu.c.
References sortMode, ssmAllAll, and ssmAllThis.
Referenced by cMenuSchedule::Number().
|
virtual |
Reimplemented from cOsdItem.
Definition at line 1534 of file menu.c.
References channel, event, cSkinDisplayMenu::SetItem(), cSkinDisplayMenu::SetItemEvent(), cOsdItem::Text(), timerMatch, and withDate.
|
inlinestatic |
Definition at line 1478 of file menu.c.
References sortMode, and SortMode().
Referenced by cMenuSchedule::cMenuSchedule(), and cMenuSchedule::ProcessKey().
|
inlinestatic |
Definition at line 1480 of file menu.c.
References sortMode.
Referenced by cMenuSchedule::Number(), and SetSortMode().
bool cMenuScheduleItem::Update | ( | bool | Force = false | ) |
Definition at line 1510 of file menu.c.
References channel, event, cTimers::GetMatch(), cEvent::GetTimeString(), cChannel::Number(), cOsdItem::SetText(), cChannel::ShortName(), cString::sprintf(), timerMatch, TimerMatchChars, Timers, Utf8SymChars(), and withDate.
Referenced by cMenuScheduleItem().
const cChannel* cMenuScheduleItem::channel |
Definition at line 1474 of file menu.c.
Referenced by cMenuScheduleItem(), cMenuWhatsOn::ProcessKey(), SetMenuItem(), and Update().
const cEvent* cMenuScheduleItem::event |
Definition at line 1473 of file menu.c.
Referenced by Compare(), cMenuSchedule::Number(), cMenuWhatsOn::ProcessKey(), cMenuWhatsOn::Record(), cMenuSchedule::Record(), SetMenuItem(), cMenuWhatsOn::Switch(), and Update().
|
staticprivate |
Definition at line 1471 of file menu.c.
Referenced by Compare(), IncSortMode(), SetSortMode(), and SortMode().
eTimerMatch cMenuScheduleItem::timerMatch |
Definition at line 1476 of file menu.c.
Referenced by cMenuScheduleItem(), cMenuWhatsOn::Record(), cMenuSchedule::Record(), cMenuWhatsOn::SetHelpKeys(), cMenuSchedule::SetHelpKeys(), SetMenuItem(), and Update().
bool cMenuScheduleItem::withDate |
Definition at line 1475 of file menu.c.
Referenced by cMenuScheduleItem(), SetMenuItem(), and Update().