From 4aa2f3ed741dcbd39233e125a34cac8163267d8d Mon Sep 17 00:00:00 2001 From: Jacob Palecki Date: Tue, 1 Sep 2020 02:39:09 -0700 Subject: Move constants to central class --- grapher/Constants/AccelGUIConstants.cs | 36 ---------------------------------- 1 file changed, 36 deletions(-) delete mode 100644 grapher/Constants/AccelGUIConstants.cs (limited to 'grapher/Constants/AccelGUIConstants.cs') diff --git a/grapher/Constants/AccelGUIConstants.cs b/grapher/Constants/AccelGUIConstants.cs deleted file mode 100644 index 20ec6d0..0000000 --- a/grapher/Constants/AccelGUIConstants.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace grapher.Constants -{ - public static class AccelGUIConstants - { - #region Constants - - /// Vertical separation between charts, in pixels. - public const int ChartSeparationVertical = 10; - - /// Needed to show full contents in form. Unsure why. - public const int FormHeightPadding = 35; - - /// DPI by which charts are scaled if none is set by user. - public const int DefaultDPI = 1200; - - /// Poll rate by which charts are scaled if none is set by user. - public const int DefaultPollRate = 1000; - - /// Resolution of chart calulation. - public const int Resolution = 100; - - /// Multiplied by DPI over poll rate to find rough max expected velocity. - public const double MaxMultiplier = 85; - - /// Ratio of max (X, Y) used in "by component" calulations to those used in "whole vector" calculations. - public const double XYToCombinedRatio = 1.4; - - #endregion Constants - } -} -- cgit v1.2.3