aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llnetmap.h
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-08-09 11:11:09 -0700
committerMcCabe Maxsted2009-08-09 11:11:09 -0700
commitc174569f9c34f684e2e057ee57b23a6a118ddfcc (patch)
treee00edbee0946d5fce2eb26cf6f2507fb053f4af0 /linden/indra/newview/llnetmap.h
parentOnline/Offline notifications now always show in IM windows (diff)
downloadmeta-impy-c174569f9c34f684e2e057ee57b23a6a118ddfcc.zip
meta-impy-c174569f9c34f684e2e057ee57b23a6a118ddfcc.tar.gz
meta-impy-c174569f9c34f684e2e057ee57b23a6a118ddfcc.tar.bz2
meta-impy-c174569f9c34f684e2e057ee57b23a6a118ddfcc.tar.xz
Basic basic radar that kinda sorta works but not really
Diffstat (limited to 'linden/indra/newview/llnetmap.h')
-rw-r--r--linden/indra/newview/llnetmap.h18
1 files changed, 16 insertions, 2 deletions
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 @@
34 34
35#include "llpanel.h" 35#include "llpanel.h"
36#include "llmemberlistener.h" 36#include "llmemberlistener.h"
37#include "llscrolllistctrl.h"
37#include "v3math.h" 38#include "v3math.h"
38#include "v3dmath.h" 39#include "v3dmath.h"
39#include "v4color.h" 40#include "v4color.h"
@@ -52,6 +53,8 @@ class LLNetMap : public LLPanel
52{ 53{
53public: 54public:
54 LLNetMap(const std::string& name); 55 LLNetMap(const std::string& name);
56
57 virtual BOOL postBuild();
55 virtual ~LLNetMap(); 58 virtual ~LLNetMap();
56 59
57 virtual void draw(); 60 virtual void draw();
@@ -111,8 +114,9 @@ private:
111 LLPointer<LLImageGL> mObjectImagep; 114 LLPointer<LLImageGL> mObjectImagep;
112 115
113private: 116private:
114 LLUUID mClosestAgentToCursor; 117 LLUUID mClosestAgentToCursor;
115 LLUUID mClosestAgentAtLastRightClick; 118 LLUUID mClosestAgentAtLastRightClick;
119 LLScrollListCtrl* mRadarList;
116 120
117 static BOOL sRotateMap; 121 static BOOL sRotateMap;
118 static LLNetMap* sInstance; 122 static LLNetMap* sInstance;
@@ -122,6 +126,16 @@ private:
122 static void showAgentProfile(void*); 126 static void showAgentProfile(void*);
123 BOOL isAgentUnderCursor() { return mClosestAgentToCursor.notNull(); } 127 BOOL isAgentUnderCursor() { return mClosestAgentToCursor.notNull(); }
124 128
129 void populateRadar();
130
131 static void onClickProfile(void* user_data);
132 static void onClickIM(void* user_data);
133 static void onClickAddFriend(void* user_data);
134 static void onClickOfferTeleport(void* user_data);
135 static void onClickTrack(void* user_data);
136 static void onClickInvite(void* user_data);
137 static void callback_invite_to_group(LLUUID group_id, void *user_data);
138
125 class LLScaleMap : public LLMemberListener<LLNetMap> 139 class LLScaleMap : public LLMemberListener<LLNetMap>
126 { 140 {
127 public: 141 public: