From 395c5aa302518af0d9f66dfafc910b3eab88742d Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 26 Oct 2021 19:22:08 +0800 Subject: ... --- src/osx/gui/WindowPrivate.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/osx/gui/WindowPrivate.h') diff --git a/src/osx/gui/WindowPrivate.h b/src/osx/gui/WindowPrivate.h index 68440fe0..0778195a 100644 --- a/src/osx/gui/WindowPrivate.h +++ b/src/osx/gui/WindowPrivate.h @@ -54,6 +54,8 @@ class OsxWindowPrivate { void OnWindowDidExpose(); void OnWindowDidUpdate(); void OnWindowDidResize(); + void OnBecomeKeyWindow(); + void OnResignKeyWindow(); CGLayerRef GetDrawLayer() { return draw_layer_; } @@ -63,6 +65,8 @@ class OsxWindowPrivate { private: void UpdateCursor(); + Point TransformMousePoint(const Point& point); + private: OsxWindow* osx_window_; -- cgit v1.2.3