diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-29 02:04:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-29 02:04:31 +0300 |
commit | 41044107cc0a17125ebd806c9934b6eb636dafe6 (patch) | |
tree | 41d5e18a0613d92dcb66cbfc1a6489347d2b0610 /src/gui/tradewindow.cpp | |
parent | f0491bfa18dca7c206dd802760f9381fe42f8a52 (diff) | |
download | mv-41044107cc0a17125ebd806c9934b6eb636dafe6.tar.gz mv-41044107cc0a17125ebd806c9934b6eb636dafe6.tar.bz2 mv-41044107cc0a17125ebd806c9934b6eb636dafe6.tar.xz mv-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.cpp | 6 |
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, |