summaryrefslogtreecommitdiff
path: root/src/touchmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 15:04:01 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 15:08:24 +0300
commit07121956f882dce22235868a25e0c2df96fb828a (patch)
tree5078133e95d7b55c4811e09c9dc4f53261e62fe9 /src/touchmanager.cpp
parentf57b683f8f9909ba7787c33a4953869a2ce04a5c (diff)
downloadplus-07121956f882dce22235868a25e0c2df96fb828a.tar.gz
plus-07121956f882dce22235868a25e0c2df96fb828a.tar.bz2
plus-07121956f882dce22235868a25e0c2df96fb828a.tar.xz
plus-07121956f882dce22235868a25e0c2df96fb828a.zip
Move theme colors enum into separate file.
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r--src/touchmanager.cpp6
1 files changed, 4 insertions, 2 deletions
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)
{