diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-03-03 17:09:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-03-04 09:54:04 +0100 |
commit | e33715206c48c945e6acb99cdd58d81e6514c242 (patch) | |
tree | 471b45567d9fdd0981d20b7df712c6e98113e7da /include | |
parent | c57d6d39c80844c9d4c6bfed85cc151e52a67b34 (diff) |
allow control over treeview scroll position
Change-Id: Ifa29416c4a716b3759f279ae4f0ce9179325f7a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89927
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/weld.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 75c38262c426..6476695bbb27 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -1047,6 +1047,9 @@ public: void set_toggle_columns_as_radio(const std::vector<int>& rCols) { m_aRadioIndexes = rCols; } + virtual void vadjustment_set_value(int value) = 0; + virtual int vadjustment_get_value() const = 0; + void save_value() { m_sSavedValue = get_selected_text(); } OUString const& get_saved_value() const { return m_sSavedValue; } bool get_value_changed_from_saved() const { return m_sSavedValue != get_selected_text(); } |