From f315e8160e984df93be6667929db34749aa25cfa Mon Sep 17 00:00:00 2001 From: Jacob Palecki Date: Thu, 30 Jul 2020 02:00:20 -0700 Subject: Use class heirarchy for layout types --- grapher/Layouts/DefaultLayout.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 grapher/Layouts/DefaultLayout.cs (limited to 'grapher/Layouts/DefaultLayout.cs') diff --git a/grapher/Layouts/DefaultLayout.cs b/grapher/Layouts/DefaultLayout.cs new file mode 100644 index 0000000..2ad3c0e --- /dev/null +++ b/grapher/Layouts/DefaultLayout.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace grapher.Layouts +{ + public class DefaultLayout : LayoutBase + { + public DefaultLayout() + { + Name = "Off"; + Index = 0; + Show = new bool[] { true, true, true }; + OptionNames = new string[] { Acceleration, $"{Limit}\\{Exponent}", Midpoint }; + } + } +} -- cgit v1.2.3