rawaccel/grapher/Layouts/LinearLayout.cs
a1xd 115030165d generalize power start-from-1
starting output is determined by (gain) offset
2021-09-23 22:36:18 -04:00

32 lines
1.3 KiB
C#

using grapher.Models.Serialized;
namespace grapher.Layouts
{
public class LinearLayout : LayoutBase
{
public const string LinearName = "Linear";
public LinearLayout()
: base()
{
Name = LinearName;
Mode = AccelMode.classic;
GainSwitchOptionLayout = new OptionLayout(true, Gain);
ClassicCapLayout = new OptionLayout(true, CapType);
PowerCapLayout = new OptionLayout(false, string.Empty);
DecayRateLayout = new OptionLayout(false, string.Empty);
GrowthRateLayout = new OptionLayout(false, string.Empty);
SmoothLayout = new OptionLayout(false, string.Empty);
InputOffsetLayout = new OptionLayout(true, InputOffset);
LimitLayout = new OptionLayout(false, string.Empty);
PowerClassicLayout = new OptionLayout(false, string.Empty);
OutputOffsetLayout = new OptionLayout(false, string.Empty);
ExponentLayout = new OptionLayout(false, string.Empty);
MidpointLayout = new OptionLayout(false, string.Empty);
LutTextLayout = new OptionLayout(false, string.Empty);
LutPanelLayout = new OptionLayout(false, string.Empty);
LutApplyOptionsLayout = new OptionLayout(false, string.Empty);
}
}
}