summaryrefslogtreecommitdiffstats
path: root/widget/LookAndFeel.h
diff options
context:
space:
mode:
Diffstat (limited to 'widget/LookAndFeel.h')
-rw-r--r--widget/LookAndFeel.h26
1 files changed, 23 insertions, 3 deletions
diff --git a/widget/LookAndFeel.h b/widget/LookAndFeel.h
index 3a4929c9f..cf84b3308 100644
--- a/widget/LookAndFeel.h
+++ b/widget/LookAndFeel.h
@@ -158,6 +158,10 @@ public:
// vista rebars
+ // accent color for title bar
+ eColorID__moz_win_accentcolor,
+ // color from drawing text over the accent color
+ eColorID__moz_win_accentcolortext,
// media rebar text
eColorID__moz_win_mediatext,
// communications rebar text
@@ -239,6 +243,24 @@ public:
eIntID_ChosenMenuItemsShouldBlink,
/*
+ * A Boolean value to determine whether the Windows accent color
+ * should be applied to the title bar.
+ *
+ * The value of this metric is not used on other platforms. These platforms
+ * should return NS_ERROR_NOT_IMPLEMENTED when queried for this metric.
+ */
+ eIntID_WindowsAccentColorApplies,
+
+ /*
+ * A Boolean value to determine whether the Windows accent color
+ * is considered dark and should get bright text/controls.
+ *
+ * The value of this metric is not used on other platforms. These platforms
+ * should return NS_ERROR_NOT_IMPLEMENTED when queried for this metric.
+ */
+ eIntID_WindowsAccentColorIsDark,
+
+ /*
* A Boolean value to determine whether the Windows default theme is
* being used.
*
@@ -418,9 +440,7 @@ public:
* Operating system versions.
*/
enum OperatingSystemVersion {
- eOperatingSystemVersion_WindowsXP = 0,
- eOperatingSystemVersion_WindowsVista,
- eOperatingSystemVersion_Windows7,
+ eOperatingSystemVersion_Windows7 = 2,
eOperatingSystemVersion_Windows8,
eOperatingSystemVersion_Windows10,
eOperatingSystemVersion_Unknown