Added Avatar Privacy icon
Was requested, borrowed from Phoenix.
This commit is contained in:
@@ -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);
|
||||
|
||||
BIN
indra/newview/skins/default/textures/status_SeeAVsOff.tga
Normal file
BIN
indra/newview/skins/default/textures/status_SeeAVsOff.tga
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
@@ -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=""
|
||||
|
||||
Reference in New Issue
Block a user