summaryrefslogtreecommitdiff
path: root/grapher/Models/AccelGUIFactory.cs
diff options
context:
space:
mode:
authorMatthew Strasiotto <[email protected]>2021-05-01 20:20:28 +1000
committerMatthew Strasiotto <[email protected]>2021-05-01 20:20:28 +1000
commitc38b839833f45e53a3b371119ba1d10cf05c4ea0 (patch)
treecb60b74805cb92f07a110db34a3f98c9e57d47cb /grapher/Models/AccelGUIFactory.cs
parentadd menu item for streaming mode (diff)
downloadrawaccel-c38b839833f45e53a3b371119ba1d10cf05c4ea0.tar.xz
rawaccel-c38b839833f45e53a3b371119ba1d10cf05c4ea0.zip
Add streamingMode option to constructors down the chain
Diffstat (limited to 'grapher/Models/AccelGUIFactory.cs')
-rw-r--r--grapher/Models/AccelGUIFactory.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/grapher/Models/AccelGUIFactory.cs b/grapher/Models/AccelGUIFactory.cs
index 1c42c76..305445a 100644
--- a/grapher/Models/AccelGUIFactory.cs
+++ b/grapher/Models/AccelGUIFactory.cs
@@ -29,6 +29,7 @@ namespace grapher.Models
ButtonBase toggleButton,
ToolStripMenuItem showVelocityGainToolStripMenuItem,
ToolStripMenuItem showLastMouseMoveMenuItem,
+ ToolStripMenuItem streamingModeToolStripMenuItem,
ToolStripMenuItem velocityGainCapToolStripMenuItem,
ToolStripMenuItem legacyCapToolStripMenuItem,
ToolStripMenuItem gainOffsetToolStripMenuItem,
@@ -140,6 +141,7 @@ namespace grapher.Models
new ChartXY(gainChart, gainChartY, Constants.GainChartTitle),
showVelocityGainToolStripMenuItem,
showLastMouseMoveMenuItem,
+ streamingModeToolStripMenuItem,
writeButton,
accelCalculator);
@@ -402,6 +404,7 @@ namespace grapher.Models
autoWriteMenuItem,
showLastMouseMoveMenuItem,
showVelocityGainToolStripMenuItem,
+ streamingModeToolStripMenuItem,
deviceIdManager);
var mouseWatcher = new MouseWatcher(form, mouseLabel, accelCharts, settings);