summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/serverdialog.cpp7
-rw-r--r--src/gui/theme.cpp1
-rw-r--r--src/gui/theme.h1
3 files changed, 7 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;
};
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index 1077dc1ff..99d35bb69 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -889,6 +889,7 @@ static int readColorType(const std::string &type)
"ARMS",
"AMMO",
"SERVER_VERSION_NOT_SUPPORTED",
+ "SERVER_VERSION_NOT_SUPPORTED_OUTLINE",
"WARNING",
"WARNING_OUTLINE",
"CHARM",
diff --git a/src/gui/theme.h b/src/gui/theme.h
index 7cc5ce592..47b4a8cb8 100644
--- a/src/gui/theme.h
+++ b/src/gui/theme.h
@@ -329,6 +329,7 @@ class Theme final : public Palette, public ConfigListener
ARMS,
AMMO,
SERVER_VERSION_NOT_SUPPORTED,
+ SERVER_VERSION_NOT_SUPPORTED_OUTLINE,
WARNING,
WARNING_OUTLINE,
CHARM,