aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-21 13:03:15 +0200
committerDavid Robillard <d@drobilla.net>2019-07-21 14:44:19 +0200
commit17a09847f45d08056a12b27b0ef665e97626694b (patch)
treee8b2369fcfdee40c9dffe397029f24a9fe1c9471
parent93216a6e63bfe868ed564b0f958ef2a1f85d4f87 (diff)
downloadpugl-17a09847f45d08056a12b27b0ef665e97626694b.tar.gz
pugl-17a09847f45d08056a12b27b0ef665e97626694b.tar.bz2
pugl-17a09847f45d08056a12b27b0ef665e97626694b.zip
Clean up Objective C syntax
-rw-r--r--pugl/pugl_osx.m14
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
{
}