From 6ed69c8769cd6c8c79c77fc8116059b42f3653e7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 4 May 2013 17:02:05 +0300 Subject: add function to graphics class to set normal and outline colors at once. --- src/gui/skilldialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/skilldialog.cpp') 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; -- cgit v1.2.3-60-g2f50