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