From 213a21e4c079113e5822d2cf90802d6dcb2cb232 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Oct 2012 21:02:14 +0300 Subject: In all controls, call Widget2 methods to get colors. --- src/gui/widgets/dropdown.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/widgets/dropdown.cpp') diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp index 31f69c8a3..749b3565e 100644 --- a/src/gui/widgets/dropdown.cpp +++ b/src/gui/widgets/dropdown.cpp @@ -62,8 +62,8 @@ DropDown::DropDown(gcn::ListModel *const listModel, const std::string &eventId): gcn::DropDown::DropDown(listModel, new ScrollArea, new ListBox(listModel)), - mShadowColor(Theme::getThemeColor(Theme::DROPDOWN_SHADOW)), - mHighlightColor(Theme::getThemeColor(Theme::HIGHLIGHT)), + mShadowColor(getThemeColor(Theme::DROPDOWN_SHADOW)), + mHighlightColor(getThemeColor(Theme::HIGHLIGHT)), mPadding(1), mImagePadding(2) { @@ -115,8 +115,8 @@ DropDown::DropDown(gcn::ListModel *const listModel, instances++; - mListBox->setForegroundColor(Theme::getThemeColor(Theme::DROPDOWN)); - setForegroundColor(Theme::getThemeColor(Theme::DROPDOWN)); + mListBox->setForegroundColor(getThemeColor(Theme::DROPDOWN)); + setForegroundColor(getThemeColor(Theme::DROPDOWN)); if (!eventId.empty()) setActionEventId(eventId); -- cgit v1.2.3-60-g2f50