bsnes/phoenix/cocoa/widget/widget.hpp

22 lines
473 B
C++
Raw Normal View History

namespace phoenix {
struct pWidget : public pSizable {
Widget& widget;
NSView* cocoaView = nullptr;
bool enabled();
bool focused();
virtual Size minimumSize();
virtual void setEnabled(bool enabled);
void setFocused();
virtual void setFont(string font);
virtual void setGeometry(Geometry geometry);
virtual void setVisible(bool visible);
pWidget(Widget& widget) : pSizable(widget), widget(widget) {}
void constructor();
void destructor();
};
}