diff options
author | David Robillard <d@drobilla.net> | 2020-10-21 15:15:34 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-21 15:43:29 +0200 |
commit | 641a48427055b4a0e3765fb4bcbeba0e8ce01862 (patch) | |
tree | 00dcb04bc60bb3f61fa17f538cacd99e500ab2f0 /include/pugl/detail/mac_cairo.m | |
parent | 95beec3f3d9c06cd015eea01b9c3608237ae102c (diff) | |
download | pugl-641a48427055b4a0e3765fb4bcbeba0e8ce01862.tar.gz pugl-641a48427055b4a0e3765fb4bcbeba0e8ce01862.tar.bz2 pugl-641a48427055b4a0e3765fb4bcbeba0e8ce01862.zip |
Cleanup: Use conventional style for ObjC methods
Diffstat (limited to 'include/pugl/detail/mac_cairo.m')
-rw-r--r-- | include/pugl/detail/mac_cairo.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/pugl/detail/mac_cairo.m b/include/pugl/detail/mac_cairo.m index 18209d9..1e8f98d 100644 --- a/include/pugl/detail/mac_cairo.m +++ b/include/pugl/detail/mac_cairo.m @@ -41,14 +41,14 @@ cairo_t* cr; } -- (id) initWithFrame:(NSRect)frame +- (id)initWithFrame:(NSRect)frame { self = [super initWithFrame:frame]; return self; } -- (void) resizeWithOldSuperviewSize:(NSSize)oldSize +- (void)resizeWithOldSuperviewSize:(NSSize)oldSize { PuglWrapperView* wrapper = (PuglWrapperView*)[self superview]; @@ -56,7 +56,7 @@ [wrapper setReshaped]; } -- (void) drawRect:(NSRect)rect +- (void)drawRect:(NSRect)rect { PuglWrapperView* wrapper = (PuglWrapperView*)[self superview]; [wrapper dispatchExpose:rect]; |