diff options
Diffstat (limited to 'src/gui/speechbubble.h')
-rw-r--r-- | src/gui/speechbubble.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/speechbubble.h b/src/gui/speechbubble.h index 4601a43e..8455a1b1 100644 --- a/src/gui/speechbubble.h +++ b/src/gui/speechbubble.h @@ -48,18 +48,13 @@ class SpeechBubble : public Popup /** * Sets the text to be displayed. */ - void setText(std::string text, bool showName = true); + void setText(const std::string &text, bool showName = true); /** * Sets the location in which the speech bubble will be displayed. */ void setLocation(int x, int y); - /** - * Gets the number of rows the speech bubble has. - */ - unsigned int getNumRows() const; - private: std::string mText; gcn::Label *mCaption; |