Debian Codegraph @

phoenix/cocoa/widget/check-label.hpp

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