From cb5a80c169e10adf6d6b9392bba7c9946edf087d Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 5 Jun 2005 21:29:13 +0000 Subject: Implemented wrapping for textbox (still could use a small fix) and made death notice dialog release modal focus immediately. --- src/gui/textbox.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui/textbox.h') 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 -- cgit v1.2.3-70-g09d2