summaryrefslogtreecommitdiff
path: root/sysdata_darwin.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-12 19:34:13 -0400
committerPietro Gagliardi <[email protected]>2014-05-12 19:34:13 -0400
commit37f3d0fafc9ce16304ed95a683785cd435c475dc (patch)
treeb66a2dc34fe6cb7fe7e0bb00ac807b58698f7ab6 /sysdata_darwin.h
parentf14614c0c7c98f160e27964dd8926cdc778712d0 (diff)
Converted most of sysdata_darwin.go to regular Objective-C. I'll also standardize the interface for transferring integer values between Objective-C and Go so that they use intptr_t and uintptr_t everywhere, rather than those two in some places and uint64_t/int64_t in others.
Diffstat (limited to 'sysdata_darwin.h')
-rw-r--r--sysdata_darwin.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysdata_darwin.h b/sysdata_darwin.h
index c436c09..f23bc9b 100644
--- a/sysdata_darwin.h
+++ b/sysdata_darwin.h
@@ -9,3 +9,21 @@ extern void applyStandardControlFont(id);
extern id makeWindow(void);
extern void windowShow(id);
extern void windowHide(id);
+extern id makeButton(void);
+extern void buttonSetTargetAction(id, id);
+extern id makeCheckbox(void);
+extern id makeCombobox(BOOL);
+extern void comboboxAppend(id, BOOL, id);
+extern void comboboxInsertBefore(id, BOOL, id, intptr_t);
+extern intptr_t comboboxSelectedIndex(id);
+extern void comboboxDelete(id, intptr_t);
+extern intptr_t comboboxLen(id);
+extern void comboboxSelectIndex(id, BOOL, intptr_t);
+extern id makeLineEdit(BOOL);
+extern id makeLabel(void);
+extern id makeProgressBar(void);
+extern void setRect(id, intptr_t, intptr_t, intptr_t, intptr_t);
+extern BOOL isCheckboxChecked(id);
+extern void windowSetContentSize(id, intptr_t, intptr_t);
+extern void setProgress(id, intptr_t);
+extern void setAreaSize(id, intptr_t, intptr_t);