bsnes/phoenix/cocoa/widget/label.hpp

24 lines
422 B
C++

@interface CocoaLabel : NSTextField {
@public
phoenix::Label* label;
}
-(id) initWith:(phoenix::Label&)label;
@end
namespace phoenix {
struct pLabel : public pWidget {
Label& label;
CocoaLabel* cocoaLabel = nullptr;
Size minimumSize();
void setGeometry(Geometry geometry);
void setText(string text);
pLabel(Label& label) : pWidget(label), label(label) {}
void constructor();
void destructor();
};
}