diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-01-29 13:00:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-01-30 11:38:24 +0100 |
commit | 6aa18a840cc205b430999e4243d9ee4b9091432d (patch) | |
tree | 0e37b327d8c82b182c0594f2916baf5275976114 /include | |
parent | 6792aa49a5a7eba601693734a164ab45042c580b (diff) |
add something to override scrollbar colors
Change-Id: Ibc2e428fcda41f4e9150f3e5029ba346c459c4b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110159
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/weld.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 00afd2fc45b9..70a340c85b30 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -399,6 +399,11 @@ public: m_aVChangeHdl = rLink; } virtual int get_vscroll_width() const = 0; + + //trying to use custom color for a scrollbar is generally a bad idea. + virtual void customize_scrollbars(const Color& rBackgroundColor, const Color& rShadowColor, + const Color& rFaceColor, int nMaxThickness) + = 0; }; class Label; |