mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
parent
a7474395ec
commit
6a03b3bc1a
6 changed files with 35 additions and 0 deletions
|
|
@ -419,6 +419,12 @@ nsLookAndFeel::GetIntImpl(IntID aID, int32_t &aResult)
|
|||
case eIntID_DWMCompositor:
|
||||
aResult = nsUXThemeData::CheckForCompositor();
|
||||
break;
|
||||
case eIntID_WindowsAccentColorApplies:
|
||||
{
|
||||
nscolor unused;
|
||||
aResult = NS_SUCCEEDED(GetAccentColor(unused)) ? 1 : 0;
|
||||
}
|
||||
break;
|
||||
case eIntID_WindowsGlass:
|
||||
// Aero Glass is only available prior to Windows 8 when DWM is used.
|
||||
aResult = (nsUXThemeData::CheckForCompositor() && !IsWin8OrLater());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue