[ease] Make focus translucent rather than white



commit 17a679dc7d7fb5f5df170a5987989e503e334a47
Author: Stéphane Maniaci <stephane maniaci gmail com>
Date:   Mon Aug 16 14:44:19 2010 -0500

    Make focus translucent rather than white

 ease/ease-player.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ease/ease-player.vala b/ease/ease-player.vala
index 92a8a38..b6c827b 100644
--- a/ease/ease-player.vala
+++ b/ease/ease-player.vala
@@ -42,7 +42,7 @@ internal class Ease.Player : Gtk.Window
 	
 	// constants
 	private const uint FADE_IN_TIME = 1000;
-	private const uint FOCUS_OPACITY = 100;
+	private const uint FOCUS_OPACITY = 150;
 	//FIXME : make it proportionnal
 	private const uint FOCUS_RADIUS = 100;
 
@@ -114,7 +114,7 @@ internal class Ease.Player : Gtk.Window
 
 		radial = new Cairo.Pattern.radial (0, 0, FOCUS_RADIUS,
 										   0, 0, 2*FOCUS_RADIUS);
-		radial.add_color_stop_rgb (0, 1, 1, 1);
+		radial.add_color_stop_rgba (0, 1, 1, 1, 0);
 		radial.add_color_stop_rgb (1, 0, 0, 0);
 
 		this.stage.add_actor (focus_circle);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]