diff options
author | David Robillard <d@drobilla.net> | 2019-07-21 13:03:15 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-21 14:44:19 +0200 |
commit | 17a09847f45d08056a12b27b0ef665e97626694b (patch) | |
tree | e8b2369fcfdee40c9dffe397029f24a9fe1c9471 /pugl | |
parent | 93216a6e63bfe868ed564b0f958ef2a1f85d4f87 (diff) | |
download | pugl-17a09847f45d08056a12b27b0ef665e97626694b.tar.gz pugl-17a09847f45d08056a12b27b0ef665e97626694b.tar.bz2 pugl-17a09847f45d08056a12b27b0ef665e97626694b.zip |
Clean up Objective C syntax
Diffstat (limited to 'pugl')
-rw-r--r-- | pugl/pugl_osx.m | 14 |
1 files 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 { } |