Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 3 additions & 24 deletions Utilities/ThemeManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1028,30 +1028,9 @@ private static void ApplyTheme(Control temp, int level)
Color mix = Color.FromArgb(ThemeManager.BGColor.ToArgb() ^ 0xffffff);

Controls.QuickView but = (QuickView)ctl;
if (but.Name == "quickView6")
{
but.numberColor = Color.FromArgb((0 + mix.R) / 2, (255 + mix.G) / 2, (252 + mix.B) / 2);
}
else if (but.Name == "quickView5")
{
but.numberColor = Color.FromArgb((254 + mix.R) / 2, (254 + mix.G) / 2, (86 + mix.B) / 2);
}
else if (but.Name == "quickView4")
{
but.numberColor = Color.FromArgb((0 + mix.R) / 2, (255 + mix.G) / 2, (83 + mix.B) / 2);
}
else if (but.Name == "quickView3")
{
but.numberColor = Color.FromArgb((255 + mix.R) / 2, (96 + mix.G) / 2, (91 + mix.B) / 2);
}
else if (but.Name == "quickView2")
{
but.numberColor = Color.FromArgb((254 + mix.R) / 2, (132 + mix.G) / 2, (46 + mix.B) / 2);
}
else if (but.Name == "quickView1")
{
but.numberColor = Color.FromArgb((209 + mix.R) / 2, (151 + mix.G) / 2, (248 + mix.B) / 2);
}

but.numberColor = Color.FromArgb(mix.R, mix.G, mix.B);

//return; //return removed to process all quickView controls
}
else if (ctl.GetType() == typeof(TreeView))
Expand Down