ui/cocoa/button.h

changeset 108
77254bd6dccb
parent 102
64ded9f6a6c6
child 112
c3f2f16fa4b8
equal deleted inserted replaced
107:b34bd1557c6c 108:77254bd6dccb
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);

mercurial