summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-08-07 19:39:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-08-07 22:51:48 +0200
commita56705efdbe9ceb0f5bb92d1d8bb2cefbc03f3ac (patch)
treec4aa901f89e77b06bded47cc0519c848c3836900 /include/vcl
parent70015759e2d0ccf3fab0629bbea5c5d44a3975be (diff)
add set_scroll_thickness to provide a way to "zoom" the scrollbar
Change-Id: I551112fb097a6ac2b442cd37d1a16bd2b34ecc54 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137932 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/weld.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index c886ba2af075..1ffa2d877408 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -2517,6 +2517,9 @@ public:
virtual int adjustment_get_lower() const = 0;
virtual void adjustment_set_lower(int upper) = 0;
+ virtual int get_scroll_thickness() const = 0;
+ virtual void set_scroll_thickness(int nThickness) = 0;
+
virtual ScrollType get_scroll_type() const = 0;
void connect_adjustment_changed(const Link<Scrollbar&, void>& rLink) { m_aChangeHdl = rLink; }