diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-24 19:43:26 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-24 19:43:26 +0100 |
commit | a928798a9326de1e6781e14c8ccf5abec1232385 (patch) | |
tree | 2e0f82055cab1bddf85102d5161a3262637879ee /src/text.h | |
parent | 944c187b91e823075dd1708b4f575acd43f0428f (diff) | |
download | mana-a928798a9326de1e6781e14c8ccf5abec1232385.tar.gz mana-a928798a9326de1e6781e14c8ccf5abec1232385.tar.bz2 mana-a928798a9326de1e6781e14c8ccf5abec1232385.tar.xz mana-a928798a9326de1e6781e14c8ccf5abec1232385.zip |
Use standard GUI font also for speech and names
The speech bitmap font can't handle unicode, so it has now been replaced
by the standard GUI font, drawn with a shadow for chat and with a full
outline for names.
Diffstat (limited to 'src/text.h')
-rw-r--r-- | src/text.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -37,7 +37,7 @@ class Text * Constructor creates a text object to display on the screen. */ Text(const std::string &text, int x, int y, - gcn::Graphics::Alignment alignment, gcn::Font *font, + gcn::Graphics::Alignment alignment, gcn::Color colour, bool isSpeech = false); /** @@ -62,7 +62,6 @@ class Text int mHeight; /**< The height of the text. */ int mXOffset; /**< The offset of mX from the desired x. */ static int mInstances; /**< Instances of 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? */ @@ -76,7 +75,7 @@ class FlashText : public Text { public: FlashText(const std::string &text, int x, int y, - gcn::Graphics::Alignment alignment, gcn::Font *font, + gcn::Graphics::Alignment alignment, gcn::Color colour); /** |