From 17a09847f45d08056a12b27b0ef665e97626694b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 21 Jul 2019 13:03:15 +0200 Subject: Clean up Objective C syntax --- pugl/pugl_osx.m | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m index 1575f83..3b6919d 100644 --- a/pugl/pugl_osx.m +++ b/pugl/pugl_osx.m @@ -63,10 +63,10 @@ struct PuglInternalsImpl { @implementation PuglWindow -- (id)initWithContentRect:(NSRect)contentRect - styleMask:(unsigned int)aStyle - backing:(NSBackingStoreType)bufferingType - defer:(BOOL)flag +- (id) initWithContentRect:(NSRect)contentRect + styleMask:(unsigned int)aStyle + backing:(NSBackingStoreType)bufferingType + defer:(BOOL)flag { NSWindow* result = [super initWithContentRect:contentRect styleMask:aStyle @@ -291,7 +291,7 @@ keySymToSpecial(PuglView* view, NSEvent* ev) return (PuglKey)0; } --(void)updateTrackingAreas +- (void) updateTrackingAreas { if (trackingArea != nil) { [self removeTrackingArea:trackingArea]; @@ -314,11 +314,11 @@ keySymToSpecial(PuglView* view, NSEvent* ev) return [self convertPoint:[event locationInWindow] fromView:nil]; } -- (void)mouseEntered:(NSEvent*)theEvent +- (void) mouseEntered:(NSEvent*)theEvent { } -- (void)mouseExited:(NSEvent*)theEvent +- (void) mouseExited:(NSEvent*)theEvent { } -- cgit v1.2.1