summaryrefslogtreecommitdiff
path: root/grapher/Layouts/LayoutBase.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2021-04-25 23:05:44 -0700
committerJacob Palecki <[email protected]>2021-04-25 23:05:44 -0700
commit0cf5ce3762926fa556418572e9661d79cbbaa240 (patch)
treef5dd9c5c77acf0f4a8d910636660bed93f8fb16b /grapher/Layouts/LayoutBase.cs
parentFixed layout issues for LUT (diff)
downloadrawaccel-0cf5ce3762926fa556418572e9661d79cbbaa240.tar.xz
rawaccel-0cf5ce3762926fa556418572e9661d79cbbaa240.zip
Start of LUT points editing
Diffstat (limited to 'grapher/Layouts/LayoutBase.cs')
-rw-r--r--grapher/Layouts/LayoutBase.cs15
1 files changed, 11 insertions, 4 deletions
diff --git a/grapher/Layouts/LayoutBase.cs b/grapher/Layouts/LayoutBase.cs
index 82d10d8..bc207d3 100644
--- a/grapher/Layouts/LayoutBase.cs
+++ b/grapher/Layouts/LayoutBase.cs
@@ -28,7 +28,8 @@ namespace grapher.Layouts
LimitLayout = new OptionLayout(false, string.Empty);
ExponentLayout = new OptionLayout(false, string.Empty);
MidpointLayout = new OptionLayout(false, string.Empty);
- LUTTextLayout = new OptionLayout(false, string.Empty);
+ LutTextLayout = new OptionLayout(false, string.Empty);
+ LutPanelLayout = new OptionLayout(false, string.Empty);
GainSwitchOptionLayout = new OptionLayout(false, string.Empty);
LogarithmicCharts = false;
@@ -58,7 +59,9 @@ namespace grapher.Layouts
protected OptionLayout MidpointLayout { get; set; }
- protected OptionLayout LUTTextLayout { get; set; }
+ protected OptionLayout LutTextLayout { get; set; }
+
+ protected OptionLayout LutPanelLayout { get; set; }
protected OptionLayout GainSwitchOptionLayout { get; set; }
@@ -78,6 +81,7 @@ namespace grapher.Layouts
IOption expOption,
IOption midpointOption,
IOption lutTextOption,
+ IOption lutPanelOption,
int top)
{
@@ -93,7 +97,8 @@ namespace grapher.Layouts
(LimitLayout, limitOption),
(ExponentLayout, expOption),
(MidpointLayout, midpointOption),
- (LUTTextLayout, lutTextOption)})
+ (LutTextLayout, lutTextOption),
+ (LutPanelLayout, lutPanelOption)})
{
option.Item1.Layout(option.Item2);
@@ -123,7 +128,8 @@ namespace grapher.Layouts
IOption limitOption,
IOption expOption,
IOption midpointOption,
- IOption lutTextOption)
+ IOption lutTextOption,
+ IOption lutPanelOption)
{
Layout(gainSwitchOption,
accelOption,
@@ -135,6 +141,7 @@ namespace grapher.Layouts
expOption,
midpointOption,
lutTextOption,
+ lutPanelOption,
accelOption.Top);
}
}