summaryrefslogtreecommitdiff
path: root/src/gui/windows/tradewindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r--src/gui/windows/tradewindow.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp
index 413945660..d11023fdb 100644
--- a/src/gui/windows/tradewindow.cpp
+++ b/src/gui/windows/tradewindow.cpp
@@ -175,14 +175,14 @@ void TradeWindow::setMoney(const int amount)
return;
}
mMoneyLabel->setForegroundColorAll(
- getThemeColor(ThemeColorId::WARNING),
- getThemeColor(ThemeColorId::WARNING_OUTLINE));
+ getThemeColor(ThemeColorId::WARNING, 255U),
+ getThemeColor(ThemeColorId::WARNING_OUTLINE, 255U));
}
else
{
mMoneyLabel->setForegroundColorAll(
- getThemeColor(ThemeColorId::LABEL),
- getThemeColor(ThemeColorId::LABEL_OUTLINE));
+ getThemeColor(ThemeColorId::LABEL, 255U),
+ getThemeColor(ThemeColorId::LABEL_OUTLINE, 255U));
mGotMaxMoney = amount;
}
@@ -282,8 +282,8 @@ void TradeWindow::reset()
mMoneyField->setEnabled(true);
mMoneyField->setText("");
mMoneyLabel->setForegroundColorAll(
- getThemeColor(ThemeColorId::LABEL),
- getThemeColor(ThemeColorId::LABEL_OUTLINE));
+ getThemeColor(ThemeColorId::LABEL, 255U),
+ getThemeColor(ThemeColorId::LABEL_OUTLINE, 255U));
mAddButton->setEnabled(true);
mMoneyChangeButton->setEnabled(true);
mGotMoney = 0;
@@ -467,8 +467,8 @@ void TradeWindow::clear()
mGotMoney = 0;
mGotMaxMoney = 0;
mMoneyLabel->setForegroundColorAll(
- getThemeColor(ThemeColorId::LABEL),
- getThemeColor(ThemeColorId::LABEL_OUTLINE));
+ getThemeColor(ThemeColorId::LABEL, 255U),
+ getThemeColor(ThemeColorId::LABEL_OUTLINE, 255U));
}
void TradeWindow::addAutoItem(const std::string &nick, Item* const item,