summaryrefslogtreecommitdiff
path: root/src/guichan/sdl
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-26 16:40:49 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-27 23:15:04 +0300
commitc8465553c8a3d86dc1dda153e94f40331aa687d1 (patch)
treed3cc5650f7a8d83b70ed7f2155b2c1f32b24ad5e /src/guichan/sdl
parent468b24f6aeab58838432a3dd9774ad2e7ac87ea8 (diff)
downloadmanaplus-c8465553c8a3d86dc1dda153e94f40331aa687d1.tar.gz
manaplus-c8465553c8a3d86dc1dda153e94f40331aa687d1.tar.bz2
manaplus-c8465553c8a3d86dc1dda153e94f40331aa687d1.tar.xz
manaplus-c8465553c8a3d86dc1dda153e94f40331aa687d1.zip
Move setColor from guichan to own graphics class.
Diffstat (limited to 'src/guichan/sdl')
-rw-r--r--src/guichan/sdl/sdlgraphics.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/guichan/sdl/sdlgraphics.cpp b/src/guichan/sdl/sdlgraphics.cpp
index eae2bb035..85efd5ef6 100644
--- a/src/guichan/sdl/sdlgraphics.cpp
+++ b/src/guichan/sdl/sdlgraphics.cpp
@@ -572,11 +572,8 @@ namespace gcn
}
}
- void SDLGraphics::setColor(const Color& color)
+ void SDLGraphics::setColor(const Color& color A_UNUSED)
{
- mColor = color;
-
- mAlpha = color.a != 255;
}
const Color& SDLGraphics::getColor() const