Debian Codegraph @

phoenix/cocoa/widget/check-button.hpp

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