| 28 |
28 |
| 29 #import "toolkit.h" |
29 #import "toolkit.h" |
| 30 |
30 |
| 31 #import "../ui/button.h" |
31 #import "../ui/button.h" |
| 32 |
32 |
| |
33 @interface UiRadioButton : NSButton |
| |
34 |
| |
35 @property UiVar *var; |
| |
36 @property Boolean direct_state; |
| |
37 |
| |
38 - (UiRadioButton*)init; |
| |
39 - (void)setState:(NSControlStateValue)state; |
| |
40 |
| |
41 @end |
| |
42 |
| |
43 |
| 33 int64_t ui_togglebutton_get(UiInteger *i); |
44 int64_t ui_togglebutton_get(UiInteger *i); |
| 34 void ui_togglebutton_set(UiInteger *i, int64_t value); |
45 void ui_togglebutton_set(UiInteger *i, int64_t value); |
| 35 |
46 |
| 36 int64_t ui_switch_get(UiInteger *i); |
47 int64_t ui_switch_get(UiInteger *i); |
| 37 void ui_switch_set(UiInteger *i, int64_t value); |
48 void ui_switch_set(UiInteger *i, int64_t value); |