diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-11-14 14:42:26 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-11-14 17:28:31 +0100 |
commit | b3dc0d7c72c2bb997bfceaeaf25dc9153ceca244 (patch) | |
tree | 991103d43b0cc29be44eeb9aa186b0c33d504593 /sw/inc | |
parent | 5730388b6e8cd1345318afedb00afcfc139287a5 (diff) |
sw lok comments: implement mouse move and mouse up
As long as we don't tweak the map mode of the comment widgets
permanently we also have to disable the selection engine's timer, as
that would emit events without the correct map mode: so disable that for
the LOK case for now.
Change-Id: If377ff2f064c30feb473f153f9d5b29b8ace7113
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/SidebarWin.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/SidebarWin.hxx b/sw/inc/SidebarWin.hxx index bda077bb8a62..4d88b4623a1c 100644 --- a/sw/inc/SidebarWin.hxx +++ b/sw/inc/SidebarWin.hxx @@ -179,6 +179,8 @@ class SwSidebarWin : public vcl::Window virtual void Draw(OutputDevice* pDev, const Point&, const Size&, DrawFlags) override; virtual void KeyInput(const KeyEvent& rKeyEvt) override; virtual void MouseButtonDown(const MouseEvent& rMouseEvent) override; + virtual void MouseButtonUp(const MouseEvent& rMouseEvent) override; + virtual void MouseMove(const MouseEvent& rMouseEvent) override; void PaintTile(vcl::RenderContext& rRenderContext, const Rectangle& rRect); /// Is there a matching sub-widget inside this sidebar widget for rPointLogic? bool IsHitWindow(const Point& rPointLogic); |