summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-26 17:00:20 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-27 23:15:04 +0300
commit53db1412f7d6e29e9e1cfdb272a40ebb30ba1fe6 (patch)
treeaaeb9cb039c8a992d5b82361279f17d7518ad3c3 /src/graphics.cpp
parentc8465553c8a3d86dc1dda153e94f40331aa687d1 (diff)
downloadmv-53db1412f7d6e29e9e1cfdb272a40ebb30ba1fe6.tar.gz
mv-53db1412f7d6e29e9e1cfdb272a40ebb30ba1fe6.tar.bz2
mv-53db1412f7d6e29e9e1cfdb272a40ebb30ba1fe6.tar.xz
mv-53db1412f7d6e29e9e1cfdb272a40ebb30ba1fe6.zip
Move setColor in graphics classes from cpp to h.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index c6f8cf57a..2086981de 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -1206,9 +1206,3 @@ void Graphics::fillRectangle(const gcn::Rectangle& rectangle)
SDL_FillRect(mTarget, &rect, color);
}
}
-
-void Graphics::setColor(const gcn::Color &color)
-{
- mColor = color;
- mAlpha = (color.a != 255);
-}