[chronojump] Removed red colorize of 1sts/lasts values on forceSensorDynamics elastic
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Removed red colorize of 1sts/lasts values on forceSensorDynamics elastic
- Date: Mon, 18 Nov 2019 11:35:41 +0000 (UTC)
commit ed554ba797c6cfcee341c576c7e88e7711ebeec6
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Nov 18 12:34:47 2019 +0100
Removed red colorize of 1sts/lasts values on forceSensorDynamics elastic
No needed now because that values are removed.
src/gui/forceSensorAnalyze.cs | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/src/gui/forceSensorAnalyze.cs b/src/gui/forceSensorAnalyze.cs
index 77b0a4ba..af43dc09 100644
--- a/src/gui/forceSensorAnalyze.cs
+++ b/src/gui/forceSensorAnalyze.cs
@@ -925,10 +925,6 @@ public partial class ChronoJumpWindow
//if(fsAI.CalculedElasticPSAP && (instant > 2 && instant < fsAI.GetLength()
-3))
if(fsAI.CalculedElasticPSAP)
{
- Gdk.GC pen_temp = pen_blue_force_ai;
- if(instant <= 2 || instant >= fsAI.GetLength() -3)
- pen_temp = pen_red_force_ai;
-
//position
layout_force_ai_text.SetMarkup(string.Format("Position: {0:0.###} m",
Math.Round(fsAI.Position_l[instant], 3)));
@@ -936,7 +932,7 @@ public partial class ChronoJumpWindow
textHeight = 1;
layout_force_ai_text.GetPixelSize(out textWidth, out textHeight);
verticalPos += 40;
- force_sensor_ai_pixmap.DrawLayout (pen_temp,
+ force_sensor_ai_pixmap.DrawLayout (pen_blue_force_ai,
allocation.Width -textWidth -10, allocation.Height/2
+ verticalPos,
layout_force_ai_text);
@@ -947,7 +943,7 @@ public partial class ChronoJumpWindow
textHeight = 1;
layout_force_ai_text.GetPixelSize(out textWidth, out textHeight);
verticalPos += 20;
- force_sensor_ai_pixmap.DrawLayout (pen_temp,
+ force_sensor_ai_pixmap.DrawLayout (pen_blue_force_ai,
allocation.Width -textWidth -10, allocation.Height/2
+ verticalPos,
layout_force_ai_text);
@@ -958,7 +954,7 @@ public partial class ChronoJumpWindow
textHeight = 1;
verticalPos += 20;
layout_force_ai_text.GetPixelSize(out textWidth, out textHeight);
- force_sensor_ai_pixmap.DrawLayout (pen_temp,
+ force_sensor_ai_pixmap.DrawLayout (pen_blue_force_ai,
allocation.Width -textWidth -10, allocation.Height/2
+ verticalPos,
layout_force_ai_text);
@@ -969,7 +965,7 @@ public partial class ChronoJumpWindow
textHeight = 1;
verticalPos += 20;
layout_force_ai_text.GetPixelSize(out textWidth, out textHeight);
- force_sensor_ai_pixmap.DrawLayout (pen_temp,
+ force_sensor_ai_pixmap.DrawLayout (pen_blue_force_ai,
allocation.Width -textWidth -10, allocation.Height/2
+ verticalPos,
layout_force_ai_text);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]