vdr 2.7.5
|
#include <menuitems.h>
Public Member Functions | |
cMenuEditDateItem (const char *Name, time_t *Value, int *WeekDays=NULL) | |
void | ToggleRepeating (void) |
virtual eOSState | ProcessKey (eKeys Key) override |
Public Member Functions inherited from cMenuEditItem | |
cMenuEditItem (const char *Name) | |
~cMenuEditItem () | |
void | SetValue (const char *Value) |
bool | DisplayHelp (bool Current) |
Public Member Functions inherited from cOsdItem | |
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 | SetMenuItem (cSkinDisplayMenu *DisplayMenu, int Index, bool Current, bool Selectable) |
Public Member Functions inherited from cListObject | |
cListObject (void) | |
virtual | ~cListObject () |
virtual int | Compare (const cListObject &ListObject) const |
void | Append (cListObject *Object) |
void | Insert (cListObject *Object) |
void | Unlink (void) |
int | Index (void) const |
cListObject * | Prev (void) const |
cListObject * | Next (void) const |
Private Member Functions | |
int | FindDayIndex (int WeekDays) |
virtual void | Set (void) override |
Private Attributes | |
time_t * | value |
int * | weekdays |
time_t | oldvalue |
int | oldweekdays |
int | dayindex |
Static Private Attributes | |
static int | days [] |
Additional Inherited Members | |
Protected Member Functions inherited from cMenuEditItem | |
void | SetHelp (const char *Red, const char *Green=NULL, const char *Yellow=NULL, const char *Blue=NULL) |
Protected Attributes inherited from cOsdItem | |
bool | fresh |
Definition at line 189 of file menuitems.h.
cMenuEditDateItem::cMenuEditDateItem | ( | const char * | Name, |
time_t * | Value, | ||
int * | WeekDays = NULL ) |
Definition at line 957 of file menuitems.c.
References cMenuEditItem::cMenuEditItem(), dayindex, FindDayIndex(), oldvalue, oldweekdays, Set(), value, and weekdays.
|
private |
Definition at line 968 of file menuitems.c.
References days.
Referenced by cMenuEditDateItem(), and ToggleRepeating().
Reimplemented from cOsdItem.
Definition at line 1015 of file menuitems.c.
References dayindex, days, k0, k1, k7, kLeft, kRight, NORMALKEY, osContinue, osUnknown, cOsdItem::ProcessKey(), SECSINDAY, Set(), cTimer::SetTime(), cOsdItem::state, ToggleRepeating(), value, and weekdays.
|
overrideprivatevirtual |
Reimplemented from cOsdItem.
Definition at line 976 of file menuitems.c.
References DATEBUFFERSIZE, cTimer::PrintDay(), cMenuEditItem::SetValue(), value, WeekDayName(), and weekdays.
Referenced by cMenuEditDateItem(), ProcessKey(), and ToggleRepeating().
void cMenuEditDateItem::ToggleRepeating | ( | void | ) |
Definition at line 995 of file menuitems.c.
References dayindex, days, FindDayIndex(), cTimer::GetWDay(), oldvalue, oldweekdays, Set(), cTimer::SetTime(), value, and weekdays.
Referenced by ProcessKey().
|
private |
Definition at line 196 of file menuitems.h.
Referenced by cMenuEditDateItem(), ProcessKey(), and ToggleRepeating().
|
staticprivate |
Definition at line 944 of file menuitems.h.
Referenced by FindDayIndex(), ProcessKey(), and ToggleRepeating().
|
private |
Definition at line 194 of file menuitems.h.
Referenced by cMenuEditDateItem(), and ToggleRepeating().
|
private |
Definition at line 195 of file menuitems.h.
Referenced by cMenuEditDateItem(), and ToggleRepeating().
|
private |
Definition at line 192 of file menuitems.h.
Referenced by cMenuEditDateItem(), ProcessKey(), Set(), and ToggleRepeating().
|
private |
Definition at line 193 of file menuitems.h.
Referenced by cMenuEditDateItem(), ProcessKey(), Set(), and ToggleRepeating().