summaryrefslogtreecommitdiff
path: root/redo/objc_darwin.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-05 14:33:25 -0400
committerPietro Gagliardi <[email protected]>2014-08-05 14:33:25 -0400
commit6b7660a671419006a3e6f2cce6825bd694f4cf5b (patch)
tree7f36ce25687c1ea067bd59de9bb57c611640f73d /redo/objc_darwin.h
parent6de4565e0c0e2f1a18d0da83b56f46fbc6f14645 (diff)
Added the Mac OS X implementation of Area... somewhat messily, but eh.
Diffstat (limited to 'redo/objc_darwin.h')
-rw-r--r--redo/objc_darwin.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/redo/objc_darwin.h b/redo/objc_darwin.h
index f0dac12..127d3f7 100644
--- a/redo/objc_darwin.h
+++ b/redo/objc_darwin.h
@@ -89,4 +89,19 @@ extern struct xsize areaPrefSize(id);
extern struct xalignment alignmentInfo(id, struct xrect);
extern struct xrect frame(id);
+/* area_darwin.h */
+struct xpoint {
+ intptr_t x;
+ intptr_t y;
+};
+extern id newArea(void *);
+extern void drawImage(void *, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t);
+extern uintptr_t modifierFlags(id);
+extern struct xpoint getTranslatedEventPoint(id, id);
+extern intptr_t buttonNumber(id);
+extern intptr_t clickCount(id);
+extern uintptr_t pressedMouseButtons(void);
+extern uintptr_t keyCode(id);
+extern void display(id);
+
#endif