summaryrefslogtreecommitdiff
path: root/src/gui/tradewindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-29 02:04:31 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-29 02:04:31 +0300
commit41044107cc0a17125ebd806c9934b6eb636dafe6 (patch)
tree41d5e18a0613d92dcb66cbfc1a6489347d2b0610 /src/gui/tradewindow.cpp
parentf0491bfa18dca7c206dd802760f9381fe42f8a52 (diff)
downloadplus-41044107cc0a17125ebd806c9934b6eb636dafe6.tar.gz
plus-41044107cc0a17125ebd806c9934b6eb636dafe6.tar.bz2
plus-41044107cc0a17125ebd806c9934b6eb636dafe6.tar.xz
plus-41044107cc0a17125ebd806c9934b6eb636dafe6.zip
Add browserbox own color.
Parameter "BROWSERBOX" in colors.xml Also fix colors for some derived controls.
Diffstat (limited to 'src/gui/tradewindow.cpp')
-rw-r--r--src/gui/tradewindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp
index 82dff1dd8..56ba3aa7b 100644
--- a/src/gui/tradewindow.cpp
+++ b/src/gui/tradewindow.cpp
@@ -161,7 +161,7 @@ void TradeWindow::setMoney(const int amount)
else
{
mMoneyLabel->setForegroundColor(Theme::getThemeColor(
- static_cast<int>(Theme::TEXT)));
+ static_cast<int>(Theme::LABEL)));
mGotMaxMoney = amount;
}
@@ -230,7 +230,7 @@ void TradeWindow::reset()
mMoneyField->setEnabled(true);
mMoneyField->setText("");
mMoneyLabel->setForegroundColor(Theme::getThemeColor(
- static_cast<int>(Theme::TEXT)));
+ static_cast<int>(Theme::LABEL)));
mAddButton->setEnabled(true);
mMoneyChangeButton->setEnabled(true);
mGotMoney = 0;
@@ -404,7 +404,7 @@ void TradeWindow::clear()
mGotMoney = 0;
mGotMaxMoney = 0;
mMoneyLabel->setForegroundColor(Theme::getThemeColor(
- static_cast<int>(Theme::TEXT)));
+ static_cast<int>(Theme::LABEL)));
}
void TradeWindow::addAutoItem(const std::string nick, Item* const item,