diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2021-05-21 13:03:42 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2021-05-21 13:03:42 +0200 |
commit | 161fa8ead43e1ec234363af68f1c781d74aec3c0 (patch) | |
tree | 62ac6df0846fafb06a819e7a0d9ace7fcf7f1f57 | |
parent | 115eb9fdb4b9a75f79ab6bd1f6e4188a8515deb5 (diff) | |
download | vdr-161fa8ead43e1ec234363af68f1c781d74aec3c0.tar.gz vdr-161fa8ead43e1ec234363af68f1c781d74aec3c0.tar.bz2 |
The default for DEPRECATED_SKIN_SETITEMEVENT has been set to 0
-rw-r--r-- | HISTORY | 5 | ||||
-rw-r--r-- | skins.h | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -9700,3 +9700,8 @@ Video Disk Recorder Revision History functionality. However, it is recommended to use SetCurrentChannel(int ChannelNumber) instead. - The macro DEPRECATED_GETBITMAP and the related code has been removed. +- The default for DEPRECATED_SKIN_SETITEMEVENT has been set to 0, which means that + the function cSkinDisplayMenu::SetItemEvent() without the TimerActive parameter is + no longer available. You can add 'DEPRECATED_SKIN_SETITEMEVENT=1' when compiling in + order to restore this functionality. However, it is recommended to use the function + with the TimerActive parameter instead. @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: skins.h 4.6 2019/05/29 16:36:41 kls Exp $ + * $Id: skins.h 5.1 2021/05/21 13:03:42 kls Exp $ */ #ifndef __SKINS_H @@ -245,7 +245,7 @@ public: ///< The default implementation does nothing and returns false, which results in ///< a call to SetItem() with a proper text. #ifndef DEPRECATED_SKIN_SETITEMEVENT -#define DEPRECATED_SKIN_SETITEMEVENT 1 +#define DEPRECATED_SKIN_SETITEMEVENT 0 #endif #if DEPRECATED_SKIN_SETITEMEVENT virtual bool SetItemEvent(const cEvent *Event, int Index, bool Current, bool Selectable, const cChannel *Channel, bool WithDate, eTimerMatch TimerMatch) { return SetItemEvent(Event, Index, Current, Selectable, Channel, WithDate, TimerMatch, true); } |