diff options
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); |