Added Avatar Privacy icon

Was requested, borrowed from Phoenix.
This commit is contained in:
Lirusaito
2012-06-22 03:57:47 -04:00
parent b02465822b
commit 48a2d0497b
3 changed files with 15 additions and 0 deletions

View File

@@ -449,6 +449,16 @@ void LLStatusBar::refresh()
x += buttonRect.getWidth();
}
bool no_see_avs = parcel && !parcel->getSeeAVs();
childSetVisible("status_SeeAV", no_see_avs);
if (no_see_avs)
{
childGetRect( "status_SeeAV", buttonRect );
r.setOriginAndSize( x, y, buttonRect.getWidth(), buttonRect.getHeight());
childSetRect( "status_SeeAV", r );
x += buttonRect.getWidth();
}
BOOL canBuyLand = parcel
&& !parcel->isPublic()
&& LLViewerParcelMgr::getInstance()->canAgentBuyParcel(parcel, false);

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -81,6 +81,11 @@
image_unselected="status_no_voice.tga" label="" label_selected=""
left="545" mouse_opaque="true" name="status_no_voice" scale_image="false"
tool_tip="Voice not available here" visible="false" width="24" />
<button bottom="-17" enabled="true" follows="right|bottom" font="SansSerif"
halign="center" height="16" image_selected="status_SeeAVsOff.tga"
image_unselected="status_SeeAVsOff.tga" label="" label_selected=""
left="600" mouse_opaque="true" name="status_SeeAV" scale_image="false"
tool_tip="Parcel has Avatar privacy" visible="false" width="24" />
<button bottom="-17" enabled="true" follows="right|bottom" font="SansSerif"
halign="center" height="16" image_selected="status_buy_land_pressed.tga"
image_unselected="status_buy_land.tga" label="" label_selected=""