summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spinbox_darwin.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/spinbox_darwin.go b/spinbox_darwin.go
new file mode 100644
index 0000000..cb46f3a
--- /dev/null
+++ b/spinbox_darwin.go
@@ -0,0 +1,14 @@
+// 28 october 2014
+
+package ui
+
+// #include "objc_darwin.h"
+import "C"
+
+// interface builder notes
+// - the tops of the alignment rects should be identical
+// - spinner properties: auto repeat
+// - http://stackoverflow.com/questions/702829/integrate-nsstepper-with-nstextfield we'll need to bind the int value :S
+// - TODO experiment with a dummy project
+// TODO
+// - proper spacing between edit and spinner: Interface Builder isn't clear; NSDatePicker doesn't spill the beans