diff options
Diffstat (limited to 'area_darwin.m')
| -rw-r--r-- | area_darwin.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/area_darwin.m b/area_darwin.m index a0105a3..041841d 100644 --- a/area_darwin.m +++ b/area_darwin.m @@ -112,6 +112,11 @@ intptr_t buttonNumber(id e) return fromNSInteger([toNSEvent(e) buttonNumber]); } +intptr_t clickCount(id e) +{ + return fromNSInteger([toNSEvent(e) clickCount]); +} + uintptr_t pressedMouseButtons(void) { return fromNSUInteger([NSEvent pressedMouseButtons]); |
