diff options
Diffstat (limited to 'linden/indra/newview/llfloatermap.h')
-rw-r--r-- | linden/indra/newview/llfloatermap.h | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloatermap.h b/linden/indra/newview/llfloatermap.h index 857b1ed..81e4159 100644 --- a/linden/indra/newview/llfloatermap.h +++ b/linden/indra/newview/llfloatermap.h | |||
@@ -33,6 +33,7 @@ | |||
33 | #define LL_LLFLOATERMAP_H | 33 | #define LL_LLFLOATERMAP_H |
34 | 34 | ||
35 | #include "llfloater.h" | 35 | #include "llfloater.h" |
36 | #include "llscrolllistctrl.h" | ||
36 | 37 | ||
37 | class LLNetMap; | 38 | class LLNetMap; |
38 | 39 | ||
@@ -46,6 +47,9 @@ public: | |||
46 | 47 | ||
47 | static void* createPanelMiniMap(void* data); | 48 | static void* createPanelMiniMap(void* data); |
48 | 49 | ||
50 | static void updateRadar(); | ||
51 | static LLUUID getSelected(); | ||
52 | |||
49 | BOOL postBuild(); | 53 | BOOL postBuild(); |
50 | 54 | ||
51 | /*virtual*/ void draw(); | 55 | /*virtual*/ void draw(); |
@@ -59,7 +63,46 @@ public: | |||
59 | 63 | ||
60 | private: | 64 | private: |
61 | LLFloaterMap(const LLSD& key = LLSD()); | 65 | LLFloaterMap(const LLSD& key = LLSD()); |
62 | LLNetMap* mPanelMap; | 66 | |
67 | LLNetMap* mPanelMap; | ||
68 | LLScrollListCtrl* mRadarList; | ||
69 | LLUUID mSelectedAvatar; | ||
70 | bool mUpdate; | ||
71 | |||
72 | static void onList(LLUICtrl* ctrl, void* user_data); | ||
73 | static void onRangeChange(LLFocusableElement* focus, void* user_data); | ||
74 | BOOL visibleItemsSelected() const; | ||
75 | BOOL getKickable(const LLUUID &agent_id); | ||
76 | void toggleButtons(); | ||
77 | void populateRadar(); | ||
78 | |||
79 | static void onClickProfile(void* user_data); | ||
80 | static void onClickIM(void* user_data); | ||
81 | static void onClickAddFriend(void* user_data); | ||
82 | static void onClickOfferTeleport(void* user_data); | ||
83 | static void onClickTrack(void* user_data); | ||
84 | static void onClickInvite(void* user_data); | ||
85 | static void callback_invite_to_group(LLUUID group_id, void *user_data); | ||
86 | |||
87 | static std::string getSelectedName(const LLUUID &agent_id); | ||
88 | static void onClickFreeze(void *user_data); | ||
89 | static void onClickEject(void *user_data); | ||
90 | static void onClickMute(void *user_data); | ||
91 | static void onClickUnmute(void *user_data); | ||
92 | static void onClickAR(void *user_data); | ||
93 | static void onClickEjectFromEstate(void *user_data); | ||
94 | |||
95 | static void callbackFreeze(S32 option, void *user_data); | ||
96 | static void callbackEject(S32 option, void *user_data); | ||
97 | static void callbackAR(void *user_data); | ||
98 | static void callbackEjectFromEstate(S32 option, void *user_data); | ||
99 | |||
100 | static void sendFreeze(const LLUUID &avatar, bool); | ||
101 | static void sendEject(const LLUUID &avatar, bool); | ||
102 | static void cmdEstateEject(const LLUUID &avatar); | ||
103 | static void cmdEstateBan(const LLUUID &avatar); | ||
104 | static void sendEstateBan(const LLUUID& agent); | ||
105 | static void sendEstateMessage(const char* request, const LLUUID &target); | ||
63 | }; | 106 | }; |
64 | 107 | ||
65 | #endif // LL_LLFLOATERMAP_H | 108 | #endif // LL_LLFLOATERMAP_H |