diff options
| author | Nyx (Neal Orman) <nyx@lindenlab.com> | 2010-06-23 20:53:24 -0400 | 
|---|---|---|
| committer | Nyx (Neal Orman) <nyx@lindenlab.com> | 2010-06-23 20:53:24 -0400 | 
| commit | bb083dfca471edde7d44f161be2aabca92e72d02 (patch) | |
| tree | 02f834b7237072e0be4696e60973f87bc217a698 /indra/newview | |
| parent | 8d301676c23b7ca12cc42c80dcd5aa5838d68541 (diff) | |
EXT-7958 FIX fixed shop button in the appearance sidepanel
updated icon, and fixed XUI so it displays properly.
Code reviewed by Monroe
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llpaneloutfitedit.cpp | 3 | ||||
| -rw-r--r-- | indra/newview/skins/default/textures/icons/Shop.png | bin | 647 -> 3104 bytes | |||
| -rw-r--r-- | indra/newview/skins/default/xui/en/panel_outfit_edit.xml | 18 | 
3 files changed, 17 insertions, 4 deletions
| diff --git a/indra/newview/llpaneloutfitedit.cpp b/indra/newview/llpaneloutfitedit.cpp index aac020087b..ea7d233333 100644 --- a/indra/newview/llpaneloutfitedit.cpp +++ b/indra/newview/llpaneloutfitedit.cpp @@ -328,7 +328,8 @@ BOOL LLPanelOutfitEdit::postBuild()  	childSetCommitCallback("list_view_btn", boost::bind(&LLPanelOutfitEdit::showWearablesListView, this), NULL);  	childSetCommitCallback("wearables_gear_menu_btn", boost::bind(&LLPanelOutfitEdit::onGearButtonClick, this, _1), NULL);  	childSetCommitCallback("gear_menu_btn", boost::bind(&LLPanelOutfitEdit::onGearButtonClick, this, _1), NULL); -	childSetCommitCallback("shop_btn", boost::bind(&LLPanelOutfitEdit::onShopButtonClicked, this), NULL); +	childSetCommitCallback("shop_btn_1", boost::bind(&LLPanelOutfitEdit::onShopButtonClicked, this), NULL); +	childSetCommitCallback("shop_btn_2", boost::bind(&LLPanelOutfitEdit::onShopButtonClicked, this), NULL);  	mCOFWearables = getChild<LLCOFWearables>("cof_wearables_list");  	mCOFWearables->setCommitCallback(boost::bind(&LLPanelOutfitEdit::filterWearablesBySelectedItem, this)); diff --git a/indra/newview/skins/default/textures/icons/Shop.png b/indra/newview/skins/default/textures/icons/Shop.pngBinary files differ index d7e0001dc6..9d091fed44 100644 --- a/indra/newview/skins/default/textures/icons/Shop.png +++ b/indra/newview/skins/default/textures/icons/Shop.png diff --git a/indra/newview/skins/default/xui/en/panel_outfit_edit.xml b/indra/newview/skins/default/xui/en/panel_outfit_edit.xml index d6549adfef..4abd7dceac 100644 --- a/indra/newview/skins/default/xui/en/panel_outfit_edit.xml +++ b/indra/newview/skins/default/xui/en/panel_outfit_edit.xml @@ -391,12 +391,12 @@ It is calculated as border_size + 2*UIResizeBarOverlap           follows="bottom|right"           height="25"           image_hover_unselected="Toolbar_Middle_Over" -         image_overlay="AddItem_Off" +         image_overlay="Shop"           image_selected="Toolbar_Middle_Selected"           image_unselected="Toolbar_Middle_Off"           layout="topleft"           left_pad="0" -         name="shop_btn" +         name="shop_btn_1"           top="1"           width="31" />      </panel> @@ -472,8 +472,20 @@ It is calculated as border_size + 2*UIResizeBarOverlap           layout="topleft"           left_pad="1"           name="dummy_right_icon" -         width="184" > +         width="153" >          </icon> +        <button +         follows="bottom|right" +         height="25" +         image_hover_unselected="Toolbar_Middle_Over" +         image_overlay="Shop" +         image_selected="Toolbar_Middle_Selected" +         image_unselected="Toolbar_Middle_Off" +         layout="topleft" +         left_pad="0" +         name="shop_btn_2" +         top="1" +         width="31" />      </panel>      <!-- SAVE AND REVERT BUTTONS --> | 
