mirror of https://github.com/bsnes-emu/bsnes.git
26 lines
455 B
C++
26 lines
455 B
C++
#if defined(Hiro_Label)
|
|
|
|
@interface CocoaLabel : NSTextField {
|
|
@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
|