From 07121956f882dce22235868a25e0c2df96fb828a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2015 15:04:01 +0300 Subject: Move theme colors enum into separate file. --- src/touchmanager.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/touchmanager.cpp') diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp index d63896a47..b7db9d83f 100644 --- a/src/touchmanager.cpp +++ b/src/touchmanager.cpp @@ -24,6 +24,8 @@ #include "graphicsvertexes.h" #include "touchactions.h" +#include "enums/gui/themecolorid.h" + #include "input/mouseinput.h" #include "gui/gui.h" @@ -251,8 +253,8 @@ void TouchManager::drawText() return; Font *const font = boldFont; - const Color &color1 = theme->getColor(Theme::TEXT, 255); - const Color &color2 = theme->getColor(Theme::TEXT_OUTLINE, 255); + const Color &color1 = theme->getColor(ThemeColorId::TEXT, 255); + const Color &color2 = theme->getColor(ThemeColorId::TEXT_OUTLINE, 255); FOR_EACH (TouchItemVectorCIter, it, mObjects) { -- cgit v1.2.3-60-g2f50