diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-01-11 18:39:15 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-01-11 18:39:15 +0200 |
commit | 1bdae78926d11389ac6f4ca8daae3bf50ba7ceda (patch) | |
tree | 2f64d528dc790df88944850cd70831f08190ab18 /indra/newview/llavatarlist.cpp | |
parent | 8be80d14c199773001a1a22bce89f55bdf22af54 (diff) |
Work on low task EXT-3456 (Code Improvements: Improve LLAvatarListItem to show/hide its buttons properly)
Initial implementation:
* implemented common functionality to update Avatar List Item children positions & size (for name) depend on children visibility
* added its usage whereve visibility of child view is changed
* removed direct changing of "info button" visibility in Avatar List when Avatar List Item is added
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llavatarlist.cpp')
-rw-r--r-- | indra/newview/llavatarlist.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/newview/llavatarlist.cpp b/indra/newview/llavatarlist.cpp index 5df73a994e..13daa79528 100644 --- a/indra/newview/llavatarlist.cpp +++ b/indra/newview/llavatarlist.cpp @@ -323,14 +323,12 @@ boost::signals2::connection LLAvatarList::setRefreshCompleteCallback(const commi void LLAvatarList::addNewItem(const LLUUID& id, const std::string& name, BOOL is_online, EAddPosition pos) { LLAvatarListItem* item = new LLAvatarListItem(); - item->showInfoBtn(true); item->showSpeakingIndicator(true); item->setName(name); item->setAvatarId(id, mIgnoreOnlineStatus); item->setOnline(mIgnoreOnlineStatus ? true : is_online); item->showLastInteractionTime(mShowLastInteractionTime); - item->childSetVisible("info_btn", false); item->setAvatarIconVisible(mShowIcons); item->setShowInfoBtn(mShowInfoBtn); item->setShowProfileBtn(mShowProfileBtn); |