2013-03-15 13:11:33 +00:00
|
|
|
namespace phoenix {
|
|
|
|
|
|
|
|
struct pWidget : public pSizable {
|
2013-05-02 11:25:45 +00:00
|
|
|
Widget& widget;
|
2013-03-15 13:11:33 +00:00
|
|
|
|
|
|
|
bool enabled();
|
|
|
|
bool focused();
|
|
|
|
Size minimumSize();
|
|
|
|
void setEnabled(bool enabled);
|
|
|
|
void setFocused();
|
2013-05-05 09:21:30 +00:00
|
|
|
void setFont(string font);
|
2013-07-29 09:42:45 +00:00
|
|
|
void setGeometry(Geometry geometry);
|
2013-03-15 13:11:33 +00:00
|
|
|
void setVisible(bool visible);
|
|
|
|
|
2013-05-02 11:25:45 +00:00
|
|
|
pWidget(Widget& widget) : pSizable(widget), widget(widget) {}
|
2013-03-15 13:11:33 +00:00
|
|
|
void constructor();
|
2013-03-21 12:59:01 +00:00
|
|
|
void destructor();
|
2013-03-15 13:11:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|