| 38 - (UiRadioButton*)init; |
38 - (UiRadioButton*)init; |
| 39 - (void)setState:(NSControlStateValue)state; |
39 - (void)setState:(NSControlStateValue)state; |
| 40 |
40 |
| 41 @end |
41 @end |
| 42 |
42 |
| |
43 @interface UiLinkButtonData : NSObject |
| |
44 @property UiObject *obj; |
| |
45 @property (weak) NSTextField *textfield; |
| |
46 @property (strong) NSString *label; |
| |
47 @property (strong) NSString *uri; |
| |
48 @property BOOL visited; |
| |
49 @property ui_callback onclick; |
| |
50 @property void *onclickdata; |
| |
51 |
| |
52 - (id)init:(UiObject*)obj textfield:(NSTextField*)textfield; |
| |
53 - (void)setLinkDataFromJson:(const char*)jsonStr; |
| |
54 - (void)buildLink; |
| |
55 |
| |
56 @end |
| |
57 |
| 43 |
58 |
| 44 int64_t ui_togglebutton_get(UiInteger *i); |
59 int64_t ui_togglebutton_get(UiInteger *i); |
| 45 void ui_togglebutton_set(UiInteger *i, int64_t value); |
60 void ui_togglebutton_set(UiInteger *i, int64_t value); |
| 46 |
61 |
| 47 int64_t ui_switch_get(UiInteger *i); |
62 int64_t ui_switch_get(UiInteger *i); |
| 48 void ui_switch_set(UiInteger *i, int64_t value); |
63 void ui_switch_set(UiInteger *i, int64_t value); |
| 49 |
64 |
| 50 int64_t ui_radiobuttons_get(UiInteger *i); |
65 int64_t ui_radiobuttons_get(UiInteger *i); |
| 51 void ui_radiobuttons_set(UiInteger *i, int64_t value); |
66 void ui_radiobuttons_set(UiInteger *i, int64_t value); |
| |
67 |
| |
68 char* ui_linkbutton_get(UiString *s); |
| |
69 void ui_linkbutton_set(UiString *s, const char *str); |