diff options
| author | Pietro Gagliardi <[email protected]> | 2014-05-15 19:55:16 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-05-15 19:55:16 -0400 |
| commit | 9d8976ababebfd7ce670cdb05e3bc303ac466bf6 (patch) | |
| tree | f9ef14b706baab853c9067f25a4fc57174d0d7ad /area_darwin.m | |
| parent | b73d4e9010a273fd4e3e0b809959387a3b020cb0 (diff) | |
Migrated everything else to Objective-C native; fixed a few things I missed along the way.
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]); |
