diff options
author | crupest <crupest@outlook.com> | 2021-02-28 00:22:34 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-02-28 00:22:34 +0800 |
commit | 4b78e0b74f70bca2e24dc89b4fdca4dc9222c8b9 (patch) | |
tree | 257971a08ccb6bba0fa30857e0fcbd07902a0c91 /include/cru/ui/events/UiEvent.hpp | |
parent | 4a0c86d94a06e72be0988062d49a19c05142434a (diff) | |
download | cru-4b78e0b74f70bca2e24dc89b4fdca4dc9222c8b9.tar.gz cru-4b78e0b74f70bca2e24dc89b4fdca4dc9222c8b9.tar.bz2 cru-4b78e0b74f70bca2e24dc89b4fdca4dc9222c8b9.zip |
...
Diffstat (limited to 'include/cru/ui/events/UiEvent.hpp')
-rw-r--r-- | include/cru/ui/events/UiEvent.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cru/ui/events/UiEvent.hpp b/include/cru/ui/events/UiEvent.hpp index 660b33f5..22ad0150 100644 --- a/include/cru/ui/events/UiEvent.hpp +++ b/include/cru/ui/events/UiEvent.hpp @@ -84,6 +84,7 @@ class MouseEventArgs : public UiEventArgs { // This point is relative to window client lefttop. Point GetPoint() const { return point_.value_or(Point{}); } + Point GetPoint(render::RenderObject* render_target) const; Point GetPointToContent(render::RenderObject* render_target) const; private: |