using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace grapher.Layouts { public class LUTLayout : LayoutBase { public const string LUTLayoutText = "This mode is for advanced users only. We recommend setting points in the settings file with a script."; /// /// String small enough to fit in active value label /// 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, LUTLayoutText); LutPanelLayout = new OptionLayout(true, string.Empty); } public override string ActiveName => LUTActiveName; } }