summaryrefslogtreecommitdiff
path: root/sw/inc/PostItMgr.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-11-12 14:21:03 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-11-12 14:21:31 +0100
commitb7ecf6279ef3343f12fce776862c027bfeff6617 (patch)
tree70b08a8a4ea411c8901cfed8a8e441f1d482b462 /sw/inc/PostItMgr.hxx
parentbb078ab85e198897ca63c5c8d8496e7f10e3106e (diff)
sw lok: route SwEditWin::MouseButtonDown to SidebarTextControl if necessary
LOK sends all mouse events to SwEditWin, so add initial hit testing in its mouse handler to forward the mouse events to the right VCL widget. Change-Id: I67e8e19f47156261fd7c7eafd4e63f743e0c4ce9
Diffstat (limited to 'sw/inc/PostItMgr.hxx')
-rw-r--r--sw/inc/PostItMgr.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/PostItMgr.hxx b/sw/inc/PostItMgr.hxx
index dbf4ce38d1b6..7427c7ad23e2 100644
--- a/sw/inc/PostItMgr.hxx
+++ b/sw/inc/PostItMgr.hxx
@@ -234,6 +234,8 @@ class SwPostItMgr: public SfxListener
Rectangle GetTopScrollRect(const unsigned long aPage) const;
bool IsHit(const Point &aPointPixel);
+ /// Get the matching window that is responsible for handling mouse events of rPointLogic, if any.
+ vcl::Window* IsHitSidebarWindow(const Point& rPointLogic);
Color GetArrowColor(sal_uInt16 aDirection,unsigned long aPage) const;
sw::annotation::SwAnnotationWin* GetAnnotationWin(const SwPostItField* pField) const;