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/particle/textparticle.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/particle') 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(alpha)); mTextFont->drawString(graphics, color, color2, -- cgit v1.2.3-60-g2f50