Use SystemColors instead of using a lookup

And work around unimplemented stuff in the System.Drawing implementation that
I'm using --Sappharad
This commit is contained in:
YoshiRulz 2019-08-12 20:32:01 +10:00
parent 1992856655
commit 72c052622c
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 3 additions and 3 deletions

View File

@ -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;