summaryrefslogtreecommitdiff
path: root/grapher/Layouts
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-09-09 19:56:54 -0700
committerJacob Palecki <[email protected]>2020-09-09 19:56:54 -0700
commit9b4556c59f063e5c6816338c1608b354e1441fb0 (patch)
tree5232bf3bf9c3f0c75569a2f3a03262931e71e9bc /grapher/Layouts
parentFurther work on guide (diff)
downloadrawaccel-9b4556c59f063e5c6816338c1608b354e1441fb0.tar.xz
rawaccel-9b4556c59f063e5c6816338c1608b354e1441fb0.zip
Add improved logarithm style
Diffstat (limited to 'grapher/Layouts')
-rw-r--r--grapher/Layouts/LogarithmLayout.cs21
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);
+ }
+ }
+}