summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h5
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: