From 4b0a0637621db4ab7b00538d739746e7b3e1e81e Mon Sep 17 00:00:00 2001 From: nastys <@> Date: Fri, 26 Feb 2021 00:53:28 +0100 Subject: [PATCH] [Launcher] Use Explorer dark colours; "fix" acrylic blur --- source-code/source/plugins/Launcher/ui.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source-code/source/plugins/Launcher/ui.h b/source-code/source/plugins/Launcher/ui.h index b71ea81..974e315 100644 --- a/source-code/source/plugins/Launcher/ui.h +++ b/source-code/source/plugins/Launcher/ui.h @@ -360,8 +360,8 @@ namespace Launcher { { setDarkTheme(hWnd); colourFg = Color::White; - colourBg = Color::Black; // tabControl - colourBg2 = Color::FromArgb(23, 23, 23); + colourBg = Color::FromArgb(32, 32, 32); // tabControl + colourBg2 = Color::FromArgb(25, 25, 25); } else { @@ -373,13 +373,16 @@ namespace Launcher { if (useAcrylic) { - colourBg2 = Color::FromArgb(255, 255, 255); this->button_Discord->BackColor = colourBg2; this->button_github->BackColor = colourBg2; this->button_Wiki->BackColor = colourBg2; + + colourBg2 = Color::FromArgb(255, 0, 255); } else { + setBlur(hWnd, AccentState::ACCENT_DISABLED); + this->button_Discord->BackColor = Color::Transparent; this->button_github->BackColor = Color::Transparent; this->button_Wiki->BackColor = Color::Transparent;