bsnes/higan/phoenix/cocoa/widget/label.hpp

24 lines
436 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(const Geometry &geometry);
void setText(const string &text);
pLabel(Label &label) : pWidget(label), label(label) {}
void constructor();
void destructor();
};
}