diff options
| author | Jacob Palecki <[email protected]> | 2020-07-30 00:32:48 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-07-30 00:32:48 -0700 |
| commit | 20ea6f85cb0af56c13dabbfc3f65383af8793c7c (patch) | |
| tree | cd1bc1f551a8d981a660c68ffae88057d3dd91c9 /grapher/Form1.Designer.cs | |
| parent | Adde accel type switch (diff) | |
| download | rawaccel-20ea6f85cb0af56c13dabbfc3f65383af8793c7c.tar.xz rawaccel-20ea6f85cb0af56c13dabbfc3f65383af8793c7c.zip | |
Fix small bugs, add AccelOptions class
Diffstat (limited to 'grapher/Form1.Designer.cs')
| -rw-r--r-- | grapher/Form1.Designer.cs | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/grapher/Form1.Designer.cs b/grapher/Form1.Designer.cs index 09a4da3..b2bc052 100644 --- a/grapher/Form1.Designer.cs +++ b/grapher/Form1.Designer.cs @@ -1,4 +1,6 @@ -namespace grapher +using System.Linq; + +namespace grapher { partial class RawAcceleration { @@ -82,14 +84,7 @@ // accelTypeDrop // this.accelTypeDrop.FormattingEnabled = true; - this.accelTypeDrop.Items.AddRange(new object[] { - "Off", - "Linear", - "Classic", - "Natural", - "Logarithmic", - "Sigmoid", - "Power"}); + this.accelTypeDrop.Items.AddRange(AccelOptions.TypeToIndex.Keys.ToArray()); this.accelTypeDrop.Location = new System.Drawing.Point(14, 89); this.accelTypeDrop.Name = "accelTypeDrop"; this.accelTypeDrop.Size = new System.Drawing.Size(151, 21); |