summaryrefslogtreecommitdiff
path: root/src/particle/textparticle.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/particle/textparticle.cpp
parentf57b683f8f9909ba7787c33a4953869a2ce04a5c (diff)
downloadmanaverse-07121956f882dce22235868a25e0c2df96fb828a.tar.gz
manaverse-07121956f882dce22235868a25e0c2df96fb828a.tar.bz2
manaverse-07121956f882dce22235868a25e0c2df96fb828a.tar.xz
manaverse-07121956f882dce22235868a25e0c2df96fb828a.zip
Move theme colors enum into separate file.
Diffstat (limited to 'src/particle/textparticle.cpp')
-rw-r--r--src/particle/textparticle.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/particle/textparticle.cpp b/src/particle/textparticle.cpp
index aa506e75f..eb67a1c0d 100644
--- a/src/particle/textparticle.cpp
+++ b/src/particle/textparticle.cpp
@@ -22,6 +22,8 @@
#include "particle/textparticle.h"
+#include "enums/gui/themecolorid.h"
+
#include "gui/theme.h"
#include "gui/fonts/font.h"
@@ -77,7 +79,7 @@ void TextParticle::draw(Graphics *const graphics,
graphics->setColor(color);
if (mOutline)
{
- const Color &color2 = theme->getColor(Theme::OUTLINE,
+ const Color &color2 = theme->getColor(ThemeColorId::OUTLINE,
static_cast<int>(alpha));
mTextFont->drawString(graphics,
color, color2,