summaryrefslogtreecommitdiff
path: root/src/gui/tradewindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-04 15:26:20 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-04 15:26:20 +0300
commit1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5 (patch)
treebe78c40ec73443cc602c3363aa719065052cda85 /src/gui/tradewindow.cpp
parentf54248ded370d95586e52b5fd8e14902fb5eec2b (diff)
downloadmanaplus-1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5.tar.gz
manaplus-1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5.tar.bz2
manaplus-1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5.tar.xz
manaplus-1e760aaa1ca5b56b6c5355ab8c8d01ed5be4cfb5.zip
Add outline for label default color.
Diffstat (limited to 'src/gui/tradewindow.cpp')
-rw-r--r--src/gui/tradewindow.cpp6
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,