summaryrefslogtreecommitdiff
path: root/objc_darwin.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-30 17:52:27 -0400
committerPietro Gagliardi <[email protected]>2014-03-30 17:52:27 -0400
commit41a7e3dab8193d8c19aa43eac344eb274deef5a8 (patch)
tree2817244b71d3f8ed26d2b2336b0828811a54412f /objc_darwin.h
parent8c18adcfdb1b0ce034c692204c49a1e57e4abe83 (diff)
Implemented Area mouse events on Mac OS X. Also fixed a few other things left behind in the previous commits. Also more TODOs.
Diffstat (limited to 'objc_darwin.h')
-rw-r--r--objc_darwin.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/objc_darwin.h b/objc_darwin.h
index 8f65f1c..2807d93 100644
--- a/objc_darwin.h
+++ b/objc_darwin.h
@@ -47,6 +47,11 @@ struct xsize {
extern struct xsize objc_msgSend_stret_size_noargs(id obj, SEL sel);
+struct xpoint {
+ int64_t x;
+ int64_t y;
+};
+
extern uintptr_t objc_msgSend_uintret_noargs(id objc, SEL sel);
extern intptr_t objc_msgSend_intret_noargs(id obj, SEL sel);
@@ -107,6 +112,7 @@ extern id makeDummyEvent();
/* for area_darwin.go */
extern BOOL addAreaViewDrawMethod(Class);
-extern id drawImage(void *, int64_t, int64_t, int64_t, int64_t, int64_t);
+extern void drawImage(void *, int64_t, int64_t, int64_t, int64_t, int64_t);
+extern struct xpoint getTranslatedEventPoint(id, id);
#endif