mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlCore: IsDarkThemeEnabled flag
git-svn-id: svn://ultimatepp.org/upp/trunk@12913 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
25fea8d9da
commit
33df3ece07
4 changed files with 32 additions and 1 deletions
|
|
@ -665,7 +665,7 @@ void ChSysInit()
|
|||
}
|
||||
}
|
||||
|
||||
if(IsSystemThemeDark() && !IsDark(Color::FromCR(GetSysColor(COLOR_WINDOW))))
|
||||
if(Ctrl::IsDarkThemeEnabled() && IsSystemThemeDark() && !IsDark(Color::FromCR(GetSysColor(COLOR_WINDOW))))
|
||||
sEmulateDarkTheme = true;
|
||||
|
||||
NONCLIENTMETRICS ncm;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue