From 697e5bbf3171b0ba1fbbc0bbe61461c7726bf1ce Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 27 Dec 2012 15:58:18 +0300 Subject: Remove textrenderer class. --- src/text.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/text.h') diff --git a/src/text.h b/src/text.h index f42c564a9..1c922a866 100644 --- a/src/text.h +++ b/src/text.h @@ -67,7 +67,7 @@ class Text /** * Draws the text. */ - virtual void draw(gcn::Graphics *const graphics, + virtual void draw(Graphics *const graphics, const int xOff, const int yOff); private: @@ -80,6 +80,7 @@ class Text static int mInstances; /**< Instances of text. */ std::string mText; /**< The text to display. */ const gcn::Color *mColor; /**< The color of the text. */ + const gcn::Color mOutlineColor; bool mIsSpeech; /**< Is this text a speech bubble? */ protected: @@ -111,7 +112,7 @@ class FlashText final : public Text /** * Draws the text. */ - virtual void draw(gcn::Graphics *const graphics, + virtual void draw(Graphics *const graphics, const int xOff, const int yOff) override; private: -- cgit v1.2.3-60-g2f50