summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-28 18:25:05 -0400
committerPietro Gagliardi <[email protected]>2014-10-28 18:25:05 -0400
commitb8cb342724997ad8f2a68881f073ee5559ef58d8 (patch)
treed0148fb55872dba1110d5435d8c1e83a73903ed4
parent667745dd8c79ea358b66456ea7afcc751429da88 (diff)
Wrote some notes on Mac OS X Spinbox.
-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