diff options
author | David Walter Seikel | 2012-03-05 06:27:54 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-03-05 06:27:54 +1000 |
commit | 7772e9ec7c99e11bf8f21939587b5f24a457daae (patch) | |
tree | 7318319b33cd1d8c276c78ed7be753f98c92f732 | |
parent | Fixes http://redmine.kokuaviewer.org/issues/1124 and makes sure there are no ... (diff) | |
download | meta-impy-7772e9ec7c99e11bf8f21939587b5f24a457daae.zip meta-impy-7772e9ec7c99e11bf8f21939587b5f24a457daae.tar.gz meta-impy-7772e9ec7c99e11bf8f21939587b5f24a457daae.tar.bz2 meta-impy-7772e9ec7c99e11bf8f21939587b5f24a457daae.tar.xz |
Fixes http://redmine.kokuaviewer.org/issues/585
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llcombobox.cpp | 5 | ||||
-rw-r--r-- | linden/indra/llui/llcombobox.h | 5 | ||||
-rw-r--r-- | linden/indra/newview/skins/gemini/colors_base.xml | 2 |
3 files changed, 7 insertions, 5 deletions
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:: | |||
75 | mListPosition(BELOW), | 75 | mListPosition(BELOW), |
76 | mPrearrangeCallback( NULL ), | 76 | mPrearrangeCallback( NULL ), |
77 | mTextEntryCallback( NULL ), | 77 | mTextEntryCallback( NULL ), |
78 | mLabel(label) | 78 | mLabel(label), |
79 | mListColor(LLUI::sColorsGroup->getColor("ComboBoxBg")) | ||
79 | { | 80 | { |
80 | if (font) | 81 | if (font) |
81 | { | 82 | { |
@@ -109,7 +110,7 @@ LLComboBox::LLComboBox( const std::string& name, const LLRect &rect, const std:: | |||
109 | mList = new LLScrollListCtrl(std::string("ComboBox"), LLRect(), mGLFont, | 110 | mList = new LLScrollListCtrl(std::string("ComboBox"), LLRect(), mGLFont, |
110 | &LLComboBox::onItemSelected, this, FALSE); | 111 | &LLComboBox::onItemSelected, this, FALSE); |
111 | mList->setVisible(FALSE); | 112 | mList->setVisible(FALSE); |
112 | mList->setBgWriteableColor( LLColor4(1,1,1,1) ); | 113 | mList->setBgWriteableColor(mListColor); |
113 | mList->setCommitOnKeyboardMovement(FALSE); | 114 | mList->setCommitOnKeyboardMovement(FALSE); |
114 | addChild(mList); | 115 | addChild(mList); |
115 | 116 | ||
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: | |||
187 | virtual void hideList(); | 187 | virtual void hideList(); |
188 | 188 | ||
189 | protected: | 189 | protected: |
190 | LLButton* mButton; | 190 | LLButton* mButton; |
191 | LLScrollListCtrl* mList; | 191 | LLScrollListCtrl* mList; |
192 | EPreferredPosition mListPosition; | 192 | EPreferredPosition mListPosition; |
193 | LLPointer<LLUIImage> mArrowImage; | 193 | LLPointer<LLUIImage> mArrowImage; |
194 | std::string mLabel; | 194 | std::string mLabel; |
195 | const LLFontGL* mGLFont; | 195 | const LLFontGL* mGLFont; |
196 | LLColor4 mListColor; | ||
196 | 197 | ||
197 | private: | 198 | private: |
198 | S32 mButtonPadding; | 199 | 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 @@ | |||
66 | <ScrollBgWriteableColor value="33, 33, 33, 80" /> | 66 | <ScrollBgWriteableColor value="33, 33, 33, 80" /> |
67 | <ScrollBGStripeColor value="100, 100, 100, 25" /> | 67 | <ScrollBGStripeColor value="100, 100, 100, 25" /> |
68 | <ScrollDisabledColor value="33, 33, 33, 204" /> | 68 | <ScrollDisabledColor value="33, 33, 33, 204" /> |
69 | <ScrollSelectedBGColor value="222, 222, 222, 150" /> | 69 | <ScrollSelectedBGColor value="33, 33, 33, 204" /> |
70 | <ScrollSelectedFGColor value="255, 255, 255, 255" /> <!-- Text color --> | 70 | <ScrollSelectedFGColor value="255, 255, 255, 255" /> <!-- Text color --> |
71 | <ScrollUnselectedColor value="222, 222, 222, 150" /> <!-- Text color --> | 71 | <ScrollUnselectedColor value="222, 222, 222, 150" /> <!-- Text color --> |
72 | <ScrollHighlightedColor value="222, 222, 222, 80" /> <!-- Hover color --> | 72 | <ScrollHighlightedColor value="222, 222, 222, 80" /> <!-- Hover color --> |