summaryrefslogtreecommitdiff
path: root/src/gui/textbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/textbox.h')
-rw-r--r--src/gui/textbox.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/textbox.h b/src/gui/textbox.h
index 98b60402..84dd6268 100644
--- a/src/gui/textbox.h
+++ b/src/gui/textbox.h
@@ -43,18 +43,13 @@ class TextBox : public gcn::TextBox {
/**
* Sets the text after wrapping it to the current width of the widget.
*/
- void setTextWrapped(const std::string &text);
+ void setTextWrapped(const std::string &text, int minDimension);
/**
* Get the minimum text width for the text box.
*/
int getMinWidth() { return mMinWidth; }
- /**
- * Set the minimum text width for the text box.
- */
- void setMinWidth(int width) { mMinWidth = width; }
-
private:
int mMinWidth;
};