Project

General

Profile

Support #2516 ยป vdr238.patch

nanohcv, 08/12/2017 11:22 AM

View differences:

a/displaymenu.h 2017-07-01 11:33:48.170307000 +0200
int DrawMainMenuWidgetCommand(int wLeft, int wWidth, int ContentTop);
int DrawMainMenuWidgetWeather(int wLeft, int wWidth, int ContentTop);
public:
#ifdef DEPRECATED_SKIN_SETITEMEVENT
using cSkinDisplayMenu::SetItemEvent;
#endif
cFlatDisplayMenu(void);
virtual ~cFlatDisplayMenu();
virtual void Scroll(bool Up, bool Page);
......
virtual void SetMessage(eMessageType Type, const char *Text);
virtual void SetItem(const char *Text, int Index, bool Current, bool Selectable);
virtual bool SetItemEvent(const cEvent *Event, int Index, bool Current, bool Selectable, const cChannel *Channel, bool WithDate, eTimerMatch TimerMatch);
virtual bool SetItemEvent(const cEvent *Event, int Index, bool Current, bool Selectable, const cChannel *Channel, bool WithDate, eTimerMatch TimerMatch, bool TimerActive);
virtual bool SetItemTimer(const cTimer *Timer, int Index, bool Current, bool Selectable);
virtual bool SetItemChannel(const cChannel *Channel, int Index, bool Current, bool Selectable, bool WithProvider);
virtual bool SetItemRecording(const cRecording *Recording, int Index, bool Current, bool Selectable, int Level, int Total, int New);
-- b/displaymenu.c.ori 2017-07-01 12:16:10.765374000 +0200
++ a/displaymenu.c 2017-07-01 10:21:28.766177000 +0200
......
return true;
}
bool cFlatDisplayMenu::SetItemEvent(const cEvent *Event, int Index, bool Current, bool Selectable, const cChannel *Channel, bool WithDate, eTimerMatch TimerMatch) {
bool cFlatDisplayMenu::SetItemEvent(const cEvent *Event, int Index, bool Current, bool Selectable, const cChannel *Channel, bool WithDate, eTimerMatch TimerMatch, bool TimerActive) {
if( Config.MenuEventView == 0 )
return false;
    (1-1/1)