mirror of https://github.com/bsnes-emu/bsnes.git
26 lines
454 B
C++
26 lines
454 B
C++
#if defined(Hiro_Label)
|
|
|
|
@interface CocoaLabel : NSTextView {
|
|
@public
|
|
hiro::mLabel* label;
|
|
}
|
|
-(id) initWith:(hiro::mLabel&)label;
|
|
@end
|
|
|
|
namespace hiro {
|
|
|
|
struct pLabel : pWidget {
|
|
Declare(Label, Widget)
|
|
|
|
auto minimumSize() const -> Size override;
|
|
auto setAlignment(Alignment alignment) -> void;
|
|
auto setGeometry(Geometry geometry) -> void override;
|
|
auto setText(const string& text) -> void;
|
|
|
|
CocoaLabel* cocoaLabel = nullptr;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|