diff options
author | Blue <bluesansdouze@gmail.com> | 2009-05-18 01:19:32 +0200 |
---|---|---|
committer | Blue <bluesansdouze@gmail.com> | 2009-05-18 01:19:32 +0200 |
commit | 7b76f0e8c4c489254d7519e2916b951601423801 (patch) | |
tree | e4430176f02eeec32ebb56b42933b6416e7895df /src/gui/widgets/dropdown.cpp | |
parent | 22685431a23b05d66af28abda488d0891b1c0a34 (diff) | |
parent | aaec4d115cd0048bbc4bed3d8b1d33492b2a51fa (diff) | |
download | Mana-7b76f0e8c4c489254d7519e2916b951601423801.tar.gz Mana-7b76f0e8c4c489254d7519e2916b951601423801.tar.bz2 Mana-7b76f0e8c4c489254d7519e2916b951601423801.tar.xz Mana-7b76f0e8c4c489254d7519e2916b951601423801.zip |
Merge branch 'master' of git@gitorious.org:tmw/mainline
Diffstat (limited to 'src/gui/widgets/dropdown.cpp')
-rw-r--r-- | src/gui/widgets/dropdown.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp index 491e6396..e838aab6 100644 --- a/src/gui/widgets/dropdown.cpp +++ b/src/gui/widgets/dropdown.cpp @@ -140,15 +140,15 @@ void DropDown::draw(gcn::Graphics* graphics) const int alpha = (int) (mAlpha * 255.0f); gcn::Color faceColor = getBaseColor(); faceColor.a = alpha; - const gcn::Color* highlightColor = &guiPalette->getColor(Palette::HIGHLIGHT, - alpha); + const gcn::Color *highlightColor = + &guiPalette->getColor(Palette::HIGHLIGHT, alpha); gcn::Color shadowColor = faceColor - 0x303030; shadowColor.a = alpha; if (mListBox->getListModel() && mListBox->getSelected() >= 0) { graphics->setFont(getFont()); - graphics->setColor(guiPalette->getColor(Palette::TEXT, alpha)); + graphics->setColor(guiPalette->getColor(Palette::TEXT)); graphics->drawText(mListBox->getListModel()->getElementAt(mListBox->getSelected()), 1, 0); } |