From 7772e9ec7c99e11bf8f21939587b5f24a457daae Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 5 Mar 2012 06:27:54 +1000 Subject: Fixes http://redmine.kokuaviewer.org/issues/585 --- linden/indra/llui/llcombobox.cpp | 5 +++-- linden/indra/llui/llcombobox.h | 5 +++-- linden/indra/newview/skins/gemini/colors_base.xml | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'linden/indra') diff --git a/linden/indra/llui/llcombobox.cpp b/linden/indra/llui/llcombobox.cpp index f3ef83e..9b86486 100644 --- a/linden/indra/llui/llcombobox.cpp +++ b/linden/indra/llui/llcombobox.cpp @@ -75,7 +75,8 @@ LLComboBox::LLComboBox( const std::string& name, const LLRect &rect, const std:: mListPosition(BELOW), mPrearrangeCallback( NULL ), mTextEntryCallback( NULL ), - mLabel(label) + mLabel(label), + mListColor(LLUI::sColorsGroup->getColor("ComboBoxBg")) { if (font) { @@ -109,7 +110,7 @@ LLComboBox::LLComboBox( const std::string& name, const LLRect &rect, const std:: mList = new LLScrollListCtrl(std::string("ComboBox"), LLRect(), mGLFont, &LLComboBox::onItemSelected, this, FALSE); mList->setVisible(FALSE); - mList->setBgWriteableColor( LLColor4(1,1,1,1) ); + mList->setBgWriteableColor(mListColor); mList->setCommitOnKeyboardMovement(FALSE); addChild(mList); diff --git a/linden/indra/llui/llcombobox.h b/linden/indra/llui/llcombobox.h index f92fe44..12637a0 100644 --- a/linden/indra/llui/llcombobox.h +++ b/linden/indra/llui/llcombobox.h @@ -187,12 +187,13 @@ public: virtual void hideList(); protected: - LLButton* mButton; + LLButton* mButton; LLScrollListCtrl* mList; EPreferredPosition mListPosition; LLPointer mArrowImage; - std::string mLabel; + std::string mLabel; const LLFontGL* mGLFont; + LLColor4 mListColor; private: S32 mButtonPadding; diff --git a/linden/indra/newview/skins/gemini/colors_base.xml b/linden/indra/newview/skins/gemini/colors_base.xml index 935c6d3..b4b9269 100644 --- a/linden/indra/newview/skins/gemini/colors_base.xml +++ b/linden/indra/newview/skins/gemini/colors_base.xml @@ -66,7 +66,7 @@ - + -- cgit v1.1