diff options
author | crupest <crupest@outlook.com> | 2021-10-26 19:22:08 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-10-26 19:22:08 +0800 |
commit | 395c5aa302518af0d9f66dfafc910b3eab88742d (patch) | |
tree | 5fa452058f5650fc62c37d0f435b8914c5b1aac5 /src/osx/gui/WindowPrivate.h | |
parent | 253341d93d8e3cb38a204b539822ca1cc8597754 (diff) | |
download | cru-395c5aa302518af0d9f66dfafc910b3eab88742d.tar.gz cru-395c5aa302518af0d9f66dfafc910b3eab88742d.tar.bz2 cru-395c5aa302518af0d9f66dfafc910b3eab88742d.zip |
...
Diffstat (limited to 'src/osx/gui/WindowPrivate.h')
-rw-r--r-- | src/osx/gui/WindowPrivate.h | 4 |
1 files changed, 4 insertions, 0 deletions
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_; |