summaryrefslogtreecommitdiff
path: root/grapher/Form1.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-07-30 02:00:20 -0700
committerJacob Palecki <[email protected]>2020-07-30 02:00:20 -0700
commitf315e8160e984df93be6667929db34749aa25cfa (patch)
tree19684a4f515fc6185e750d7cca3424fa7d96937b /grapher/Form1.cs
parentFully use acceloptions (diff)
downloadrawaccel-f315e8160e984df93be6667929db34749aa25cfa.tar.xz
rawaccel-f315e8160e984df93be6667929db34749aa25cfa.zip
Use class heirarchy for layout types
Diffstat (limited to 'grapher/Form1.cs')
-rw-r--r--grapher/Form1.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/grapher/Form1.cs b/grapher/Form1.cs
index ecb6ead..93e0768 100644
--- a/grapher/Form1.cs
+++ b/grapher/Form1.cs
@@ -21,9 +21,12 @@ namespace grapher
ManagedAcceleration = new ManagedAccel(5, 0, 0.3, 1.25, 15);
AccelerationOptions = new AccelOptions(
accelTypeDrop,
- new Option(accelerationBox, constantOneLabel),
- new Option(limitBox, constantTwoLabel),
- new Option(midpointBox, constantThreeLabel));
+ new Option[]
+ {
+ new Option(accelerationBox, constantOneLabel),
+ new Option(limitBox, constantTwoLabel),
+ new Option(midpointBox, constantThreeLabel)
+ });
Sensitivity = new FieldXY(sensitivityBoxX, sensitivityBoxY, sensXYLock, this, 1);
Rotation = new Field(rotationBox, this, 0);
Weight = new FieldXY(weightBoxFirst, weightBoxSecond, weightXYLock, this, 1);