summaryrefslogtreecommitdiff
path: root/src/video/cocoa/cocoa_v.h
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-02-06 02:49:09 +0100
committerMichael Lutz <michi@icosahedron.de>2021-02-13 22:21:17 +0100
commitf4bd54fedd40806ff34d884c0fa17e0b7403ede1 (patch)
tree18bf9b2c89bef9a84888935060aa7739fc2c9658 /src/video/cocoa/cocoa_v.h
parentbd42fc94cc1dc064d0c20cfa4fad108dc64931c6 (diff)
downloadopenttd-f4bd54fedd40806ff34d884c0fa17e0b7403ede1.tar.xz
Codechange: [OSX] Move mouse event handling to our NSView.
Diffstat (limited to 'src/video/cocoa/cocoa_v.h')
-rw-r--r--src/video/cocoa/cocoa_v.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/video/cocoa/cocoa_v.h b/src/video/cocoa/cocoa_v.h
index 4c53cdb8f..0112f5751 100644
--- a/src/video/cocoa/cocoa_v.h
+++ b/src/video/cocoa/cocoa_v.h
@@ -78,11 +78,7 @@ protected:
Dimension GetScreenSize() const override;
private:
- NSPoint GetMouseLocation(NSEvent *event);
- bool MouseIsInsideView(NSPoint *pt);
- CGPoint PrivateLocalToCG(NSPoint *p);
bool PollEvent(); // In event.mm.
- void MouseMovedEvent(int x, int y); // In event.mm.
bool IsFullscreen();
void GameSizeChanged();