summaryrefslogtreecommitdiff
path: root/grapher/Form1.Designer.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-07-30 00:32:48 -0700
committerJacob Palecki <[email protected]>2020-07-30 00:32:48 -0700
commit20ea6f85cb0af56c13dabbfc3f65383af8793c7c (patch)
treecd1bc1f551a8d981a660c68ffae88057d3dd91c9 /grapher/Form1.Designer.cs
parentAdde accel type switch (diff)
downloadrawaccel-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.cs13
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);