diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 15:04:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 15:08:24 +0300 |
commit | 07121956f882dce22235868a25e0c2df96fb828a (patch) | |
tree | 5078133e95d7b55c4811e09c9dc4f53261e62fe9 /src/text.cpp | |
parent | f57b683f8f9909ba7787c33a4953869a2ce04a5c (diff) | |
download | mv-07121956f882dce22235868a25e0c2df96fb828a.tar.gz mv-07121956f882dce22235868a25e0c2df96fb828a.tar.bz2 mv-07121956f882dce22235868a25e0c2df96fb828a.tar.xz mv-07121956f882dce22235868a25e0c2df96fb828a.zip |
Move theme colors enum into separate file.
Diffstat (limited to 'src/text.cpp')
-rw-r--r-- | src/text.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/text.cpp b/src/text.cpp index 8dca7d366..ae5ed6afa 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -26,6 +26,8 @@ #include "configuration.h" #include "textmanager.h" +#include "enums/gui/themecolorid.h" + #include "gui/gui.h" #include "gui/theme.h" @@ -57,7 +59,7 @@ Text::Text(const std::string &text, mText(text), mColor(color), mOutlineColor(isSpeech == Speech_true ? - *color : theme->getColor(Theme::OUTLINE, 255)), + *color : theme->getColor(ThemeColorId::OUTLINE, 255)), mIsSpeech(isSpeech), mTextChanged(true) { |