Fixes for Gemini skin (As well as any future skin that uses a white-on-black theme).
Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
@@ -75,7 +75,8 @@ LLComboBox::LLComboBox( const std::string& name, const LLRect &rect, const std::
|
||||
mPrearrangeCallback( NULL ),
|
||||
mTextEntryCallback( NULL ),
|
||||
mSuppressTentative( false ),
|
||||
mLabel(label)
|
||||
mLabel(label),
|
||||
mListColor(LLUI::sColorsGroup->getColor("ComboBoxBg"))
|
||||
{
|
||||
// Always use text box
|
||||
// Text label button
|
||||
@@ -100,7 +101,7 @@ LLComboBox::LLComboBox( const std::string& name, const LLRect &rect, const std::
|
||||
mList = new LLScrollListCtrl(std::string("ComboBox"), LLRect(),
|
||||
&LLComboBox::onItemSelected, this, FALSE);
|
||||
mList->setVisible(FALSE);
|
||||
mList->setBgWriteableColor( LLColor4(1,1,1,1) );
|
||||
mList->setBgWriteableColor(mListColor);
|
||||
mList->setCommitOnKeyboardMovement(FALSE);
|
||||
addChild(mList);
|
||||
|
||||
|
||||
@@ -198,6 +198,7 @@ protected:
|
||||
EPreferredPosition mListPosition;
|
||||
LLPointer<LLUIImage> mArrowImage;
|
||||
std::string mLabel;
|
||||
LLColor4 mListColor;
|
||||
|
||||
private:
|
||||
S32 mButtonPadding;
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
<ScrollBgWriteableColor value="33, 33, 33, 80" />
|
||||
<ScrollBGStripeColor value="100, 100, 100, 25" />
|
||||
<ScrollDisabledColor value="33, 33, 33, 204" />
|
||||
<ScrollSelectedBGColor value="222, 222, 222, 150" />
|
||||
<ScrollSelectedBGColor value="33, 33, 33, 204" />
|
||||
<ScrollSelectedFGColor value="255, 255, 255, 255" /> <!-- Text color -->
|
||||
<ScrollUnselectedColor value="222, 222, 222, 150" /> <!-- Text color -->
|
||||
<ScrollHighlightedColor value="222, 222, 222, 80" /> <!-- Hover color -->
|
||||
|
||||
Reference in New Issue
Block a user