diff options
Diffstat (limited to 'src/text.h')
-rw-r--r-- | src/text.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -38,7 +38,7 @@ class Text */ Text(const std::string &text, int x, int y, gcn::Graphics::Alignment alignment, gcn::Font *font, - gcn::Color colour); + gcn::Color colour, bool isSpeech = false); /** * Destructor. The text is removed from the screen. @@ -65,6 +65,11 @@ class Text gcn::Font *mFont; /**< The font used. */ std::string mText; /**< The text to display. */ gcn::Color mColour; /**< The colour of the text. */ + bool mIsSpeech; /**< Is this text a speech bubble? */ + + protected: + static ImageRect mBubble; /**< Speech bubble graphic */ + static Image *mBubbleArrow; /**< Speech bubble arrow graphic */ }; class FlashText : public Text |