From a6926be0e911b7b7637861866f41c3bca31a87a3 Mon Sep 17 00:00:00 2001 From: a1xd <68629610+a1xd@users.noreply.github.com> Date: Tue, 13 Apr 2021 23:59:21 -0400 Subject: move arbitrary input into settings separate arbitrary mode from spaced modes, arbitrary now deserializes from default settings file --- grapher/Layouts/UnsupportedLayout.cs | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 grapher/Layouts/UnsupportedLayout.cs (limited to 'grapher/Layouts/UnsupportedLayout.cs') diff --git a/grapher/Layouts/UnsupportedLayout.cs b/grapher/Layouts/UnsupportedLayout.cs new file mode 100644 index 0000000..1607a6c --- /dev/null +++ b/grapher/Layouts/UnsupportedLayout.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace grapher.Layouts +{ + public class UnsupportedLayout : LayoutBase + { + public const string LUTLayoutText = "This mode is unsupported by this program. See the guide for details."; + + public UnsupportedLayout() + : base() + { + Name = "Unsupported"; + Mode = AccelMode.noaccel + 1; + + GainSwitchOptionLayout = new OptionLayout(false, string.Empty); + AccelLayout = new OptionLayout(false, Acceleration); + ScaleLayout = new OptionLayout(false, string.Empty); + CapLayout = new OptionLayout(false, Cap); + WeightLayout = new OptionLayout(false, Weight); + OffsetLayout = new OptionLayout(false, Offset); + LimitLayout = new OptionLayout(false, string.Empty); + ExponentLayout = new OptionLayout(false, Exponent); + MidpointLayout = new OptionLayout(false, string.Empty); + LUTTextLayout = new OptionLayout(true, LUTLayoutText); + } + } +} \ No newline at end of file -- cgit v1.2.3 From 0cf5ce3762926fa556418572e9661d79cbbaa240 Mon Sep 17 00:00:00 2001 From: Jacob Palecki Date: Sun, 25 Apr 2021 23:05:44 -0700 Subject: Start of LUT points editing --- grapher/Layouts/UnsupportedLayout.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'grapher/Layouts/UnsupportedLayout.cs') diff --git a/grapher/Layouts/UnsupportedLayout.cs b/grapher/Layouts/UnsupportedLayout.cs index 1607a6c..c17812d 100644 --- a/grapher/Layouts/UnsupportedLayout.cs +++ b/grapher/Layouts/UnsupportedLayout.cs @@ -25,7 +25,8 @@ namespace grapher.Layouts LimitLayout = new OptionLayout(false, string.Empty); ExponentLayout = new OptionLayout(false, Exponent); MidpointLayout = new OptionLayout(false, string.Empty); - LUTTextLayout = new OptionLayout(true, LUTLayoutText); + LutTextLayout = new OptionLayout(true, LUTLayoutText); + LutPanelLayout = new OptionLayout(false, string.Empty); } } } \ No newline at end of file -- cgit v1.2.3 From b798fe074a2ff6c6498bfef3be1dc3e1a1b03e0c Mon Sep 17 00:00:00 2001 From: Jacob Palecki Date: Fri, 9 Jul 2021 17:08:00 -0700 Subject: Add separate box for power in classic mode --- grapher/Layouts/UnsupportedLayout.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'grapher/Layouts/UnsupportedLayout.cs') diff --git a/grapher/Layouts/UnsupportedLayout.cs b/grapher/Layouts/UnsupportedLayout.cs index c17812d..04f0e55 100644 --- a/grapher/Layouts/UnsupportedLayout.cs +++ b/grapher/Layouts/UnsupportedLayout.cs @@ -23,10 +23,12 @@ namespace grapher.Layouts WeightLayout = new OptionLayout(false, Weight); OffsetLayout = new OptionLayout(false, Offset); LimitLayout = new OptionLayout(false, string.Empty); + PowerClassicLayout = new OptionLayout(false, string.Empty); ExponentLayout = new OptionLayout(false, Exponent); MidpointLayout = new OptionLayout(false, string.Empty); LutTextLayout = new OptionLayout(true, LUTLayoutText); LutPanelLayout = new OptionLayout(false, string.Empty); + LutApplyOptionsLayout = new OptionLayout(false, string.Empty); } } } \ No newline at end of file -- cgit v1.2.3 From aa04d5a61f89225a03dc3b155d4f3a93ffe4c5b8 Mon Sep 17 00:00:00 2001 From: Jacob Palecki Date: Sat, 10 Jul 2021 15:35:21 -0700 Subject: Fixed default values by splitting into unique text boxes --- grapher/Layouts/UnsupportedLayout.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'grapher/Layouts/UnsupportedLayout.cs') diff --git a/grapher/Layouts/UnsupportedLayout.cs b/grapher/Layouts/UnsupportedLayout.cs index 04f0e55..4a401a4 100644 --- a/grapher/Layouts/UnsupportedLayout.cs +++ b/grapher/Layouts/UnsupportedLayout.cs @@ -18,6 +18,9 @@ namespace grapher.Layouts GainSwitchOptionLayout = new OptionLayout(false, string.Empty); AccelLayout = new OptionLayout(false, Acceleration); + DecayRateLayout = new OptionLayout(false, string.Empty); + GrowthRateLayout = new OptionLayout(false, string.Empty); + SmoothLayout = new OptionLayout(false, string.Empty); ScaleLayout = new OptionLayout(false, string.Empty); CapLayout = new OptionLayout(false, Cap); WeightLayout = new OptionLayout(false, Weight); -- cgit v1.2.3