diff options
author | David Robillard <d@drobilla.net> | 2019-09-02 21:14:47 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-09-02 21:15:29 +0200 |
commit | 10bb9a2862b4d306eee6dc392d91eb727ea4faa9 (patch) | |
tree | cd3eed86111693d1f20a042a6762af3295cc0a3c /pugl/detail | |
parent | 908e249c8030698e4313df9aeb81cfb7763e5150 (diff) | |
download | pugl-10bb9a2862b4d306eee6dc392d91eb727ea4faa9.tar.gz pugl-10bb9a2862b4d306eee6dc392d91eb727ea4faa9.tar.bz2 pugl-10bb9a2862b4d306eee6dc392d91eb727ea4faa9.zip |
Cleanup: Fix whitespace
Diffstat (limited to 'pugl/detail')
-rw-r--r-- | pugl/detail/mac.m | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pugl/detail/mac.m b/pugl/detail/mac.m index b1bf4fd..6900ed6 100644 --- a/pugl/detail/mac.m +++ b/pugl/detail/mac.m @@ -79,7 +79,7 @@ - (void) drawRect:(NSRect)rect { - const PuglEventExpose ev = { + const PuglEventExpose ev = { PUGL_EXPOSE, 0, rect.origin.x, @@ -104,7 +104,7 @@ - (void) dispatchConfigure:(NSRect)bounds { - const PuglEventConfigure ev = { + const PuglEventConfigure ev = { PUGL_CONFIGURE, 0, bounds.origin.x, @@ -195,7 +195,7 @@ handleCrossing(PuglWrapperView* view, NSEvent* event, const PuglEventType type) { const NSPoint wloc = [view eventLocation:event]; const NSPoint rloc = [NSEvent mouseLocation]; - const PuglEventCrossing ev = { + const PuglEventCrossing ev = { type, 0, [event timestamp], @@ -223,7 +223,7 @@ handleCrossing(PuglWrapperView* view, NSEvent* event, const PuglEventType type) { const NSPoint wloc = [self eventLocation:event]; const NSPoint rloc = [NSEvent mouseLocation]; - const PuglEventMotion ev = { + const PuglEventMotion ev = { PUGL_MOTION_NOTIFY, 0, [event timestamp], @@ -257,7 +257,7 @@ handleCrossing(PuglWrapperView* view, NSEvent* event, const PuglEventType type) { const NSPoint wloc = [self eventLocation:event]; const NSPoint rloc = [NSEvent mouseLocation]; - const PuglEventButton ev = { + const PuglEventButton ev = { PUGL_BUTTON_PRESS, 0, [event timestamp], @@ -275,7 +275,7 @@ handleCrossing(PuglWrapperView* view, NSEvent* event, const PuglEventType type) { const NSPoint wloc = [self eventLocation:event]; const NSPoint rloc = [NSEvent mouseLocation]; - const PuglEventButton ev = { + const PuglEventButton ev = { PUGL_BUTTON_RELEASE, 0, [event timestamp], @@ -313,7 +313,7 @@ handleCrossing(PuglWrapperView* view, NSEvent* event, const PuglEventType type) { const NSPoint wloc = [self eventLocation:event]; const NSPoint rloc = [NSEvent mouseLocation]; - const PuglEventScroll ev = { + const PuglEventScroll ev = { PUGL_SCROLL, 0, [event timestamp], @@ -342,7 +342,7 @@ handleCrossing(PuglWrapperView* view, NSEvent* event, const PuglEventType type) const uint32_t code = ( spec ? spec : puglDecodeUTF8((const uint8_t*)str)); - const PuglEventKey ev = { + const PuglEventKey ev = { PUGL_KEY_PRESS, 0, [event timestamp], |