diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-05-25 16:54:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-29 10:07:17 +0200 |
commit | 66cd438e3545edecaa05aa27beb289c6a6df53fc (patch) | |
tree | c06dfadb1d4d8fae17c08605684cac2e7aa60c69 /include/vcl/customweld.hxx | |
parent | a2dae039f1209b5324879930c142b24d50fafc69 (diff) |
weld SvxAngleTabPage
Change-Id: I03bd0a6a0805d549570ce44030a0f58ca2b98d05
Reviewed-on: https://gerrit.libreoffice.org/54818
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/customweld.hxx')
-rw-r--r-- | include/vcl/customweld.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/vcl/customweld.hxx b/include/vcl/customweld.hxx index 203c6e024eb1..2d6089871ef3 100644 --- a/include/vcl/customweld.hxx +++ b/include/vcl/customweld.hxx @@ -57,8 +57,10 @@ public: bool IsEnabled() const { return m_pDrawingArea->get_sensitive(); } int GetTextHeight() const { return m_pDrawingArea->get_text_height(); } OUString GetAccessibleName() const { return m_pDrawingArea->get_accessible_name(); } - void grab_add() { m_pDrawingArea->grab_add(); } - void grab_remove() { m_pDrawingArea->grab_remove(); } + void CaptureMouse() { m_pDrawingArea->grab_add(); } + bool IsMouseCaptured() const { return m_pDrawingArea->has_grab(); } + void EnableRTL(bool bEnable) { m_pDrawingArea->set_direction(bEnable); } + void ReleaseMouse() { m_pDrawingArea->grab_remove(); } void set_size_request(int nWidth, int nHeight) { m_pDrawingArea->set_size_request(nWidth, nHeight); |