From 9f5f8e5c6579f3ecc7a6c245e063d5f2d96c62ff Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Sun, 12 Oct 2008 06:39:34 +0000 Subject: This commit contains three things: one, after looking over how TMW was handling the effects through the level up system, I determined that it wasn't bad, so I pulled it from TMW's SVN. Two, I edited the web page css so that it better matches the forum. And three, I patched text wrapping so that it'll fix up its display size based on all previous lines, except for the last line. That fix will come later, but for now, it'll be seen as a special case. While you'd like to think that just resending the string and starting the function over again would fix it, you'd be wrong. So it won't be patched until I think of a better way to handle that case. --- src/gui/speechbubble.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/speechbubble.h') diff --git a/src/gui/speechbubble.h b/src/gui/speechbubble.h index c4ca9109..7a2a73b8 100644 --- a/src/gui/speechbubble.h +++ b/src/gui/speechbubble.h @@ -35,7 +35,7 @@ class SpeechBubble : public Window SpeechBubble(); - void setText(const std::string mText); + void setText(std::string mText); void setLocation(int x, int y); unsigned int getNumRows(); -- cgit v1.2.3-70-g09d2