mirror of https://github.com/bsnes-emu/bsnes.git
22 lines
473 B
C++
22 lines
473 B
C++
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();
|
|
};
|
|
|
|
}
|