ui/cocoa/button.h

changeset 108
77254bd6dccb
parent 102
64ded9f6a6c6
child 112
c3f2f16fa4b8
--- a/ui/cocoa/button.h	Sat Apr 05 17:57:04 2025 +0200
+++ b/ui/cocoa/button.h	Sun Jul 20 22:04:39 2025 +0200
@@ -30,6 +30,17 @@
 
 #import "../ui/button.h"
 
+@interface UiRadioButton : NSButton
+
+@property UiVar *var;
+@property Boolean direct_state;
+
+- (UiRadioButton*)init;
+- (void)setState:(NSControlStateValue)state;
+
+@end
+
+
 int64_t ui_togglebutton_get(UiInteger *i);
 void ui_togglebutton_set(UiInteger *i, int64_t value);
 

mercurial