From 41044107cc0a17125ebd806c9934b6eb636dafe6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 29 Aug 2012 02:04:31 +0300 Subject: Add browserbox own color. Parameter "BROWSERBOX" in colors.xml Also fix colors for some derived controls. --- src/gui/tradewindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/tradewindow.cpp') 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(Theme::TEXT))); + static_cast(Theme::LABEL))); mGotMaxMoney = amount; } @@ -230,7 +230,7 @@ void TradeWindow::reset() mMoneyField->setEnabled(true); mMoneyField->setText(""); mMoneyLabel->setForegroundColor(Theme::getThemeColor( - static_cast(Theme::TEXT))); + static_cast(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(Theme::TEXT))); + static_cast(Theme::LABEL))); } void TradeWindow::addAutoItem(const std::string nick, Item* const item, -- cgit v1.2.3-60-g2f50