aboutsummaryrefslogtreecommitdiff
path: root/include/cru/win
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-08-11 23:27:16 +0800
committer杨宇千 <crupest@outlook.com>2019-08-11 23:27:16 +0800
commit86e776eaebf7c45a269001ca7da0dfafba069d0a (patch)
tree64c0544d9839562a6fc6d08ea00682a94c5d222b /include/cru/win
parent99a322a6badf5b6d95be4944e80d92fc1cb2589e (diff)
downloadcru-86e776eaebf7c45a269001ca7da0dfafba069d0a.tar.gz
cru-86e776eaebf7c45a269001ca7da0dfafba069d0a.tar.bz2
cru-86e776eaebf7c45a269001ca7da0dfafba069d0a.zip
...
Diffstat (limited to 'include/cru/win')
-rw-r--r--include/cru/win/native/native_window.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cru/win/native/native_window.hpp b/include/cru/win/native/native_window.hpp
index ed678591..b044aef8 100644
--- a/include/cru/win/native/native_window.hpp
+++ b/include/cru/win/native/native_window.hpp
@@ -48,6 +48,11 @@ class WinNativeWindow : public NativeWindow {
// The lefttop of the rect is relative to screen lefttop.
void SetWindowRect(const Rect& rect) override;
+ Point GetMousePosition() override;
+
+ bool CaptureMouse() override;
+ bool ReleaseMouse() override;
+
graph::Painter* BeginPaint() override;
IEvent<std::nullptr_t>* DestroyEvent() override { return &destroy_event_; }