mirror of https://github.com/bsnes-emu/bsnes.git
30 lines
678 B
C++
30 lines
678 B
C++
#if defined(Hiro_CheckButton)
|
|
|
|
@interface CocoaCheckButton : NSButton {
|
|
@public
|
|
hiro::mCheckButton* checkButton;
|
|
}
|
|
-(id) initWith:(hiro::mCheckButton&)checkButton;
|
|
-(IBAction) activate:(id)sender;
|
|
@end
|
|
|
|
namespace hiro {
|
|
|
|
struct pCheckButton : pWidget {
|
|
Declare(CheckButton, Widget)
|
|
|
|
auto minimumSize() const -> Size override;
|
|
auto setBordered(bool bordered) -> void;
|
|
auto setChecked(bool checked) -> void;
|
|
auto setGeometry(Geometry geometry) -> void override;
|
|
auto setIcon(const image& icon) -> void;
|
|
auto setOrientation(Orientation orientation) -> void;
|
|
auto setText(const string& text) -> void;
|
|
|
|
CocoaCheckButton* cocoaCheckButton = nullptr;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|