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);