diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-05 23:56:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-05 23:56:48 +0300 |
commit | a2c2444d9eb4b43fb73339ae1cc3b7464f33409e (patch) | |
tree | 44ff07e2fed8af0273f899de5dfaf11f0dbf3fb5 /src/gui/serverdialog.cpp | |
parent | 2f1650a30d6f3d2f69f09ee1ad3258fc8b0c7e32 (diff) | |
download | mv-a2c2444d9eb4b43fb73339ae1cc3b7464f33409e.tar.gz mv-a2c2444d9eb4b43fb73339ae1cc3b7464f33409e.tar.bz2 mv-a2c2444d9eb4b43fb73339ae1cc3b7464f33409e.tar.xz mv-a2c2444d9eb4b43fb73339ae1cc3b7464f33409e.zip |
add outline color to listbox.
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r-- | src/gui/serverdialog.cpp | 10 |
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; |