summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index acf81ace5..07c3f2df3 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -160,7 +160,9 @@ public:
ServersListModel *const model) :
ListBox(widget, model, "serverslistbox.xml"),
mHighlightColor(getThemeColor(Theme::HIGHLIGHT)),
- mNotSupportedColor(getThemeColor(Theme::SERVER_VERSION_NOT_SUPPORTED))
+ mNotSupportedColor(getThemeColor(Theme::SERVER_VERSION_NOT_SUPPORTED)),
+ mNotSupportedColor2(getThemeColor(
+ Theme::SERVER_VERSION_NOT_SUPPORTED_OUTLINE))
{
}
@@ -231,7 +233,7 @@ public:
if (info.version.first > 0)
{
- graphics->setColor(mNotSupportedColor);
+ graphics->setColorAll(mNotSupportedColor, mNotSupportedColor2);
font2->drawString(graphics, info.version.second,
width - info.version.first - mPadding, top);
}
@@ -245,6 +247,7 @@ public:
private:
gcn::Color mHighlightColor;
gcn::Color mNotSupportedColor;
+ gcn::Color mNotSupportedColor2;
};