summaryrefslogtreecommitdiff
path: root/src/touchmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-16 15:41:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-16 15:41:51 +0300
commit1b75e974088a94cd28d7a48729545904b2cd908b (patch)
treed771752fd0da4c58c8ff2d941c47274ead984e42 /src/touchmanager.cpp
parent46087564d4184b28740b0c45c1bac199ab1942ec (diff)
downloadManaVerse-1b75e974088a94cd28d7a48729545904b2cd908b.tar.gz
ManaVerse-1b75e974088a94cd28d7a48729545904b2cd908b.tar.bz2
ManaVerse-1b75e974088a94cd28d7a48729545904b2cd908b.tar.xz
ManaVerse-1b75e974088a94cd28d7a48729545904b2cd908b.zip
Remove some useless static methods from theme.
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r--src/touchmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp
index b9681c337..58aee1d3b 100644
--- a/src/touchmanager.cpp
+++ b/src/touchmanager.cpp
@@ -242,8 +242,8 @@ void TouchManager::draw()
return;
Font *const font = boldFont;
- mainGraphics->setColorAll(Theme::getThemeColor(Theme::TEXT),
- Theme::getThemeColor(Theme::TEXT_OUTLINE));
+ mainGraphics->setColorAll(theme->getColor(Theme::TEXT, 255),
+ theme->getColor(Theme::TEXT_OUTLINE, 255));
FOR_EACH (TouchItemVectorCIter, it, mObjects)
{
const TouchItem *const item = *it;