summaryrefslogtreecommitdiffstats
path: root/include/svtools
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2013-01-23 16:06:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-06-13 21:00:33 +0100
commit6c9b376b2dc9007f1cb48a189f3020a1b82937fd (patch)
tree347618eeddf60bc3444370c5eed392dd8d4ec814 /include/svtools
parentResolves: #i121656# Some more cleanups for SVG import (diff)
downloadcore-6c9b376b2dc9007f1cb48a189f3020a1b82937fd.tar.gz
core-6c9b376b2dc9007f1cb48a189f3020a1b82937fd.zip
Resolves: #i121532# unified getting the blended selection color
(cherry picked from commit dd4bed5d1151db2a45dbbfe9eff61875f8f4835d) Conflicts: svtools/inc/svtools/optionsdrawinglayer.hxx svtools/source/config/optionsdrawinglayer.cxx sw/source/core/crsr/viscrs.cxx Change-Id: I21167b58a9b81f5fa15c7def5fb4b6023f91f32b
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/optionsdrawinglayer.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/svtools/optionsdrawinglayer.hxx b/include/svtools/optionsdrawinglayer.hxx
index f2d493be21de..b51b086b99ca 100644
--- a/include/svtools/optionsdrawinglayer.hxx
+++ b/include/svtools/optionsdrawinglayer.hxx
@@ -151,6 +151,11 @@ class SVT_DLLPUBLIC SvtOptionsDrawinglayer
sal_uInt16 GetTransparentSelectionPercent() const;
sal_uInt16 GetSelectionMaximumLuminancePercent() const;
+ // get system hilight color, limited to the maximum allowed luminance
+ // (defined in GetSelectionMaximumLuminancePercent() in SvtOptionsDrawinglayer,
+ // combined with Application::GetSettings().GetStyleSettings().GetHighlightColor())
+ Color getHilightColor() const;
+
void SetTransparentSelection( sal_Bool bState );
void SetTransparentSelectionPercent( sal_uInt16 nPercent );