summaryrefslogtreecommitdiff
path: root/new/ui.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-09 12:52:34 -0400
committerPietro Gagliardi <[email protected]>2015-04-09 12:52:34 -0400
commitca607f8fb7c11769c10b8ce787784c91686b629b (patch)
treedf629cc873248d179f610eb867f96d33e161cd87 /new/ui.h
parent42e99da58788b26091dea5207825030078cc6c87 (diff)
Added uiCheckboxChecked() and uiCheckboxSetChecked().
Diffstat (limited to 'new/ui.h')
-rw-r--r--new/ui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/new/ui.h b/new/ui.h
index 0538641..ee2c121 100644
--- a/new/ui.h
+++ b/new/ui.h
@@ -49,5 +49,8 @@ uiControl *uiNewCheckbox(const char *);
char *uiCheckboxText(uiControl *);
void uiCheckboxSetText(uiControl *, const char *);
void uiCheckboxOnToggled(uiControl *, void (*)(uiControl *, void *), void *);
+int uiCheckboxChecked(uiControl *);
+// TODO should this trigger an event?
+void uiChekboxSetChecked(uiControl *, int);
#endif