summaryrefslogtreecommitdiff
path: root/grapher/Layouts/LogarithmLayout.cs
diff options
context:
space:
mode:
authorJacobPalecki <[email protected]>2020-09-21 14:20:18 -0700
committerGitHub <[email protected]>2020-09-21 14:20:18 -0700
commit4ec16a2ff35e0e910a13f92713d56d317b24e790 (patch)
treec4aead24d52e3002cfd3282ddd697a3766de405a /grapher/Layouts/LogarithmLayout.cs
parentMerge pull request #20 from JacobPalecki/GUI (diff)
parentx/y diff sens works (diff)
downloadrawaccel-4ec16a2ff35e0e910a13f92713d56d317b24e790.tar.xz
rawaccel-4ec16a2ff35e0e910a13f92713d56d317b24e790.zip
Merge pull request #21 from JacobPalecki/GUI
GUI: Icon, Separate X/Y sens mode, some fixes
Diffstat (limited to 'grapher/Layouts/LogarithmLayout.cs')
-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);
+ }
+ }
+}