[chronojump] ForceSensorAnalyze max avg force in window shown with segment with bars
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] ForceSensorAnalyze max avg force in window shown with segment with bars
- Date: Mon, 15 Feb 2021 17:37:18 +0000 (UTC)
commit 736f605ae9b84731d9507266e73c76be88d7eb1d
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Feb 15 18:36:45 2021 +0100
ForceSensorAnalyze max avg force in window shown with segment with bars
src/gui/app1/forceSensorAnalyze.cs | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/app1/forceSensorAnalyze.cs b/src/gui/app1/forceSensorAnalyze.cs
index e47e6d47..5cfa99b7 100644
--- a/src/gui/app1/forceSensorAnalyze.cs
+++ b/src/gui/app1/forceSensorAnalyze.cs
@@ -1112,10 +1112,19 @@ public partial class ChronoJumpWindow
if(fsAI.ForceMaxAvgInWindowError == "")
{
int yPx = fsAI.FscAIPoints.GetForceInPx(fsAI.ForceMaxAvgInWindow);
+
CairoUtil.PaintSegment(force_sensor_ai_drawingarea,
- new Cairo.Color(0/256.0, 256/256.0, 0/256.0),
+ new Cairo.Color(0/256.0, 200/256.0, 0/256.0),
fsAI.GetXFromSampleCount(fsAI.ForceMaxAvgInWindowSampleStart), yPx,
fsAI.GetXFromSampleCount(fsAI.ForceMaxAvgInWindowSampleEnd),
yPx);
+ CairoUtil.PaintSegment(force_sensor_ai_drawingarea,
+ new Cairo.Color(0/256.0, 200/256.0, 0/256.0),
+
fsAI.GetXFromSampleCount(fsAI.ForceMaxAvgInWindowSampleStart), yPx-10,
+
fsAI.GetXFromSampleCount(fsAI.ForceMaxAvgInWindowSampleStart), yPx+10);
+ CairoUtil.PaintSegment(force_sensor_ai_drawingarea,
+ new Cairo.Color(0/256.0, 200/256.0, 0/256.0),
+ fsAI.GetXFromSampleCount(fsAI.ForceMaxAvgInWindowSampleEnd),
yPx-10,
+ fsAI.GetXFromSampleCount(fsAI.ForceMaxAvgInWindowSampleEnd),
yPx+10);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]