summaryrefslogtreecommitdiff
path: root/grapher/Layouts/NaturalGainLayout.cs
diff options
context:
space:
mode:
Diffstat (limited to 'grapher/Layouts/NaturalGainLayout.cs')
-rw-r--r--grapher/Layouts/NaturalGainLayout.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/grapher/Layouts/NaturalGainLayout.cs b/grapher/Layouts/NaturalGainLayout.cs
index 0f9caf0..ae73c80 100644
--- a/grapher/Layouts/NaturalGainLayout.cs
+++ b/grapher/Layouts/NaturalGainLayout.cs
@@ -14,8 +14,13 @@ namespace grapher.Layouts
{
Name = "NaturalGain";
Index = (int)AccelMode.naturalgain;
- ShowOptions = new bool[] { true, true, true, false, false, true };
- OptionNames = new string[] { Offset, Acceleration, Limit, string.Empty, string.Empty, Weight};
+
+ AccelLayout = new OptionLayout(true, Acceleration);
+ CapLayout = new OptionLayout(false, string.Empty);
+ WeightLayout = new OptionLayout(false, string.Empty);
+ OffsetLayout = new OptionLayout(true, Offset);
+ LimExpLayout = new OptionLayout(true, Limit);
+ MidpointLayout = new OptionLayout(false, string.Empty);
}
}
}