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/gui/popups/speechbubble.cpp | |
parent | f57b683f8f9909ba7787c33a4953869a2ce04a5c (diff) | |
download | plus-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/gui/popups/speechbubble.cpp')
-rw-r--r-- | src/gui/popups/speechbubble.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/popups/speechbubble.cpp b/src/gui/popups/speechbubble.cpp index c91b41370..650afc805 100644 --- a/src/gui/popups/speechbubble.cpp +++ b/src/gui/popups/speechbubble.cpp @@ -48,8 +48,8 @@ SpeechBubble::SpeechBubble() : mCaption->setFont(boldFont); mSpeechBox->setOpaque(false); - mSpeechBox->setForegroundColorAll(getThemeColor(Theme::BUBBLE_TEXT), - getThemeColor(Theme::BUBBLE_TEXT_OUTLINE)); + mSpeechBox->setForegroundColorAll(getThemeColor(ThemeColorId::BUBBLE_TEXT), + getThemeColor(ThemeColorId::BUBBLE_TEXT_OUTLINE)); } void SpeechBubble::postInit() @@ -73,8 +73,8 @@ void SpeechBubble::setText(const std::string &text, const bool showName) if (text == mText && (mCaption->getWidth() <= mSpeechBox->getWidth())) return; - mSpeechBox->setForegroundColorAll(getThemeColor(Theme::BUBBLE_TEXT), - getThemeColor(Theme::BUBBLE_TEXT_OUTLINE)); + mSpeechBox->setForegroundColorAll(getThemeColor(ThemeColorId::BUBBLE_TEXT), + getThemeColor(ThemeColorId::BUBBLE_TEXT_OUTLINE)); int width = mCaption->getWidth(); mSpeechBox->clearRows(); |