| 1 |
namespace phoenix { |
| 2 |
|
| 3 |
struct pWindow : public pObject { |
| 4 |
Window& window; |
| 5 |
|
| 6 |
static Window& none(); |
| 7 |
|
| 8 |
void append(Layout& layout); |
| 9 |
void append(Menu& menu); |
| 10 |
void append(Widget& widget); |
| 11 |
bool focused(); |
| 12 |
Geometry frameMargin(); |
| 13 |
Geometry geometry(); |
| 14 |
void remove(Layout& layout); |
| 15 |
void remove(Menu& menu); |
| 16 |
void remove(Widget& widget); |
| 17 |
void setBackgroundColor(Color color); |
| 18 |
void setDroppable(bool droppable); |
| 19 |
void setFocused(); |
| 20 |
void setFullScreen(bool fullScreen); |
| 21 |
void setGeometry(Geometry geometry); |
| 22 |
void setMenuFont(string font); |
| 23 |
void setMenuVisible(bool visible); |
| 24 |
void setModal(bool modal); |
| 25 |
void setResizable(bool resizable); |
| 26 |
void setStatusFont(string font); |
| 27 |
void setStatusText(string text); |
| 28 |
void setStatusVisible(bool visible); |
| 29 |
void setTitle(string text); |
| 30 |
void setVisible(bool visible); |
| 31 |
void setWidgetFont(string font); |
| 32 |
|
| 33 |
pWindow(Window& window) : pObject(window), window(window) {} |
| 34 |
void constructor(); |
| 35 |
void destructor(); |
| 36 |
}; |
| 37 |
|
| 38 |
} |