summaryrefslogtreecommitdiff
path: root/indra/newview/llavatarlist.h
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-08-19 17:24:45 +0800
committerErik Kundiman <erik@megapahit.org>2024-08-19 17:24:45 +0800
commit135fcd19541f414c3278b25b02b7bd34fbc3065f (patch)
treed00c59518550254a66bf0b588e4e8877973b4315 /indra/newview/llavatarlist.h
parent2fff7f0961f095140fdbfc4cbd3452a576658568 (diff)
parent9c79b4a04e4afe5b84448dbf8f7f6b95e4c84462 (diff)
Merge branch 'main' into webrtc-voice
Diffstat (limited to 'indra/newview/llavatarlist.h')
-rw-r--r--indra/newview/llavatarlist.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llavatarlist.h b/indra/newview/llavatarlist.h
index 2352c7cd55..5593985fff 100644
--- a/indra/newview/llavatarlist.h
+++ b/indra/newview/llavatarlist.h
@@ -50,6 +50,7 @@ public:
struct Params : public LLInitParam::Block<Params, LLFlatListViewEx::Params>
{
Optional<bool> ignore_online_status, // show all items as online
+ show_avatar_distance,
show_last_interaction_time, // show most recent interaction time. *HACK: move this to a derived class
show_info_btn,
show_profile_btn,
@@ -110,6 +111,7 @@ protected:
const uuid_vec_t& vnew,
uuid_vec_t& vadded,
uuid_vec_t& vremoved);
+ void updateAvatarDistance();
void updateLastInteractionTimes();
void rebuildNames();
void onItemDoubleClicked(LLUICtrl* ctrl, S32 x, S32 y, MASK mask);
@@ -118,6 +120,7 @@ protected:
private:
bool mIgnoreOnlineStatus;
+ bool mAvatarDistance;
bool mShowLastInteractionTime;
bool mDirty;
bool mNeedUpdateNames;