diff options
| author | Jacob Palecki <[email protected]> | 2020-09-09 19:56:54 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-09-09 19:56:54 -0700 |
| commit | 9b4556c59f063e5c6816338c1608b354e1441fb0 (patch) | |
| tree | 5232bf3bf9c3f0c75569a2f3a03262931e71e9bc /grapher/Layouts | |
| parent | Further work on guide (diff) | |
| download | rawaccel-9b4556c59f063e5c6816338c1608b354e1441fb0.tar.xz rawaccel-9b4556c59f063e5c6816338c1608b354e1441fb0.zip | |
Add improved logarithm style
Diffstat (limited to 'grapher/Layouts')
| -rw-r--r-- | grapher/Layouts/LogarithmLayout.cs | 21 |
1 files changed, 21 insertions, 0 deletions
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); + } + } +} |