diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-24 22:36:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-24 22:36:00 +0300 |
commit | 52039744fa2e5e116548e5236cd8ba5f5d81702a (patch) | |
tree | d367514cfc2a00c0b1f181dbfb5a8c3b0ca5785d /src/gui/popups/speechbubble.cpp | |
parent | 35d796b927447760772d2720a221e21fdf9fd10e (diff) | |
download | mv-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.gz mv-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.bz2 mv-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.xz mv-52039744fa2e5e116548e5236cd8ba5f5d81702a.zip |
Remove default parameters from widget2.
Diffstat (limited to 'src/gui/popups/speechbubble.cpp')
-rw-r--r-- | src/gui/popups/speechbubble.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/popups/speechbubble.cpp b/src/gui/popups/speechbubble.cpp index f4c74cfae..b4da99cc7 100644 --- a/src/gui/popups/speechbubble.cpp +++ b/src/gui/popups/speechbubble.cpp @@ -48,8 +48,9 @@ SpeechBubble::SpeechBubble() : mCaption->setFont(boldFont); mSpeechBox->setOpaque(Opaque_false); - mSpeechBox->setForegroundColorAll(getThemeColor(ThemeColorId::BUBBLE_TEXT), - getThemeColor(ThemeColorId::BUBBLE_TEXT_OUTLINE)); + mSpeechBox->setForegroundColorAll( + getThemeColor(ThemeColorId::BUBBLE_TEXT, 255U), + getThemeColor(ThemeColorId::BUBBLE_TEXT_OUTLINE, 255U)); } void SpeechBubble::postInit() @@ -73,8 +74,9 @@ void SpeechBubble::setText(const std::string &text, const bool showName) if (text == mText && (mCaption->getWidth() <= mSpeechBox->getWidth())) return; - mSpeechBox->setForegroundColorAll(getThemeColor(ThemeColorId::BUBBLE_TEXT), - getThemeColor(ThemeColorId::BUBBLE_TEXT_OUTLINE)); + mSpeechBox->setForegroundColorAll( + getThemeColor(ThemeColorId::BUBBLE_TEXT, 255U), + getThemeColor(ThemeColorId::BUBBLE_TEXT_OUTLINE, 255U)); int width = mCaption->getWidth(); mSpeechBox->clearRows(); |