diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-06-05 21:29:13 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-06-05 21:29:13 +0000 |
commit | cb5a80c169e10adf6d6b9392bba7c9946edf087d (patch) | |
tree | 321f9be819b01406dbbd6cf31cb7ddbb2244b3c1 /src/gui/textbox.h | |
parent | 7c7c50bf115299cd3a160b0eb9abfa8d7fdb2fd5 (diff) | |
download | mana-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.h | 5 |
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 |