Major UI rework!

This commit is contained in:
Frank Skare
2021-08-22 18:50:11 +02:00
parent 0829b4bd9e
commit 17ecd9cb82
37 changed files with 3238 additions and 705 deletions

View File

@@ -21,20 +21,12 @@ namespace mpvnet
public Brush MenuBackground { get; set; }
public Brush MenuHighlight { get; set; }
public System.Drawing.Color GetWinFormsColor(string key)
{
return System.Drawing.ColorTranslator.FromHtml(Dictionary[key]);
}
public Brush GetBrush(string key)
{
return new SolidColorBrush((Color)ColorConverter.ConvertFromString(Dictionary[key]));
}
public Color GetColor(string key)
{
return (Color)ColorConverter.ConvertFromString(Dictionary[key]);
}
public Color GetColor(string key) => (Color)ColorConverter.ConvertFromString(Dictionary[key]);
public static void Init(string customContent, string defaultContent, string activeTheme)
{