summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-05 23:56:48 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-05 23:56:48 +0300
commita2c2444d9eb4b43fb73339ae1cc3b7464f33409e (patch)
tree44ff07e2fed8af0273f899de5dfaf11f0dbf3fb5 /src/gui/serverdialog.cpp
parent2f1650a30d6f3d2f69f09ee1ad3258fc8b0c7e32 (diff)
downloadManaVerse-a2c2444d9eb4b43fb73339ae1cc3b7464f33409e.tar.gz
ManaVerse-a2c2444d9eb4b43fb73339ae1cc3b7464f33409e.tar.bz2
ManaVerse-a2c2444d9eb4b43fb73339ae1cc3b7464f33409e.tar.xz
ManaVerse-a2c2444d9eb4b43fb73339ae1cc3b7464f33409e.zip
add outline color to listbox.
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 8bc1ad804..acf81ace5 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -171,6 +171,7 @@ public:
ServersListModel *const model = static_cast<ServersListModel *const>(
mListModel);
+ Graphics *const g = static_cast<Graphics*>(graphics);
updateAlpha();
@@ -201,9 +202,14 @@ public:
ServerInfo info = model->getServer(i);
if (mSelected == i)
- graphics->setColor(mForegroundSelectedColor);
+ {
+ g->setColorAll(mForegroundSelectedColor,
+ mForegroundSelectedColor2);
+ }
else
- graphics->setColor(mForegroundColor);
+ {
+ g->setColorAll(mForegroundColor, mForegroundColor2);
+ }
int top;
int x = mPadding;