summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-15 20:31:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-15 20:31:52 +0300
commit29f929794c7519b049de0be3af635f05d7e83be6 (patch)
tree5627bfcb7f19a349f065c207476c871bc5c3aa40 /src/being/being.cpp
parent41d545176ffad2fb33158ca3415d2a0a983fffdb (diff)
downloadmv-29f929794c7519b049de0be3af635f05d7e83be6.tar.gz
mv-29f929794c7519b049de0be3af635f05d7e83be6.tar.bz2
mv-29f929794c7519b049de0be3af635f05d7e83be6.tar.xz
mv-29f929794c7519b049de0be3af635f05d7e83be6.zip
move some methods from base/graphics into render/graphics.
Remove base/graphcs.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index dfb335f9b..8b2ece2b7 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -519,7 +519,7 @@ void Being::setSpeech(const std::string &text, const std::string &channel,
mText = new Text(mSpeech,
getPixelX(), getPixelY() - getHeight(),
- gcn::Graphics::CENTER,
+ Graphics::CENTER,
&userPalette->getColor(UserPalette::PARTICLE),
true);
}
@@ -1856,7 +1856,7 @@ void Being::drawSpeech(const int offsetX, const int offsetY)
if (!mText && userPalette)
{
mText = new Text(mSpeech, getPixelX(), getPixelY() - getHeight(),
- gcn::Graphics::CENTER, &Theme::getThemeColor(
+ Graphics::CENTER, &Theme::getThemeColor(
Theme::BUBBLE_TEXT), true);
}
}
@@ -2019,12 +2019,12 @@ void Being::showName()
mDispName = new FlashText(displayName,
getPixelX() + mInfo->getNameOffsetX(),
getPixelY() + mInfo->getNameOffsetY(),
- gcn::Graphics::CENTER, mNameColor, font);
+ Graphics::CENTER, mNameColor, font);
}
else
{
mDispName = new FlashText(displayName, getPixelX(), getPixelY(),
- gcn::Graphics::CENTER, mNameColor, font);
+ Graphics::CENTER, mNameColor, font);
}
updateCoords();