diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-24 16:56:01 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-24 16:56:01 +0100 |
commit | 944c187b91e823075dd1708b4f575acd43f0428f (patch) | |
tree | d8513a7d1eac88ab6d4abcf9939e89db482c135b /src/text.h | |
parent | 72e65a1cc2f2f9f541d24382eff4a2edb2535e57 (diff) | |
download | mana-944c187b91e823075dd1708b4f575acd43f0428f.tar.gz mana-944c187b91e823075dd1708b4f575acd43f0428f.tar.bz2 mana-944c187b91e823075dd1708b4f575acd43f0428f.tar.xz mana-944c187b91e823075dd1708b4f575acd43f0428f.zip |
Added speech bubble background by QOAL
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 |