diff options
| author | Jacob Palecki <[email protected]> | 2020-09-03 20:10:43 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-09-03 20:10:43 -0700 |
| commit | 2fbc4b3d504962c2462d7aec98f5f389e5333164 (patch) | |
| tree | 2230e353985551a21a25b09bfacb89467b52d165 /grapher/Form1.cs | |
| parent | Refactor for nice gain offset (diff) | |
| download | rawaccel-2fbc4b3d504962c2462d7aec98f5f389e5333164.tar.xz rawaccel-2fbc4b3d504962c2462d7aec98f5f389e5333164.zip | |
Add offset options to GUI, make gain options default
Diffstat (limited to 'grapher/Form1.cs')
| -rw-r--r-- | grapher/Form1.cs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/grapher/Form1.cs b/grapher/Form1.cs index 37f67f8..ba0730c 100644 --- a/grapher/Form1.cs +++ b/grapher/Form1.cs @@ -104,6 +104,11 @@ namespace grapher new ActiveValueLabel(OffsetActiveLabel, ActiveValueTitle), "Offset"); + var offsetOptions = new OffsetOptions( + gainOffsetToolStripMenuItem, + legacyOffsetToolStripMenuItem, + offset); + // The name and layout of these options is handled by AccelerationOptions object. var acceleration = new Option( new Field(accelerationBox, this, 0), @@ -138,8 +143,8 @@ namespace grapher new ActiveValueLabel(AccelTypeActiveLabel, ActiveValueTitle)); var capOptions = new CapOptions( - sensitivityToolStripMenuItem, - velocityGainToolStripMenuItem, + gainCapToolStripMenuItem, + legacyCapToolStripMenuItem, cap, weight); @@ -163,7 +168,7 @@ namespace grapher rotation, weight, capOptions, - offset, + offsetOptions, acceleration, limitOrExponent, midpoint, |