[chronojump] force sensor: Better line configuration for signal



commit 06bbc601312f7cad588c746924194db14e65835c
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Oct 26 08:38:50 2017 +0200

    force sensor: Better line configuration for signal

 src/gui/forceSensor.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gui/forceSensor.cs b/src/gui/forceSensor.cs
index 98c2143..f52662b 100644
--- a/src/gui/forceSensor.cs
+++ b/src/gui/forceSensor.cs
@@ -88,7 +88,9 @@ public partial class ChronoJumpWindow
 
                pen_black_force_capture = new Gdk.GC(force_capture_drawingarea.GdkWindow);
                pen_black_force_capture.Foreground = UtilGtk.BLACK;
-               pen_black_force_capture.SetLineAttributes (2, Gdk.LineStyle.Solid, Gdk.CapStyle.NotLast, 
Gdk.JoinStyle.Miter);
+               //pen_black_force_capture.SetLineAttributes (2, Gdk.LineStyle.Solid, Gdk.CapStyle.NotLast, 
Gdk.JoinStyle.Miter);
+               //this makes the lines less spiky:
+               pen_black_force_capture.SetLineAttributes (2, Gdk.LineStyle.Solid, Gdk.CapStyle.Round, 
Gdk.JoinStyle.Round);
 
                pen_red_force_capture = new Gdk.GC(force_capture_drawingarea.GdkWindow);
                pen_red_force_capture.Foreground = UtilGtk.RED_PLOTS;


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