mirror of https://github.com/bsnes-emu/bsnes.git
27 lines
517 B
C++
27 lines
517 B
C++
#if defined(Hiro_CheckLabel)
|
|
|
|
@interface CocoaCheckLabel : NSButton {
|
|
@public
|
|
hiro::mCheckLabel* checkLabel;
|
|
}
|
|
-(id) initWith:(hiro::mCheckLabel&)checkLabel;
|
|
-(IBAction) activate:(id)sender;
|
|
@end
|
|
|
|
namespace hiro {
|
|
|
|
struct pCheckLabel : pWidget {
|
|
Declare(CheckLabel, Widget)
|
|
|
|
auto minimumSize() const -> Size override;
|
|
auto setChecked(bool checked) -> void;
|
|
auto setGeometry(Geometry geometry) -> void;
|
|
auto setText(const string& text) -> void;
|
|
|
|
CocoaCheckLabel* cocoaCheckLabel = nullptr;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|