feat: win32 enable dark titlebar for dark theme

Signed-off-by: DavidoTek <54072917+DavidoTek@users.noreply.github.com>
This commit is contained in:
DavidoTek
2022-07-26 23:25:17 +02:00
parent 336f1f4f50
commit b4e8abd0ad
4 changed files with 122 additions and 0 deletions

View File

@ -907,6 +907,16 @@ SET(LAUNCHER_SOURCES
ui/instanceview/VisualGroup.h
)
if(WIN32)
set(LAUNCHER_SOURCES
${LAUNCHER_SOURCES}
# GUI - dark titlebar for Windows 10/11
ui/WinDarkmode.h
ui/WinDarkmode.cpp
)
endif()
qt_wrap_ui(LAUNCHER_UI
ui/setupwizard/PasteWizardPage.ui
ui/pages/global/AccountListPage.ui