diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-06 00:00:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-06 00:00:29 +0300 |
commit | 4b51940253b83e2cbb8bf92f9c81b0a3b0ce2664 (patch) | |
tree | 7a24ac23af0cce6292ec412015551b7ff8479852 /src/gui/serverdialog.cpp | |
parent | a2c2444d9eb4b43fb73339ae1cc3b7464f33409e (diff) | |
download | plus-4b51940253b83e2cbb8bf92f9c81b0a3b0ce2664.tar.gz plus-4b51940253b83e2cbb8bf92f9c81b0a3b0ce2664.tar.bz2 plus-4b51940253b83e2cbb8bf92f9c81b0a3b0ce2664.tar.xz plus-4b51940253b83e2cbb8bf92f9c81b0a3b0ce2664.zip |
add outline color for not supported color in servers dialog.
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r-- | src/gui/serverdialog.cpp | 7 |
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; }; |