summaryrefslogtreecommitdiff
path: root/grapher/Layouts/LUTLayout.cs
blob: 5848adb6c81ccc08ab476227d280cd3c9dd44ea6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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;
    }
}