diff options
Diffstat (limited to 'grapher/Layouts')
| -rw-r--r-- | grapher/Layouts/LUTLayout.cs | 3 | ||||
| -rw-r--r-- | grapher/Layouts/LayoutBase.cs | 11 |
2 files changed, 11 insertions, 3 deletions
diff --git a/grapher/Layouts/LUTLayout.cs b/grapher/Layouts/LUTLayout.cs index 37c336e..e570f6a 100644 --- a/grapher/Layouts/LUTLayout.cs +++ b/grapher/Layouts/LUTLayout.cs @@ -8,7 +8,7 @@ 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."; + public const string LUTLayoutText = "This mode is for advanced users only. Format: x1,y1;x2,y2;...xn,yn;"; /// <summary> /// String small enough to fit in active value label @@ -32,6 +32,7 @@ namespace grapher.Layouts MidpointLayout = new OptionLayout(false, string.Empty); LutTextLayout = new OptionLayout(true, LUTLayoutText); LutPanelLayout = new OptionLayout(true, string.Empty); + LutApplyOptionsLayout = new OptionLayout(true, string.Empty); } public override string ActiveName => LUTActiveName; diff --git a/grapher/Layouts/LayoutBase.cs b/grapher/Layouts/LayoutBase.cs index bc207d3..db914dc 100644 --- a/grapher/Layouts/LayoutBase.cs +++ b/grapher/Layouts/LayoutBase.cs @@ -30,6 +30,7 @@ namespace grapher.Layouts MidpointLayout = new OptionLayout(false, string.Empty); LutTextLayout = new OptionLayout(false, string.Empty); LutPanelLayout = new OptionLayout(false, string.Empty); + LutApplyOptionsLayout = new OptionLayout(false, string.Empty); GainSwitchOptionLayout = new OptionLayout(false, string.Empty); LogarithmicCharts = false; @@ -63,6 +64,8 @@ namespace grapher.Layouts protected OptionLayout LutPanelLayout { get; set; } + protected OptionLayout LutApplyOptionsLayout { get; set; } + protected OptionLayout GainSwitchOptionLayout { get; set; } public override string ToString() @@ -82,6 +85,7 @@ namespace grapher.Layouts IOption midpointOption, IOption lutTextOption, IOption lutPanelOption, + IOption lutApplyOption, int top) { @@ -98,7 +102,8 @@ namespace grapher.Layouts (ExponentLayout, expOption), (MidpointLayout, midpointOption), (LutTextLayout, lutTextOption), - (LutPanelLayout, lutPanelOption)}) + (LutPanelLayout, lutPanelOption), + (LutApplyOptionsLayout, lutApplyOption)}) { option.Item1.Layout(option.Item2); @@ -129,7 +134,8 @@ namespace grapher.Layouts IOption expOption, IOption midpointOption, IOption lutTextOption, - IOption lutPanelOption) + IOption lutPanelOption, + IOption lutApplyOption) { Layout(gainSwitchOption, accelOption, @@ -142,6 +148,7 @@ namespace grapher.Layouts midpointOption, lutTextOption, lutPanelOption, + lutApplyOption, accelOption.Top); } } |