1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

The default for DEPRECATED_SKIN_SETITEMEVENT has been set to 0

This commit is contained in:
Klaus Schmidinger 2021-05-21 13:03:42 +02:00
parent 115eb9fdb4
commit 161fa8ead4
2 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -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); }