summaryrefslogtreecommitdiff
path: root/src/gui/speechbubble.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-24 18:16:17 -0700
committerIra Rice <irarice@gmail.com>2009-01-24 18:16:17 -0700
commit5c79b920eefb219f0dd4491b709af4f116d3a988 (patch)
tree43d947537af88ddbd3b853e9e35f5bc8d2216818 /src/gui/speechbubble.h
parent5e1dc59411cd7973fb4208ae76d0970bd2ea87d6 (diff)
downloadmana-5c79b920eefb219f0dd4491b709af4f116d3a988.tar.gz
mana-5c79b920eefb219f0dd4491b709af4f116d3a988.tar.bz2
mana-5c79b920eefb219f0dd4491b709af4f116d3a988.tar.xz
mana-5c79b920eefb219f0dd4491b709af4f116d3a988.zip
Tweaks to the speech bubbles so that being status (GM, mob, npc,
regular player) is displayed in the speech bubbles now. No need to view your own name to be able to see whether you're showing as a GM now. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/speechbubble.h')
-rw-r--r--src/gui/speechbubble.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/speechbubble.h b/src/gui/speechbubble.h
index 6d8a94d4..23733813 100644
--- a/src/gui/speechbubble.h
+++ b/src/gui/speechbubble.h
@@ -33,12 +33,14 @@ class SpeechBubble : public Window
SpeechBubble();
- void setName(const std::string &name);
+ void setCaption(const std::string &name,
+ const gcn::Color &color = 0x000000);
void setText(std::string mText);
void setLocation(int x, int y);
unsigned int getNumRows();
private:
+ gcn::Label *mCaption;
TextBox *mSpeechBox;
ScrollArea *mSpeechArea;
};