summaryrefslogtreecommitdiff
path: root/grapher/Layouts/LUTLayout.cs
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-07-05 23:33:41 -0400
committera1xd <[email protected]>2021-07-05 23:33:41 -0400
commit31efc792f5895d7ef3533390875de3c480add996 (patch)
tree8db5b16a88f50448cb525ba8ae56801985294f63 /grapher/Layouts/LUTLayout.cs
parentMerge pull request #87 from matthewstrasiotto/streamer_mode (diff)
parentHandle power\exponent correctly in GUI (diff)
downloadrawaccel-31efc792f5895d7ef3533390875de3c480add996.tar.xz
rawaccel-31efc792f5895d7ef3533390875de3c480add996.zip
merge lut2
Diffstat (limited to 'grapher/Layouts/LUTLayout.cs')
-rw-r--r--grapher/Layouts/LUTLayout.cs38
1 files changed, 38 insertions, 0 deletions
diff --git a/grapher/Layouts/LUTLayout.cs b/grapher/Layouts/LUTLayout.cs
new file mode 100644
index 0000000..1e0037f
--- /dev/null
+++ b/grapher/Layouts/LUTLayout.cs
@@ -0,0 +1,38 @@
+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);
+ 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);
+ 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;
+ }
+}