From ca607f8fb7c11769c10b8ce787784c91686b629b Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 9 Apr 2015 12:52:34 -0400 Subject: Added uiCheckboxChecked() and uiCheckboxSetChecked(). --- new/ui.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'new/ui.h') 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 -- cgit v1.2.3