summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-vdr-1.5.x.diff
blob: f6c112f36b0b2e02b8d887888b0d60ef67265c98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- control-image.c~	2007-05-18 12:00:59.000000000 +0200
+++ control-image.c	2007-06-11 15:38:54.000000000 +0200
@@ -194,7 +194,11 @@
 
 void cImageControl::FadeIn(void)
 {
-needsFastResponse = true;
+#if VDRVERSNUM >= 10500
+  SetNeedsFastResponse(true);
+#else
+  needsFastResponse = true;
+#endif
   int i;
   int alpha = 0;
   
@@ -237,13 +241,21 @@
   fd--;
   }
 
-needsFastResponse = false;
+#if VDRVERSNUM >= 10500
+  SetNeedsFastResponse(false);
+#else
+  needsFastResponse = false;
+#endif
 }
 
 
 void cImageControl::FadeOut(void)
 {
-needsFastResponse = true;
+#if VDRVERSNUM >= 10500
+  SetNeedsFastResponse(true);
+#else
+  needsFastResponse = true;
+#endif
   int i;
   int alpha = 255;
   int fd = 16;
@@ -283,7 +295,11 @@
   fd--;
   }
 
+#if VDRVERSNUM >= 10500
+  SetNeedsFastResponse(false);
+#else
   needsFastResponse = false;
+#endif
 }