summaryrefslogtreecommitdiff
path: root/grapher/Models/AccelGUIFactory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'grapher/Models/AccelGUIFactory.cs')
-rw-r--r--grapher/Models/AccelGUIFactory.cs22
1 files changed, 19 insertions, 3 deletions
diff --git a/grapher/Models/AccelGUIFactory.cs b/grapher/Models/AccelGUIFactory.cs
index 5035598..b82cf59 100644
--- a/grapher/Models/AccelGUIFactory.cs
+++ b/grapher/Models/AccelGUIFactory.cs
@@ -26,6 +26,8 @@ namespace grapher.Models
Chart gainChartY,
ComboBox accelTypeDropX,
ComboBox accelTypeDropY,
+ ComboBox lutApplyDropdownX,
+ ComboBox lutApplyDropdownY,
Button writeButton,
ButtonBase toggleButton,
ToolStripMenuItem showVelocityGainToolStripMenuItem,
@@ -69,6 +71,8 @@ namespace grapher.Models
CheckBox gainSwitchY,
Panel lutPanelX,
Panel lutPanelY,
+ RichTextBox xLutPointsBox,
+ RichTextBox yLutPointsBox,
Label lockXYLabel,
Label sensitivityLabel,
Label rotationLabel,
@@ -129,7 +133,11 @@ namespace grapher.Models
Label domainActiveValueY,
Label rangeLabel,
Label rangeActiveValueX,
- Label rangeActiveValueY)
+ Label rangeActiveValueY,
+ Label lutApplyLabelX,
+ Label lutApplyLabelY,
+ Label lutApplyActiveValueX,
+ Label lutApplyActiveValueY)
{
fakeBox.Checked = false;
fakeBox.Hide();
@@ -339,7 +347,11 @@ namespace grapher.Models
exponentX,
midpointX,
lutTextX,
- new LUTPanelOptions(lutPanelX),
+ new LUTPanelOptions(lutPanelX, xLutPointsBox),
+ new LutApplyOptions(
+ lutApplyLabelX,
+ lutApplyDropdownX,
+ new ActiveValueLabel(lutApplyActiveValueX, activeValueTitleX)),
writeButton,
new ActiveValueLabel(accelTypeActiveLabelX, activeValueTitleX));
@@ -355,7 +367,11 @@ namespace grapher.Models
exponentY,
midpointY,
lutTextY,
- new LUTPanelOptions(lutPanelY),
+ new LUTPanelOptions(lutPanelY, yLutPointsBox),
+ new LutApplyOptions(
+ lutApplyLabelY,
+ lutApplyDropdownY,
+ new ActiveValueLabel(lutApplyActiveValueY, activeValueTitleY)),
writeButton,
new ActiveValueLabel(accelTypeActiveLabelY, activeValueTitleY));