2013-03-15 13:11:33 +00:00
|
|
|
namespace phoenix {
|
|
|
|
|
|
|
|
struct pWindow : public pObject {
|
2013-05-02 11:25:45 +00:00
|
|
|
Window& window;
|
2013-03-15 13:11:33 +00:00
|
|
|
|
|
|
|
static Window& none();
|
|
|
|
|
2013-05-02 11:25:45 +00:00
|
|
|
void append(Layout& layout);
|
|
|
|
void append(Menu& menu);
|
|
|
|
void append(Widget& widget);
|
2013-03-15 13:11:33 +00:00
|
|
|
bool focused();
|
|
|
|
Geometry frameMargin();
|
2013-05-02 11:25:45 +00:00
|
|
|
void remove(Layout& layout);
|
|
|
|
void remove(Menu& menu);
|
|
|
|
void remove(Widget& widget);
|
2013-07-29 09:42:45 +00:00
|
|
|
void setBackgroundColor(Color color);
|
|
|
|
void setDroppable(bool droppable);
|
2013-03-15 13:11:33 +00:00
|
|
|
void setFocused();
|
|
|
|
void setFullScreen(bool fullScreen);
|
2013-07-29 09:42:45 +00:00
|
|
|
void setGeometry(Geometry geometry);
|
2013-05-05 09:21:30 +00:00
|
|
|
void setMenuFont(string font);
|
2013-03-15 13:11:33 +00:00
|
|
|
void setMenuVisible(bool visible);
|
|
|
|
void setModal(bool modal);
|
|
|
|
void setResizable(bool resizable);
|
2013-05-05 09:21:30 +00:00
|
|
|
void setStatusFont(string font);
|
|
|
|
void setStatusText(string text);
|
2013-03-15 13:11:33 +00:00
|
|
|
void setStatusVisible(bool visible);
|
2013-05-05 09:21:30 +00:00
|
|
|
void setTitle(string text);
|
2013-03-15 13:11:33 +00:00
|
|
|
void setVisible(bool visible);
|
2013-05-05 09:21:30 +00:00
|
|
|
void setWidgetFont(string font);
|
2013-03-15 13:11:33 +00:00
|
|
|
|
2013-05-02 11:25:45 +00:00
|
|
|
pWindow(Window& window) : pObject(window), window(window) {}
|
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
|
|
|
};
|
|
|
|
|
|
|
|
}
|