summaryrefslogtreecommitdiff
path: root/grapher/Models/AccelGUIFactory.cs
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-09-19 02:08:06 -0400
committera1xd <[email protected]>2021-09-23 22:37:02 -0400
commit4c4eabc0cb85cfef22900773649d96f610bb25dc (patch)
tree3a2918f93b7fcfb856b6f00c8399fece3860f8b7 /grapher/Models/AccelGUIFactory.cs
parentfix input checks (diff)
downloadrawaccel-4c4eabc0cb85cfef22900773649d96f610bb25dc.tar.xz
rawaccel-4c4eabc0cb85cfef22900773649d96f610bb25dc.zip
fix jump fields
Diffstat (limited to 'grapher/Models/AccelGUIFactory.cs')
-rw-r--r--grapher/Models/AccelGUIFactory.cs52
1 files changed, 52 insertions, 0 deletions
diff --git a/grapher/Models/AccelGUIFactory.cs b/grapher/Models/AccelGUIFactory.cs
index bb65541..e7ae672 100644
--- a/grapher/Models/AccelGUIFactory.cs
+++ b/grapher/Models/AccelGUIFactory.cs
@@ -54,6 +54,10 @@ namespace grapher.Models
TextBox inCapBoxYPower,
TextBox outCapBoxXPower,
TextBox outCapBoxYPower,
+ TextBox inputJumpBoxX,
+ TextBox inputJumpBoxY,
+ TextBox outputJumpBoxX,
+ TextBox outputJumpBoxY,
TextBox inputOffsetBoxX,
TextBox inputOffsetBoxY,
TextBox outputOffsetBoxX,
@@ -108,6 +112,10 @@ namespace grapher.Models
Label outCapLabelYPower,
Label capTypeLabelXPower,
Label capTypeLabelYPower,
+ Label inputJumpLabelX,
+ Label inputJumpLabelY,
+ Label outputJumpLabelX,
+ Label outputJumpLabelY,
Label inputOffsetLabelX,
Label inputOffsetLabelY,
Label outputOffsetLabelX,
@@ -149,6 +157,10 @@ namespace grapher.Models
Label outCapActiveYLabelPower,
Label capTypeActiveXLabelPower,
Label capTypeActiveYLabelPower,
+ Label inputJumpActiveLabelX,
+ Label inputJumpActiveLabelY,
+ Label outputJumpActiveLabelX,
+ Label outputJumpActiveLabelY,
Label inputOffsetActiveLabelX,
Label inputOffsetActiveLabelY,
Label outputOffsetActiveLabelX,
@@ -247,6 +259,42 @@ namespace grapher.Models
var directionalityLeft = directionalityPanel.Left;
+ var inputJumpX = new Option(
+ inputJumpBoxX,
+ form,
+ 0,
+ inputJumpLabelX,
+ 0,
+ new ActiveValueLabel(inputJumpActiveLabelX, activeValueTitleX),
+ "Jump");
+
+ var inputJumpY = new Option(
+ inputJumpBoxY,
+ form,
+ 0,
+ inputJumpLabelY,
+ optionSetYLeft,
+ new ActiveValueLabel(inputJumpActiveLabelY, activeValueTitleY),
+ "Jump");
+
+ var outputJumpX = new Option(
+ outputJumpBoxX,
+ form,
+ 0,
+ outputJumpLabelX,
+ 0,
+ new ActiveValueLabel(outputJumpActiveLabelX, activeValueTitleX),
+ "Jump");
+
+ var outputJumpY = new Option(
+ outputJumpBoxY,
+ form,
+ 0,
+ outputJumpLabelY,
+ optionSetYLeft,
+ new ActiveValueLabel(outputJumpActiveLabelY, activeValueTitleY),
+ "Jump");
+
var inputOffsetX = new Option(
inputOffsetBoxX,
form,
@@ -556,10 +604,12 @@ namespace grapher.Models
gainSwitchOptionX,
classicCapOptionsX,
powerCapOptionsX,
+ outputJumpX,
outputOffsetX,
decayRateX,
growthRateX,
smoothX,
+ inputJumpX,
inputOffsetX,
limitX,
powerClassicX,
@@ -579,10 +629,12 @@ namespace grapher.Models
gainSwitchOptionY,
classicCapOptionsY,
powerCapOptionsY,
+ outputJumpY,
outputOffsetY,
decayRateY,
growthRateY,
smoothY,
+ inputJumpY,
inputOffsetY,
limitY,
powerClassicY,