summaryrefslogtreecommitdiff
blob: d70d006ed1fd7f180f7565268633d800a11dc002 (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
--- control-image.c~	2007-05-18 14:08:11.000000000 +0200
+++ control-image.c	2007-06-09 16:40:18.000000000 +0200
@@ -251,7 +251,11 @@
 
 void cImageControl::FadeIn(void)
 {
+#if VDRVERSNUM >= 10500
+  SetNeedsFastResponse(true);
+#else
   needsFastResponse = true;
+#endif
 
   int i;
   int alpha = 0;
@@ -279,13 +283,21 @@
     fd--;
   }
 
+#if VDRVERSNUM >= 10500
+  SetNeedsFastResponse(false);
+#else
   needsFastResponse = false;
+#endif
 }
 
 
 void cImageControl::FadeOut(void)
 {
+#if VDRVERSNUM >= 10500
+  SetNeedsFastResponse(true);
+#else
   needsFastResponse = true;
+#endif
 
   int i;
   int alpha = 255;
@@ -312,7 +324,11 @@
     fd--;
   }
 
+#if VDRVERSNUM >= 10500
+  SetNeedsFastResponse(false);
+#else
   needsFastResponse = false;
+#endif
 }