diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-01-11 19:42:07 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-01-11 19:42:07 +0200 |
commit | b8774e9f6bb235c390854f706aab2f8391991b6a (patch) | |
tree | 5206b8f30bca03ae0d43a41b60d12e8257e775e3 /indra/newview/llavatarlistitem.cpp | |
parent | 66f8c49bd6c1ddfe58cec9dc4d7dd83ae4e86063 (diff) |
Work on low task EXT-3456 (Code Improvements: Improve LLAvatarListItem to show/hide its buttons properly)
Code cleanup:
* removed unused static members
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llavatarlistitem.cpp')
-rw-r--r-- | indra/newview/llavatarlistitem.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/newview/llavatarlistitem.cpp b/indra/newview/llavatarlistitem.cpp index 5efdbaceb7..a2e17db3d8 100644 --- a/indra/newview/llavatarlistitem.cpp +++ b/indra/newview/llavatarlistitem.cpp @@ -44,10 +44,6 @@ #include "llbutton.h" bool LLAvatarListItem::sStaticInitialized = false; -S32 LLAvatarListItem::sIconWidth = 0; -S32 LLAvatarListItem::sInfoBtnWidth = 0; -S32 LLAvatarListItem::sProfileBtnWidth = 0; -S32 LLAvatarListItem::sSpeakingIndicatorWidth = 0; S32 LLAvatarListItem::sLeftPadding = 0; S32 LLAvatarListItem::sRightNamePadding = 0; S32 LLAvatarListItem::sChildrenWidths[LLAvatarListItem::ALIC_COUNT]; @@ -525,7 +521,7 @@ void LLAvatarListItem::updateChildren() { // assume that this is the last iteration, // so it is not necessary to save "ctrl_new_left" value calculated on previous iterations - ctrl_new_left = sLeftPadding;//control_rect.mLeft; + ctrl_new_left = sLeftPadding; name_new_left = ctrl_new_left + ctrl_width; } else |