summaryrefslogtreecommitdiffstats
path: root/widget/nsXPLookAndFeel.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-07-19 13:24:55 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-04 20:37:56 +0100
commitf843f02860d8acd709fe89bfa891892d907de81a (patch)
tree9d7f340f291de3f125b69486b57b7c24054b47ca /widget/nsXPLookAndFeel.cpp
parentac663083950b2e00573395d68348302df94e3ac1 (diff)
downloadUXP-f843f02860d8acd709fe89bfa891892d907de81a.tar
UXP-f843f02860d8acd709fe89bfa891892d907de81a.tar.gz
UXP-f843f02860d8acd709fe89bfa891892d907de81a.tar.lz
UXP-f843f02860d8acd709fe89bfa891892d907de81a.tar.xz
UXP-f843f02860d8acd709fe89bfa891892d907de81a.zip
Add -moz-win-accentcolor(text)
#31 points 1 and 2
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: