summaryrefslogtreecommitdiff
path: root/src/gui/textbox.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-06-05 21:29:13 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-06-05 21:29:13 +0000
commitcb5a80c169e10adf6d6b9392bba7c9946edf087d (patch)
tree321f9be819b01406dbbd6cf31cb7ddbb2244b3c1 /src/gui/textbox.h
parent7c7c50bf115299cd3a160b0eb9abfa8d7fdb2fd5 (diff)
downloadmana-cb5a80c169e10adf6d6b9392bba7c9946edf087d.tar.gz
mana-cb5a80c169e10adf6d6b9392bba7c9946edf087d.tar.bz2
mana-cb5a80c169e10adf6d6b9392bba7c9946edf087d.tar.xz
mana-cb5a80c169e10adf6d6b9392bba7c9946edf087d.zip
Implemented wrapping for textbox (still could use a small fix) and made death
notice dialog release modal focus immediately.
Diffstat (limited to 'src/gui/textbox.h')
-rw-r--r--src/gui/textbox.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/textbox.h b/src/gui/textbox.h
index 8f5d910f..5c315d15 100644
--- a/src/gui/textbox.h
+++ b/src/gui/textbox.h
@@ -44,6 +44,11 @@ class TextBox : public gcn::TextBox {
* Constructor.
*/
TextBox(const std::string& text);
+
+ /**
+ * Sets the text after wrapping it to the current width of the widget.
+ */
+ void setText(const std::string &text);
};
#endif