diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-04 15:26:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-04 15:26:20 +0300 |
commit | 1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5 (patch) | |
tree | be78c40ec73443cc602c3363aa719065052cda85 /src/gui/tradewindow.cpp | |
parent | f54248ded370d95586e52b5fd8e14902fb5eec2b (diff) | |
download | mv-1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5.tar.gz mv-1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5.tar.bz2 mv-1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5.tar.xz mv-1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5.zip |
Add outline for label default color.
Diffstat (limited to 'src/gui/tradewindow.cpp')
-rw-r--r-- | src/gui/tradewindow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp index 948e5f964..5410d60dd 100644 --- a/src/gui/tradewindow.cpp +++ b/src/gui/tradewindow.cpp @@ -174,6 +174,8 @@ void TradeWindow::setMoney(const int amount) { mMoneyLabel->setForegroundColor(getThemeColor( static_cast<int>(Theme::LABEL))); + mMoneyLabel->setForegroundColor2(getThemeColor( + static_cast<int>(Theme::LABEL_OUTLINE))); mGotMaxMoney = amount; } @@ -244,6 +246,8 @@ void TradeWindow::reset() mMoneyField->setText(""); mMoneyLabel->setForegroundColor(getThemeColor( static_cast<int>(Theme::LABEL))); + mMoneyLabel->setForegroundColor2(getThemeColor( + static_cast<int>(Theme::LABEL_OUTLINE))); mAddButton->setEnabled(true); mMoneyChangeButton->setEnabled(true); mGotMoney = 0; @@ -416,6 +420,8 @@ void TradeWindow::clear() mGotMaxMoney = 0; mMoneyLabel->setForegroundColor(getThemeColor( static_cast<int>(Theme::LABEL))); + mMoneyLabel->setForegroundColor2(getThemeColor( + static_cast<int>(Theme::LABEL_OUTLINE))); } void TradeWindow::addAutoItem(const std::string &nick, Item* const item, |