summaryrefslogtreecommitdiff
path: root/src/gui/window.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-23 14:36:51 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-23 14:36:51 +0000
commit3a9ae4770fcfec80c660fd9351ecea8c3c9bc913 (patch)
tree2f084acc77ac30724641fda88989fbb003b352e0 /src/gui/window.h
parentdb4fd250723ad6121059a71f1cac0e87eb91e695 (diff)
downloadmana-client-3a9ae4770fcfec80c660fd9351ecea8c3c9bc913.tar.gz
mana-client-3a9ae4770fcfec80c660fd9351ecea8c3c9bc913.tar.bz2
mana-client-3a9ae4770fcfec80c660fd9351ecea8c3c9bc913.tar.xz
mana-client-3a9ae4770fcfec80c660fd9351ecea8c3c9bc913.zip
Skinned our beautiful text field back!
Diffstat (limited to 'src/gui/window.h')
-rw-r--r--src/gui/window.h12
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();
/**