summaryrefslogtreecommitdiff
path: root/src/gui/window.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-20 14:20:10 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-20 14:20:10 +0000
commitfec8d201c51d82c370cb6052209397d88d004490 (patch)
tree57c12776fce97ee9824cd2df2d7ab475014418ef /src/gui/window.h
parent41b0b5c0ed80d812d13c8c92d286a8663084ec58 (diff)
downloadmana-client-fec8d201c51d82c370cb6052209397d88d004490.tar.gz
mana-client-fec8d201c51d82c370cb6052209397d88d004490.tar.bz2
mana-client-fec8d201c51d82c370cb6052209397d88d004490.tar.xz
mana-client-fec8d201c51d82c370cb6052209397d88d004490.zip
Converted the progress bar and stats dialog to Guichan widgets.
Diffstat (limited to 'src/gui/window.h')
-rw-r--r--src/gui/window.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/window.h b/src/gui/window.h
index 3fa3f58f..92fe0313 100644
--- a/src/gui/window.h
+++ b/src/gui/window.h
@@ -49,7 +49,7 @@ class Window : public gcn::Container, public gcn::MouseListener
BITMAP *dRight; /**< Right side of title bar */
public:
- Window(gcn::Container *parent, std::string text = "Window");
+ Window(gcn::Container *parent, const std::string& text = "Window");
~Window();
/**
@@ -68,6 +68,11 @@ class Window : public gcn::Container, public gcn::MouseListener
void add(gcn::Widget *w, int x, int y);
/**
+ * Sets the title of the window.
+ */
+ void setTitle(const std::string& text);
+
+ /**
* Sets the dimension of the window contents.
*/
void setDimension(const gcn::Rectangle& dimension);