Debian Codegraph @

hiro/cocoa/widget/check-label.hpp

raw
1 #if defined(Hiro_CheckLabel)
2
3 @interface CocoaCheckLabel : NSButton {
4 @public
5 hiro::mCheckLabel* checkLabel;
6 }
7 -(id) initWith:(hiro::mCheckLabel&)checkLabel;
8 -(IBAction) activate:(id)sender;
9 @end
10
11 namespace hiro {
12
13 struct pCheckLabel : pWidget {
14 Declare(CheckLabel, Widget)
15
16 auto minimumSize() const -> Size override;
17 auto setChecked(bool checked) -> void;
18 auto setGeometry(Geometry geometry) -> void override;
19 auto setText(const string& text) -> void;
20
21 CocoaCheckLabel* cocoaCheckLabel = nullptr;
22 };
23
24 }
25
26 #endif