From c174569f9c34f684e2e057ee57b23a6a118ddfcc Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sun, 9 Aug 2009 11:11:09 -0700 Subject: Basic basic radar that kinda sorta works but not really --- linden/indra/newview/llnetmap.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'linden/indra/newview/llnetmap.h') diff --git a/linden/indra/newview/llnetmap.h b/linden/indra/newview/llnetmap.h index ef046d8..58b2066 100644 --- a/linden/indra/newview/llnetmap.h +++ b/linden/indra/newview/llnetmap.h @@ -34,6 +34,7 @@ #include "llpanel.h" #include "llmemberlistener.h" +#include "llscrolllistctrl.h" #include "v3math.h" #include "v3dmath.h" #include "v4color.h" @@ -52,6 +53,8 @@ class LLNetMap : public LLPanel { public: LLNetMap(const std::string& name); + + virtual BOOL postBuild(); virtual ~LLNetMap(); virtual void draw(); @@ -111,8 +114,9 @@ private: LLPointer mObjectImagep; private: - LLUUID mClosestAgentToCursor; - LLUUID mClosestAgentAtLastRightClick; + LLUUID mClosestAgentToCursor; + LLUUID mClosestAgentAtLastRightClick; + LLScrollListCtrl* mRadarList; static BOOL sRotateMap; static LLNetMap* sInstance; @@ -122,6 +126,16 @@ private: static void showAgentProfile(void*); BOOL isAgentUnderCursor() { return mClosestAgentToCursor.notNull(); } + void populateRadar(); + + static void onClickProfile(void* user_data); + static void onClickIM(void* user_data); + static void onClickAddFriend(void* user_data); + static void onClickOfferTeleport(void* user_data); + static void onClickTrack(void* user_data); + static void onClickInvite(void* user_data); + static void callback_invite_to_group(LLUUID group_id, void *user_data); + class LLScaleMap : public LLMemberListener { public: -- cgit v1.1