diff options
| author | Jacob Palecki <[email protected]> | 2021-04-05 23:36:26 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2021-04-05 23:36:26 -0700 |
| commit | 019665015ab30893209ab49fea352405b144f0f8 (patch) | |
| tree | 92b929da43466d8c4b3b3fb2d9c53daf8eb0d05a /grapher/Models/AccelGUIFactory.cs | |
| parent | LUT GUI fixes (diff) | |
| download | rawaccel-019665015ab30893209ab49fea352405b144f0f8.tar.xz rawaccel-019665015ab30893209ab49fea352405b144f0f8.zip | |
Add gain switch
Diffstat (limited to 'grapher/Models/AccelGUIFactory.cs')
| -rw-r--r-- | grapher/Models/AccelGUIFactory.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/grapher/Models/AccelGUIFactory.cs b/grapher/Models/AccelGUIFactory.cs index e3a16b6..6e03293 100644 --- a/grapher/Models/AccelGUIFactory.cs +++ b/grapher/Models/AccelGUIFactory.cs @@ -68,6 +68,8 @@ namespace grapher.Models CheckBox fakeBox, CheckBox wholeCheckBox, CheckBox byComponentCheckBox, + CheckBox gainSwitchX, + CheckBox gainSwitchY, Label lockXYLabel, Label sensitivityLabel, Label rotationLabel, @@ -336,9 +338,12 @@ namespace grapher.Models var lutTextX = new TextOption(lutTextLabelX); var lutTextY = new TextOption(lutTextLabelY); + var gainSwitchOptionX = new CheckBoxOption(gainSwitchX); + var gainSwitchOptionY = new CheckBoxOption(gainSwitchY); var accelerationOptionsX = new AccelTypeOptions( accelTypeDropX, + gainSwitchOptionX, accelerationX, scaleX, capOptionsX, @@ -353,6 +358,7 @@ namespace grapher.Models var accelerationOptionsY = new AccelTypeOptions( accelTypeDropY, + gainSwitchOptionY, accelerationY, scaleY, capOptionsY, |