From 9b4556c59f063e5c6816338c1608b354e1441fb0 Mon Sep 17 00:00:00 2001 From: Jacob Palecki Date: Wed, 9 Sep 2020 19:56:54 -0700 Subject: Add improved logarithm style --- grapher/Layouts/LogarithmLayout.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 grapher/Layouts/LogarithmLayout.cs (limited to 'grapher/Layouts/LogarithmLayout.cs') diff --git a/grapher/Layouts/LogarithmLayout.cs b/grapher/Layouts/LogarithmLayout.cs new file mode 100644 index 0000000..5b25d60 --- /dev/null +++ b/grapher/Layouts/LogarithmLayout.cs @@ -0,0 +1,21 @@ +using grapher.Models.Serialized; + +namespace grapher.Layouts +{ + public class LogarithmLayout : LayoutBase + { + public LogarithmLayout () + : base() + { + Name = "Logarithm"; + Index = (int)AccelMode.logarithm; + + AccelLayout = new OptionLayout(true, Scale); + CapLayout = new OptionLayout(true, Cap); + WeightLayout = new OptionLayout(true, Weight); + OffsetLayout = new OptionLayout(true, Offset); + LimExpLayout = new OptionLayout(false, string.Empty); + MidpointLayout = new OptionLayout(false, string.Empty); + } + } +} -- cgit v1.2.3