Debian Codegraph @

hiro/cocoa/widget/check-button.hpp

raw
1 #if defined(Hiro_CheckButton)
2
3 @interface CocoaCheckButton : NSButton {
4 @public
5 hiro::mCheckButton* checkButton;
6 }
7 -(id) initWith:(hiro::mCheckButton&)checkButton;
8 -(IBAction) activate:(id)sender;
9 @end
10
11 namespace hiro {
12
13 struct pCheckButton : pWidget {
14 Declare(CheckButton, Widget)
15
16 auto minimumSize() const -> Size override;
17 auto setBordered(bool bordered) -> void;
18 auto setChecked(bool checked) -> void;
19 auto setGeometry(Geometry geometry) -> void override;
20 auto setIcon(const multiFactorImage& icon) -> void;
21 auto setOrientation(Orientation orientation) -> void;
22 auto setText(const string& text) -> void;
23
24 CocoaCheckButton* cocoaCheckButton = nullptr;
25 };
26
27 }
28
29 #endif