summaryrefslogtreecommitdiff
path: root/src/gui/skilldialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-04 17:02:05 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-04 17:02:05 +0300
commit6ed69c8769cd6c8c79c77fc8116059b42f3653e7 (patch)
tree48ede1453da63c58ba02ccc35ab06c3f7a61ddca /src/gui/skilldialog.cpp
parent002656b278ab1c2e09bca8f6ffd2d5c42d57b09c (diff)
downloadManaVerse-6ed69c8769cd6c8c79c77fc8116059b42f3653e7.tar.gz
ManaVerse-6ed69c8769cd6c8c79c77fc8116059b42f3653e7.tar.bz2
ManaVerse-6ed69c8769cd6c8c79c77fc8116059b42f3653e7.tar.xz
ManaVerse-6ed69c8769cd6c8c79c77fc8116059b42f3653e7.zip
add function to graphics class to set normal and outline colors at once.
Diffstat (limited to 'src/gui/skilldialog.cpp')
-rw-r--r--src/gui/skilldialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp
index d5487fa66..44d9d0283 100644
--- a/src/gui/skilldialog.cpp
+++ b/src/gui/skilldialog.cpp
@@ -159,8 +159,7 @@ class SkillListBox final : public ListBox
}
// Draw the list elements
- graphics->setColor(mTextColor);
- graphics->setColor2(mTextColor2);
+ graphics->setColorAll(mTextColor, mTextColor2);
gcn::Font *const font = getFont();
const int space = font->getHeight() + mSpacing;
const int width2 = getWidth() - mPadding;