summaryrefslogtreecommitdiff
path: root/listbox_darwin.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-13 23:35:04 -0400
committerPietro Gagliardi <[email protected]>2014-05-13 23:35:04 -0400
commit58b07a83eaf296d31523a30288705bf820a4c9d7 (patch)
tree67df2674fd9f23944db78b8e666bdeeb47906dc8 /listbox_darwin.h
parentb4cbccb40244587bbc4ed46980b2acd75a4ba23b (diff)
Migrated listbox_darwin.go to using Objective-C directly instead of through the runtime. Due to linking issues on Mac OS X 10.6, I haven't made this live yet; I need to repair my 10.6 setup before I can actually test. This won't be done before midnight, so preemptive commit. The new listbox_darwin.go is lbnew.
Diffstat (limited to 'listbox_darwin.h')
-rw-r--r--listbox_darwin.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/listbox_darwin.h b/listbox_darwin.h
new file mode 100644
index 0000000..bbdea63
--- /dev/null
+++ b/listbox_darwin.h
@@ -0,0 +1,20 @@
+// 13 may 2014
+
+extern id toListboxItem(id, id);
+extern id fromListboxItem(id, id);
+extern id newListboxArray(void);
+extern void listboxArrayAppend(id, id);
+extern void listboxArrayInsertBefore(id, id, uintptr_t);
+extern void listboxArrayDelete(id, uintptr_t);
+extern id listboxArrayItemAt(id, uintptr_t);
+extern void bindListboxArray(id, id, id, id);
+extern id boundListboxArray(id, id);
+extern id makeListboxTableColumn(id);
+extern id listboxTableColumn(id, id);
+extern id makeListbox(id, BOOL);
+extern id listboxSelectedRowIndexes(id);
+extern uintptr_t listboxIndexesCount(id);
+extern uintptr_t listboxIndexesFirst(id);
+extern uintptr_t listboxIndexesNext(id, uintptr_t);
+extern intptr_t listboxLen(id);
+extern void listboxDeselectAll(id);