summaryrefslogtreecommitdiff
path: root/grapher/Layouts/DefaultLayout.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-07-31 12:20:11 -0700
committerJacob Palecki <[email protected]>2020-07-31 12:20:11 -0700
commit6537db04f7e717eda2f21e007cdba7e13b7f559e (patch)
treeefb65bf3f305f376ea75f4f687b08bf8998c020f /grapher/Layouts/DefaultLayout.cs
parentAdd class for storing settings from file (diff)
parentMerge pull request #6 from a1xd/st-refactor (diff)
downloadrawaccel-6537db04f7e717eda2f21e007cdba7e13b7f559e.tar.xz
rawaccel-6537db04f7e717eda2f21e007cdba7e13b7f559e.zip
Show no settings for off, remove unused class for PR
Diffstat (limited to 'grapher/Layouts/DefaultLayout.cs')
-rw-r--r--grapher/Layouts/DefaultLayout.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/grapher/Layouts/DefaultLayout.cs b/grapher/Layouts/DefaultLayout.cs
index 2ad3c0e..095afdf 100644
--- a/grapher/Layouts/DefaultLayout.cs
+++ b/grapher/Layouts/DefaultLayout.cs
@@ -10,11 +10,13 @@ namespace grapher.Layouts
public class DefaultLayout : LayoutBase
{
public DefaultLayout()
+ : base()
{
- Name = "Off";
+ Name = "Default";
Index = 0;
- Show = new bool[] { true, true, true };
- OptionNames = new string[] { Acceleration, $"{Limit}\\{Exponent}", Midpoint };
+ ShowOptions = new bool[] { true, true, true, true };
+ OptionNames = new string[] { Offset, Acceleration, $"{Limit}\\{Exponent}", Midpoint };
+ ButtonEnabled = false;
}
}
}