diff options
| author | Pietro Gagliardi <[email protected]> | 2014-05-13 23:35:04 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-05-13 23:35:04 -0400 |
| commit | 58b07a83eaf296d31523a30288705bf820a4c9d7 (patch) | |
| tree | 67df2674fd9f23944db78b8e666bdeeb47906dc8 /listbox_darwin.h | |
| parent | b4cbccb40244587bbc4ed46980b2acd75a4ba23b (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.h | 20 |
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); |
