diff options
| author | a1xd <[email protected]> | 2020-10-08 02:07:56 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2020-10-08 02:07:56 -0400 |
| commit | 2be0106211cb4ce30036fc0c8e84ae70dff68c87 (patch) | |
| tree | d36296ff0402c014d355b7fb1b8e7cc4c11fc3f4 /grapher/Layouts | |
| parent | ease requirements for loading driver settings (diff) | |
| download | rawaccel-2be0106211cb4ce30036fc0c8e84ae70dff68c87.tar.xz rawaccel-2be0106211cb4ce30036fc0c8e84ae70dff68c87.zip | |
add toggle button + save gui settings on close
remove option to disable write on startup
Diffstat (limited to 'grapher/Layouts')
| -rw-r--r-- | grapher/Layouts/DefaultLayout.cs | 1 | ||||
| -rw-r--r-- | grapher/Layouts/LayoutBase.cs | 4 | ||||
| -rw-r--r-- | grapher/Layouts/OffLayout.cs | 1 |
3 files changed, 0 insertions, 6 deletions
diff --git a/grapher/Layouts/DefaultLayout.cs b/grapher/Layouts/DefaultLayout.cs index c8cce6d..c2f7fd7 100644 --- a/grapher/Layouts/DefaultLayout.cs +++ b/grapher/Layouts/DefaultLayout.cs @@ -9,7 +9,6 @@ namespace grapher.Layouts { Name = "Default"; Index = (int)AccelMode.noaccel; - ButtonEnabled = false; LogarithmicCharts = false; AccelLayout = new OptionLayout(true, Acceleration); diff --git a/grapher/Layouts/LayoutBase.cs b/grapher/Layouts/LayoutBase.cs index c380397..7ed08ef 100644 --- a/grapher/Layouts/LayoutBase.cs +++ b/grapher/Layouts/LayoutBase.cs @@ -26,7 +26,6 @@ namespace grapher.Layouts ExponentLayout = new OptionLayout(false, string.Empty); MidpointLayout = new OptionLayout(false, string.Empty); - ButtonEnabled = true; LogarithmicCharts = false; } @@ -40,8 +39,6 @@ namespace grapher.Layouts public bool LogarithmicCharts { get; protected set; } - protected bool ButtonEnabled { get; set; } - protected OptionLayout AccelLayout { get; set; } protected OptionLayout ScaleLayout { get; set; } @@ -70,7 +67,6 @@ namespace grapher.Layouts Button button, int top) { - button.Enabled = ButtonEnabled; IOption previous = null; diff --git a/grapher/Layouts/OffLayout.cs b/grapher/Layouts/OffLayout.cs index 664e364..0b54cbb 100644 --- a/grapher/Layouts/OffLayout.cs +++ b/grapher/Layouts/OffLayout.cs @@ -9,7 +9,6 @@ namespace grapher.Layouts { Name = "Off"; Index = (int)AccelMode.noaccel; - ButtonEnabled = true; LogarithmicCharts = false; AccelLayout = new OptionLayout(false, string.Empty); |