From 72c052622c940463e62ae964d7ba0c75bfad88fc Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Mon, 12 Aug 2019 20:32:01 +1000 Subject: [PATCH] Use SystemColors instead of using a lookup And work around unimplemented stuff in the System.Drawing implementation that I'm using --Sappharad --- BizHawk.Client.Common/config/Config.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BizHawk.Client.Common/config/Config.cs b/BizHawk.Client.Common/config/Config.cs index c0bf196702..057ec89c0b 100644 --- a/BizHawk.Client.Common/config/Config.cs +++ b/BizHawk.Client.Common/config/Config.cs @@ -411,9 +411,9 @@ namespace BizHawk.Client.Common public bool DisplayRamWatch = false; // Hex Editor Colors - public Color HexBackgrndColor = Color.FromName("Control"); - public Color HexForegrndColor = Color.FromName("ControlText"); - public Color HexMenubarColor = Color.FromName("Control"); + public Color HexBackgrndColor = SystemColors.Control; + public Color HexForegrndColor = SystemColors.ControlText; + public Color HexMenubarColor = SystemColors.Control; public Color HexFreezeColor = Color.LightBlue; public Color HexHighlightColor = Color.Pink; public Color HexHighlightFreezeColor = Color.Violet;