summaryrefslogtreecommitdiff
path: root/objc_darwin.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-10 21:03:04 -0400
committerPietro Gagliardi <[email protected]>2014-05-10 21:03:04 -0400
commitcc01981999df5f60bac36adf5039c752e10384e7 (patch)
treecb0f02854c48aa8c59c1952a9ddcb43b2917f235 /objc_darwin.h
parent5819e52f8de793d781c8de86d6ae16aa832fdfe1 (diff)
Added tracking areas to Area on Mac OS X so mouse move events can work; they work now.
Diffstat (limited to 'objc_darwin.h')
-rw-r--r--objc_darwin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/objc_darwin.h b/objc_darwin.h
index aaca07e..c7a7157 100644
--- a/objc_darwin.h
+++ b/objc_darwin.h
@@ -112,8 +112,10 @@ extern void initBleh();
extern id makeDummyEvent();
/* for area_darwin.go */
+/* TODO apparently ISO C forbids casting a function pointer to a non-function pointer; this will need to change???? */
extern void *_areaView_drawRect;
extern void drawImage(void *, int64_t, int64_t, int64_t, int64_t, int64_t);
+extern id makeTrackingArea(id);
extern struct xpoint getTranslatedEventPoint(id, id);
/* for objc_darwin.go */