diff options
Diffstat (limited to 'grapher/Models')
| -rw-r--r-- | grapher/Models/AccelGUIFactory.cs | 5 | ||||
| -rw-r--r-- | grapher/Models/Options/AccelTypeOptions.cs | 8 |
2 files changed, 12 insertions, 1 deletions
diff --git a/grapher/Models/AccelGUIFactory.cs b/grapher/Models/AccelGUIFactory.cs index 1c42c76..c8446f0 100644 --- a/grapher/Models/AccelGUIFactory.cs +++ b/grapher/Models/AccelGUIFactory.cs @@ -85,6 +85,7 @@ namespace grapher.Models Label limitLabelY, Label expLabelX, Label expLabelY, + Label lutTextLabel, Label constantThreeLabelX, Label constantThreeLabelY, Label activeValueTitleX, @@ -332,6 +333,8 @@ namespace grapher.Models legacyCapToolStripMenuItem, capY); + var lutText = new TextOption(lutTextLabel); + var accelerationOptionsX = new AccelTypeOptions( accelTypeDropX, accelerationX, @@ -342,6 +345,7 @@ namespace grapher.Models limitX, exponentX, midpointX, + lutText, writeButton, new ActiveValueLabel(accelTypeActiveLabelX, activeValueTitleX)); @@ -355,6 +359,7 @@ namespace grapher.Models limitY, exponentY, midpointY, + lutText, writeButton, new ActiveValueLabel(accelTypeActiveLabelY, activeValueTitleY)); diff --git a/grapher/Models/Options/AccelTypeOptions.cs b/grapher/Models/Options/AccelTypeOptions.cs index aeada3f..7e2e3d7 100644 --- a/grapher/Models/Options/AccelTypeOptions.cs +++ b/grapher/Models/Options/AccelTypeOptions.cs @@ -19,7 +19,8 @@ namespace grapher new NaturalLayout(), new PowerLayout(), new MotivityLayout(), - new OffLayout() + new OffLayout(), + new LUTLayout(), }.ToDictionary(k => k.Name); public static readonly ManagedAccel DefaultSettings = new ManagedAccel(); @@ -38,6 +39,7 @@ namespace grapher Option limit, Option exponent, Option midpoint, + TextOption lutText, Button writeButton, ActiveValueLabel accelTypeActiveValue) { @@ -56,6 +58,7 @@ namespace grapher Midpoint = midpoint; WriteButton = writeButton; AccelTypeActiveValue = accelTypeActiveValue; + LutText = lutText; AccelTypeActiveValue.Left = AccelDropdown.Left + AccelDropdown.Width; AccelTypeActiveValue.Height = AccelDropdown.Height; @@ -101,6 +104,8 @@ namespace grapher public Option Midpoint { get; } + public TextOption LutText { get; } + public override int Top { get @@ -290,6 +295,7 @@ namespace grapher Limit, Exponent, Midpoint, + LutText, top); } |