diff options
Diffstat (limited to 'src/video/cocoa/cocoa_wnd.h')
-rw-r--r-- | src/video/cocoa/cocoa_wnd.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/video/cocoa/cocoa_wnd.h b/src/video/cocoa/cocoa_wnd.h index 744a65786..449b457af 100644 --- a/src/video/cocoa/cocoa_wnd.h +++ b/src/video/cocoa/cocoa_wnd.h @@ -32,20 +32,8 @@ extern NSString *OTTDMainLaunchGameEngine; - (void)appDidUnhide:(NSNotification*)note; @end -/** Subclass of NSView to fix Quartz rendering and mouse awareness */ -@interface OTTD_CocoaView : NSView <NSTextInputClient> { - VideoDriver_Cocoa *driver; -} -- (instancetype)initWithFrame:(NSRect)frameRect andDriver:(VideoDriver_Cocoa *)drv; - -- (BOOL)acceptsFirstResponder; -- (void)setTrackingRect; -- (void)clearTrackingRect; -- (void)resetCursorRects; -- (void)viewWillMoveToWindow:(NSWindow *)win; -- (void)viewDidMoveToWindow; -- (void)mouseEntered:(NSEvent *)theEvent; -- (void)mouseExited:(NSEvent *)theEvent; +/** Subclass of NSView to support mouse awareness and text input. */ +@interface OTTD_CocoaView : NSView <NSTextInputClient> @end /** Delegate for our NSWindow to send ask for quit on close */ |