From 53db1412f7d6e29e9e1cfdb272a40ebb30ba1fe6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 26 Dec 2012 17:00:20 +0300 Subject: Move setColor in graphics classes from cpp to h. --- src/graphics.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/graphics.cpp') 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); -} -- cgit v1.2.3-60-g2f50