diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-27 15:58:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-27 23:15:05 +0300 |
commit | 697e5bbf3171b0ba1fbbc0bbe61461c7726bf1ce (patch) | |
tree | e5cbf0d91a689a598193c7b7a292e7c711c49fdc /src/text.h | |
parent | 60add2c149c9c61bfbede5ae92cfe216927aca8a (diff) | |
download | ManaVerse-697e5bbf3171b0ba1fbbc0bbe61461c7726bf1ce.tar.gz ManaVerse-697e5bbf3171b0ba1fbbc0bbe61461c7726bf1ce.tar.bz2 ManaVerse-697e5bbf3171b0ba1fbbc0bbe61461c7726bf1ce.tar.xz ManaVerse-697e5bbf3171b0ba1fbbc0bbe61461c7726bf1ce.zip |
Remove textrenderer class.
Diffstat (limited to 'src/text.h')
-rw-r--r-- | src/text.h | 5 |
1 files changed, 3 insertions, 2 deletions
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: |