summaryrefslogtreecommitdiff
path: root/indra/newview/llavatarlistitem.h
diff options
context:
space:
mode:
authorAndrew Dyukov <adyukov@productengine.com>2009-10-26 19:30:46 +0200
committerAndrew Dyukov <adyukov@productengine.com>2009-10-26 19:30:46 +0200
commitff37134a405e81899b4d9e7d07be7e3da85c8278 (patch)
treecf95274815881c1fb85b08f18f72ec7bff5a7f85 /indra/newview/llavatarlistitem.h
parentcc7d1c8f69880d649a9e652f74b9b5048420d669 (diff)
Implemented low task EXT-1156(Implement option to show/hide avatar icon in the friend list)
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llavatarlistitem.h')
-rw-r--r--indra/newview/llavatarlistitem.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llavatarlistitem.h b/indra/newview/llavatarlistitem.h
index b9cfed4b7b..a8d3919217 100644
--- a/indra/newview/llavatarlistitem.h
+++ b/indra/newview/llavatarlistitem.h
@@ -64,6 +64,7 @@ public:
void setOnline(bool online);
void setName(const std::string& name);
void setAvatarId(const LLUUID& id, bool ignore_status_changes = false);
+ void setAvatarIconVisible(bool visible);
const LLUUID& getAvatarId() const;
const std::string getAvatarName() const;
@@ -87,7 +88,7 @@ private:
void onNameCache(const std::string& first_name, const std::string& last_name);
- LLAvatarIconCtrl*mAvatarIcon;
+ LLAvatarIconCtrl* mAvatarIcon;
LLTextBox* mAvatarName;
LLTextBox* mStatus;
@@ -98,6 +99,7 @@ private:
LLUUID mAvatarId;
EOnlineStatus mOnlineStatus;
+ static S32 sIconWidth; // icon width + padding
};
#endif //LL_LLAVATARLISTITEM_H