summaryrefslogtreecommitdiffstats
path: root/widget/nsXPLookAndFeel.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-04 23:58:08 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-04 23:58:08 +0100
commita9a672fd681acca009741acf24b5e2076843394d (patch)
treefda76eb6688358f101fc9ac4f4d99b0cc0abab26 /widget/nsXPLookAndFeel.cpp
parent7edd685eee95759d66a457cf428f42e0dda94671 (diff)
parent998542d94d86d2bf1f0ac247fcf478c31dcdafec (diff)
downloadUXP-a9a672fd681acca009741acf24b5e2076843394d.tar
UXP-a9a672fd681acca009741acf24b5e2076843394d.tar.gz
UXP-a9a672fd681acca009741acf24b5e2076843394d.tar.lz
UXP-a9a672fd681acca009741acf24b5e2076843394d.tar.xz
UXP-a9a672fd681acca009741acf24b5e2076843394d.zip
Merge branch 'ported-moebius'
Diffstat (limited to 'widget/nsXPLookAndFeel.cpp')
-rw-r--r--widget/nsXPLookAndFeel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/widget/nsXPLookAndFeel.cpp b/widget/nsXPLookAndFeel.cpp
index 54c619829..28e1c2c5a 100644
--- a/widget/nsXPLookAndFeel.cpp
+++ b/widget/nsXPLookAndFeel.cpp
@@ -647,6 +647,11 @@ nsXPLookAndFeel::GetStandinForNativeColor(ColorID aID)
result = NS_RGB(0x3F, 0x3F, 0x3F); break;
case eColorID__moz_mac_secondaryhighlight:
result = NS_RGB(0xD4, 0xD4, 0xD4); break;
+ case eColorID__moz_win_accentcolor:
+ // Seems to be the default color (hardcoded because of bug 1065998)
+ result = NS_RGB(0x9E, 0x9E, 0x9E); break;
+ case eColorID__moz_win_accentcolortext:
+ result = NS_RGB(0x00, 0x00, 0x00); break;
case eColorID__moz_win_mediatext:
result = NS_RGB(0xFF, 0xFF, 0xFF); break;
case eColorID__moz_win_communicationstext: