diff options
| author | Matthew Strasiotto <[email protected]> | 2021-05-01 20:20:28 +1000 |
|---|---|---|
| committer | Matthew Strasiotto <[email protected]> | 2021-05-01 20:20:28 +1000 |
| commit | c38b839833f45e53a3b371119ba1d10cf05c4ea0 (patch) | |
| tree | cb60b74805cb92f07a110db34a3f98c9e57d47cb /grapher/Models/Charts/AccelCharts.cs | |
| parent | add menu item for streaming mode (diff) | |
| download | rawaccel-c38b839833f45e53a3b371119ba1d10cf05c4ea0.tar.xz rawaccel-c38b839833f45e53a3b371119ba1d10cf05c4ea0.zip | |
Add streamingMode option to constructors down the chain
Diffstat (limited to 'grapher/Models/Charts/AccelCharts.cs')
| -rw-r--r-- | grapher/Models/Charts/AccelCharts.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/grapher/Models/Charts/AccelCharts.cs b/grapher/Models/Charts/AccelCharts.cs index 65c636b..9069886 100644 --- a/grapher/Models/Charts/AccelCharts.cs +++ b/grapher/Models/Charts/AccelCharts.cs @@ -18,6 +18,7 @@ namespace grapher ChartXY gainChart, ToolStripMenuItem enableVelocityAndGain, ToolStripMenuItem enableLastMouseMove, + ToolStripMenuItem enableStreamingMode, Button writeButton, AccelCalculator accelCalculator) { @@ -37,6 +38,8 @@ namespace grapher ContainingForm = form; EnableVelocityAndGain = enableVelocityAndGain; EnableLastValue = enableLastMouseMove; + EnableStreamingMode = enableStreamingMode; + WriteButton = writeButton; EnableVelocityAndGain.Click += new System.EventHandler(OnEnableClick); @@ -57,6 +60,8 @@ namespace grapher public ToolStripMenuItem EnableVelocityAndGain { get; } + public ToolStripMenuItem EnableStreamingMode { get; } + private ToolStripMenuItem EnableLastValue { get; } private Button WriteButton { get; } |