diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-20 16:40:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-20 16:40:24 +0300 |
commit | 1e9b7c519953c73c6e5ca4ce2169eb674267c115 (patch) | |
tree | 5e331bef424935c0f6d2a2291eb189cd50f68a3d /src/text.cpp | |
parent | c63923c39572655f3d8e826b0fb2fd3ed253ae7f (diff) | |
download | manaverse-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.gz manaverse-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.bz2 manaverse-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.xz manaverse-1e9b7c519953c73c6e5ca4ce2169eb674267c115.zip |
fix style in other files.
Diffstat (limited to 'src/text.cpp')
-rw-r--r-- | src/text.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/text.cpp b/src/text.cpp index 07041afd9..687700193 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -45,9 +45,11 @@ Text::Text(const std::string &text, const int x, const int y, const gcn::Color* color, const bool isSpeech, gcn::Font *const font) : mFont(font ? font : gui->getFont()), + mX(x), mY(y), mWidth(mFont->getWidth(text)), mHeight(mFont->getHeight()), + mXOffset(0), mText(text), mColor(color), mOutlineColor(Theme::getThemeColor(Theme::OUTLINE)), |