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/gui/popups/speechbubble.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/popups/speechbubble.cpp') 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(); -- cgit v1.2.3-60-g2f50