From affc97b1ef41437e7caba31be8e9b9212805182e Mon Sep 17 00:00:00 2001 From: Jacob Palecki Date: Sat, 11 Sep 2021 17:38:59 -0700 Subject: YToXRatio fully works --- grapher/Constants/Constants.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'grapher/Constants/Constants.cs') diff --git a/grapher/Constants/Constants.cs b/grapher/Constants/Constants.cs index 383d7f4..179c45e 100644 --- a/grapher/Constants/Constants.cs +++ b/grapher/Constants/Constants.cs @@ -44,7 +44,7 @@ namespace grapher public const int DropDownLeftSeparation = 10; /// Height of sensitivity chart when displayed alone. - public const int SensitivityChartAloneHeight = 480; + public const int SensitivityChartAloneHeight = 510; /// Height of sensitivity chart when displayed alongside Velocity and Gain charts. public const int SensitivityChartTogetherHeight = 328; @@ -65,7 +65,7 @@ namespace grapher public const int ButtonVerticalOffset = 60; /// Vertical placement of directionality panel below top of containing form - public const int DirectionalityVerticalOffset = 285; + public const int DirectionalityVerticalOffset = 315; /// Padding between directionality title and containing panel public const int DirectionalityTitlePad = 8; -- cgit v1.2.3 From fdab3cf830e1bf87bc0bd3b72339be14265c7338 Mon Sep 17 00:00:00 2001 From: Jacob Palecki Date: Mon, 20 Sep 2021 23:41:36 -0700 Subject: Change disable button to reset, update doc text --- grapher/Constants/Constants.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'grapher/Constants/Constants.cs') diff --git a/grapher/Constants/Constants.cs b/grapher/Constants/Constants.cs index 179c45e..0b15ce6 100644 --- a/grapher/Constants/Constants.cs +++ b/grapher/Constants/Constants.cs @@ -104,10 +104,10 @@ namespace grapher /// Default text to be displayed on button delay. public const string ButtonDelayText = "Delay"; - + /// Default text to be displayed on button delay. public const string ResetButtonText = "Reset"; - + /// Title of sensitivity chart. public const string SensitivityChartTitle = "Sensitivity"; -- cgit v1.2.3 From 79c6a885fc732a0fff0fe694a86ed6450b00794b Mon Sep 17 00:00:00 2001 From: a1xd <68629610+a1xd@users.noreply.github.com> Date: Thu, 23 Sep 2021 00:21:57 -0400 Subject: add indicator to last move on normalized dev read --- grapher/Constants/Constants.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'grapher/Constants/Constants.cs') diff --git a/grapher/Constants/Constants.cs b/grapher/Constants/Constants.cs index 0b15ce6..fa500de 100644 --- a/grapher/Constants/Constants.cs +++ b/grapher/Constants/Constants.cs @@ -128,12 +128,18 @@ namespace grapher public const string GuiConfigFileName = ".config"; - /// Text to direcitonality panel title when panel is closed. + /// Text to directionality panel title when panel is closed. public const string DirectionalityTitleClosed = "Anisotropy \u25BC"; - /// Text to direcitonality panel title when panel is open. + /// Text to directionality panel title when panel is open. public const string DirectionalityTitleOpen = "Anisotropy \u25B2"; + /// Default last mouse move label text format. + public const string MouseMoveDefaultFormat = "Last (x, y): ({0}, {1})"; + + /// Last mouse move label text format when last input was from a dpi normalized device. + public const string MouseMoveNormalizedFormat = MouseMoveDefaultFormat + "!"; + /// Style used by System.Double.Parse public const NumberStyles FloatStyle = NumberStyles.Float | NumberStyles.AllowThousands; -- cgit v1.2.3 From f9323128aeffbfd2fe2931d6e5ad29acd394d878 Mon Sep 17 00:00:00 2001 From: a1xd <68629610+a1xd@users.noreply.github.com> Date: Thu, 23 Sep 2021 03:11:17 -0400 Subject: change MouseMoveNormalizedFormat --- grapher/Constants/Constants.cs | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'grapher/Constants/Constants.cs') diff --git a/grapher/Constants/Constants.cs b/grapher/Constants/Constants.cs index fa500de..af9db23 100644 --- a/grapher/Constants/Constants.cs +++ b/grapher/Constants/Constants.cs @@ -134,12 +134,6 @@ namespace grapher /// Text to directionality panel title when panel is open. public const string DirectionalityTitleOpen = "Anisotropy \u25B2"; - /// Default last mouse move label text format. - public const string MouseMoveDefaultFormat = "Last (x, y): ({0}, {1})"; - - /// Last mouse move label text format when last input was from a dpi normalized device. - public const string MouseMoveNormalizedFormat = MouseMoveDefaultFormat + "!"; - /// Style used by System.Double.Parse public const NumberStyles FloatStyle = NumberStyles.Float | NumberStyles.AllowThousands; @@ -151,6 +145,15 @@ namespace grapher /// Line Width For Series data on chart public const int ChartSeriesLineWidth = 3; + #endregion Constants + + #region ReadOnly + + /// Default last mouse move label text format. + public static readonly string MouseMoveDefaultFormat = "Last (x, y): ({0}, {1})"; + + /// Last mouse move label text format when last input was from a dpi normalized device. + public static readonly string MouseMoveNormalizedFormat = $"{MouseMoveDefaultFormat} (n)"; /// Marker size for last-mouse-move chart series. public const int DotMarkerSize = 7; @@ -167,10 +170,6 @@ namespace grapher /// Background Color When Streamer Mode Inactive public static readonly System.Drawing.Color bgNoStreamer = System.Drawing.Color.White; - #endregion Constants - - #region ReadOnly - /// Color of font in active value labels. public static readonly Color ActiveValueFontColor = Color.FromArgb(255, 65, 65, 65); -- cgit v1.2.3