diff options
Diffstat (limited to 'src/gui/window.h')
-rw-r--r-- | src/gui/window.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/window.h b/src/gui/window.h index 92fe0313..c7fd6956 100644 --- a/src/gui/window.h +++ b/src/gui/window.h @@ -49,7 +49,19 @@ class Window : public gcn::Container, public gcn::MouseListener BITMAP *dRight; /**< Right side of title bar */ public: + /** + * Constructor. Initializes the title to the given text and hooks + * itself into the given parent. + * + * @param parent The parent container to which this window will add + * itself. + * @param text The initial window title, "Window" by default. + */ Window(gcn::Container *parent, const std::string& text = "Window"); + + /** + * Destructor. + */ ~Window(); /** |