From 2d45f87330ef7011711767cc736829e4082b236b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 2 May 2018 21:21:36 +0100 Subject: support native focus for drawing sub region MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9862f060b9d5b2c3015c084060887f2d66f1ed01 Reviewed-on: https://gerrit.libreoffice.org/53768 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- include/vcl/weld.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/vcl') diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 309c1447a80d..9e58e585a533 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -701,6 +701,7 @@ protected: Link m_aKeyPressHdl; Link m_aKeyReleaseHdl; Link m_aStyleUpdatedHdl; + Link m_aGetFocusRectHdl; public: void connect_draw(const Link& rLink) { m_aDrawHdl = rLink; } @@ -720,6 +721,10 @@ public: void connect_key_press(const Link& rLink) { m_aKeyPressHdl = rLink; } void connect_key_release(const Link& rLink) { m_aKeyReleaseHdl = rLink; } void connect_style_updated(const Link& rLink) { m_aStyleUpdatedHdl = rLink; } + void connect_focus_rect(const Link& rLink) + { + m_aGetFocusRectHdl = rLink; + } virtual void queue_draw() = 0; virtual void queue_draw_area(int x, int y, int width, int height) = 0; virtual a11yref get_accessible_parent() = 0; -- cgit