summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-02-15 11:06:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-02-15 15:07:34 +0100
commit5c89695f3885ec2e7cd00eaf56a46a7f00c44883 (patch)
treedd9e584c20959d567e74a2caa8077cbe722fef47 /include/editeng
parent760100d1dfe0df3e67227618013297e5f1f419aa (diff)
tdf#140414 add getting mouse pos to EditViewCallbacks
Change-Id: I09172e0cb24f5c45d2837cf2f2fc7cc4baa456a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110932 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/editview.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx
index 9fdb08ebc1d9..05e59a4753fd 100644
--- a/include/editeng/editview.hxx
+++ b/include/editeng/editview.hxx
@@ -114,6 +114,9 @@ public:
return nullptr;
}
+ // return the Mouse Position
+ virtual Point EditViewPointerPosPixel() const = 0;
+
// Triggered to update InputEngine context information
virtual void EditViewInputContext(const InputContext& rInputContext) = 0;