[longomatch] Set de default background opacity for text to 80%



commit d35e4bfd40eaad58a4973025aff5086f4c8770f6
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon Dec 1 01:12:46 2014 +0100

    Set de default background opacity for text to 80%

 LongoMatch.GUI/Gui/Dialog/DrawingTool.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Dialog/DrawingTool.cs b/LongoMatch.GUI/Gui/Dialog/DrawingTool.cs
index 8d45c6d..aa3a784 100644
--- a/LongoMatch.GUI/Gui/Dialog/DrawingTool.cs
+++ b/LongoMatch.GUI/Gui/Dialog/DrawingTool.cs
@@ -92,7 +92,7 @@ namespace LongoMatch.Gui.Dialog
                        textcolorbutton.ColorSet += HandleTextColorSet;
                        textcolorbutton.Color = Misc.ToGdkColor (Color.White); 
                        backgroundcolorbutton.UseAlpha = true;
-                       backgroundcolorbutton.Alpha = 0;
+                       backgroundcolorbutton.Alpha = (ushort) (ushort.MaxValue * 0.8);
                        backgroundcolorbutton.ColorSet += HandleBackgroundColorSet;
                        backgroundcolorbutton.Color = Misc.ToGdkColor (Color.Green1); 
                        blackboard.Color = Color.Red1;


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