From 2422d9e911a2f12251b43fc76dfedb9a4d0a1032 Mon Sep 17 00:00:00 2001 From: Matthew Strasiotto <39424834+matthewstrasiotto@users.noreply.github.com> Date: Sat, 1 May 2021 19:07:34 +1000 Subject: add colours to contants --- grapher/Constants/Constants.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'grapher/Constants') diff --git a/grapher/Constants/Constants.cs b/grapher/Constants/Constants.cs index 446f5fa..6710aa0 100644 --- a/grapher/Constants/Constants.cs +++ b/grapher/Constants/Constants.cs @@ -129,6 +129,18 @@ namespace grapher /// Style used by System.Double.Parse public const NumberStyles FloatStyle = NumberStyles.Float | NumberStyles.AllowThousands; + /// Foreground Color When Streamer Mode Active + public static readonly System.Drawing.Color fgStreamer = System.Drawing.Color.White; + + /// Background Color When Streamer Mode Active + public static readonly System.Drawing.Color bgStreamer = System.Drawing.Color.Green; + + /// Foreground Color When Streamer Mode Inactive + public static readonly System.Drawing.Color fgNoStreamer = System.Drawing.Color.Black; + + /// Background Color When Streamer Mode Inactive + public static readonly System.Drawing.Color bgNoStreamer = System.Drawing.Color.White; + #endregion Constants #region ReadOnly -- cgit v1.2.3 From 9a506f235ce7903e345f2deecccdfd91bbc88304 Mon Sep 17 00:00:00 2001 From: Matthew Strasiotto <39424834+matthewstrasiotto@users.noreply.github.com> Date: Sat, 1 May 2021 20:33:57 +1000 Subject: remove Settings.Settings based config, migrate defintitions to constants --- grapher/Constants/Constants.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'grapher/Constants') diff --git a/grapher/Constants/Constants.cs b/grapher/Constants/Constants.cs index 6710aa0..ce18389 100644 --- a/grapher/Constants/Constants.cs +++ b/grapher/Constants/Constants.cs @@ -129,6 +129,15 @@ namespace grapher /// Style used by System.Double.Parse public const NumberStyles FloatStyle = NumberStyles.Float | NumberStyles.AllowThousands; + /// Font Size for Chart Titles + public const float ChartTitleFontSize = 15; + + /// Font Size for Chart Axis Titles + public const float ChartAxisFontSize = 12; + + /// Line Width For Series data on chart + public const int ChartSeriesLineWidth = 3; + /// Foreground Color When Streamer Mode Active public static readonly System.Drawing.Color fgStreamer = System.Drawing.Color.White; -- cgit v1.2.3