diff options
| author | a1xd <[email protected]> | 2020-09-04 00:17:55 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-04 00:17:55 -0400 |
| commit | 159abe32fa9e903e1ac0a2c758d64c4b8e152c3d (patch) | |
| tree | 2230e353985551a21a25b09bfacb89467b52d165 /grapher/Form1.cs | |
| parent | Merge pull request #18 from a1xd/write-delay (diff) | |
| parent | Add offset options to GUI, make gain options default (diff) | |
| download | rawaccel-159abe32fa9e903e1ac0a2c758d64c4b8e152c3d.tar.xz rawaccel-159abe32fa9e903e1ac0a2c758d64c4b8e152c3d.zip | |
Merge pull request #19 from JacobPalecki/gainOffset
Add gain offset & 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, |