summaryrefslogtreecommitdiff
path: root/grapher/Layouts/LUTLayout.cs
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-09-22 20:49:04 -0400
committerGitHub <[email protected]>2021-09-22 20:49:04 -0400
commit8a4b6f57758338d5537d4671184099a4728a8cdd (patch)
treedf36529a344d5d21ff11f5ba021ec80afb4b68a4 /grapher/Layouts/LUTLayout.cs
parentMerge pull request #87 from matthewstrasiotto/streamer_mode (diff)
parentimprove converter + docs (diff)
downloadrawaccel-8a4b6f57758338d5537d4671184099a4728a8cdd.tar.xz
rawaccel-8a4b6f57758338d5537d4671184099a4728a8cdd.zip
Merge pull request #105 from a1xd/1.5.x
v1.5
Diffstat (limited to 'grapher/Layouts/LUTLayout.cs')
-rw-r--r--grapher/Layouts/LUTLayout.cs42
1 files changed, 42 insertions, 0 deletions
diff --git a/grapher/Layouts/LUTLayout.cs b/grapher/Layouts/LUTLayout.cs
new file mode 100644
index 0000000..5848adb
--- /dev/null
+++ b/grapher/Layouts/LUTLayout.cs
@@ -0,0 +1,42 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace grapher.Layouts
+{
+ public class LUTLayout : LayoutBase
+ {
+ /// <summary>
+ /// String small enough to fit in active value label
+ /// </summary>
+ public const string LUTActiveName = "LUT";
+
+ public LUTLayout()
+ : base()
+ {
+ Name = "LookUpTable";
+ Mode = AccelMode.lut;
+
+ GainSwitchOptionLayout = new OptionLayout(false, string.Empty);
+ AccelLayout = new OptionLayout(false, Acceleration);
+ DecayRateLayout = new OptionLayout(false, string.Empty);
+ GrowthRateLayout = new OptionLayout(false, string.Empty);
+ SmoothLayout = new OptionLayout(false, string.Empty);
+ ScaleLayout = new OptionLayout(false, string.Empty);
+ CapLayout = new OptionLayout(false, Cap);
+ WeightLayout = new OptionLayout(false, Weight);
+ OffsetLayout = new OptionLayout(false, Offset);
+ LimitLayout = new OptionLayout(false, string.Empty);
+ PowerClassicLayout = new OptionLayout(false, string.Empty);
+ ExponentLayout = new OptionLayout(false, Exponent);
+ MidpointLayout = new OptionLayout(false, string.Empty);
+ LutTextLayout = new OptionLayout(true, string.Empty);
+ LutPanelLayout = new OptionLayout(true, string.Empty);
+ LutApplyOptionsLayout = new OptionLayout(true, string.Empty);
+ }
+
+ public override string ActiveName => LUTActiveName;
+ }
+}