summaryrefslogtreecommitdiff
path: root/grapher/Layouts/LayoutBase.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2021-06-30 00:01:26 -0700
committerJacob Palecki <[email protected]>2021-06-30 00:01:26 -0700
commitabbe20f63aded56c4714766ca1b93183eafa062a (patch)
tree4b1a6e91b7c8c4fa3f017e4fc6880b932fb93dca /grapher/Layouts/LayoutBase.cs
parentFix high DPI issue (diff)
downloadrawaccel-abbe20f63aded56c4714766ca1b93183eafa062a.tar.xz
rawaccel-abbe20f63aded56c4714766ca1b93183eafa062a.zip
Add class for LUT apply type
Diffstat (limited to 'grapher/Layouts/LayoutBase.cs')
-rw-r--r--grapher/Layouts/LayoutBase.cs11
1 files changed, 9 insertions, 2 deletions
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);
}
}