#include <speechbubble.h>

Definition at line 32 of file speechbubble.h.
Public Member Functions | |
| SpeechBubble () | |
| Constructor. | |
| void | setCaption (const std::string &name, const gcn::Color *color=&guiPalette->getColor(Palette::TEXT)) |
| Sets the name displayed for the speech bubble, and in what color. | |
| void | setText (const std::string &text, bool showName=true) |
| Sets the text to be displayed. | |
| void | setLocation (int x, int y) |
| Sets the location in which the speech bubble will be displayed. | |
Private Attributes | |
| std::string | mText |
| gcn::Label * | mCaption |
| TextBox * | mSpeechBox |
| SpeechBubble::SpeechBubble | ( | ) |
| void SpeechBubble::setCaption | ( | const std::string & | name, | |
| const gcn::Color * | color = &guiPalette->getColor(Palette::TEXT) | |||
| ) |
Sets the name displayed for the speech bubble, and in what color.
Definition at line 57 of file speechbubble.cpp.
| void SpeechBubble::setText | ( | const std::string & | text, | |
| bool | showName = true | |||
| ) |
| void SpeechBubble::setLocation | ( | int | x, | |
| int | y | |||
| ) |
Sets the location in which the speech bubble will be displayed.
std::string SpeechBubble::mText [private] |
Definition at line 58 of file speechbubble.h.
gcn::Label* SpeechBubble::mCaption [private] |
Definition at line 59 of file speechbubble.h.
TextBox* SpeechBubble::mSpeechBox [private] |
Definition at line 60 of file speechbubble.h.
1.5.5