summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-01-16 21:42:47 +0100
committerMichael Meeks <michael.meeks@collabora.com>2014-01-21 11:53:05 +0000
commit23221e48495262d0384c9169a0d8a01db8a5dab5 (patch)
tree6c83a23b079150e5df1f741df9b2150d5cdd9eb4 /include/svtools
parentb038679c550d2a0178c1beca368a86598dd0c80b (diff)
fdo#71511: in autodetected a11y HC mode, pull background color from theme
- ... and reload ColorConfig after tweaking relevant a11y settings - dark theme default to high contrast - as per fdo#35365, having a dark document background is inconvenient for non-a11y endusers - a11y standard require the (rather ugly) background for a11y - thus, when "automatically detect high contract mode of operating system" in Tools->Options->a11y is enabled, use the dark document backgroundby default, otherwise use a white default note that the autodetect HC option is somewhat broken anyway: it resets the icon theme hard, so there are not simple roundtrips enableing/disabling it for that, but those havent been there before either. (includes: Ia35a41717224dfb7437054bb885c61d7e0b189d7) Change-Id: Id8ad1eb3d57b3708ac5a241092208e3a8d98ade0 Reviewed-on: https://gerrit.libreoffice.org/7484 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/colorcfg.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svtools/colorcfg.hxx b/include/svtools/colorcfg.hxx
index 2872f4c03977..ddc84850bf71 100644
--- a/include/svtools/colorcfg.hxx
+++ b/include/svtools/colorcfg.hxx
@@ -105,6 +105,7 @@ public:
// instead of the automatic color
ColorConfigValue GetColorValue(ColorConfigEntry eEntry, sal_Bool bSmart = sal_True)const;
static Color GetDefaultColor(ColorConfigEntry eEntry);
+ void Reload();
};
class SVT_DLLPUBLIC EditableColorConfig