aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterworldmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloaterworldmap.h')
-rw-r--r--linden/indra/newview/llfloaterworldmap.h26
1 files changed, 15 insertions, 11 deletions
diff --git a/linden/indra/newview/llfloaterworldmap.h b/linden/indra/newview/llfloaterworldmap.h
index 1d3dcd3..7addaa7 100644
--- a/linden/indra/newview/llfloaterworldmap.h
+++ b/linden/indra/newview/llfloaterworldmap.h
@@ -12,12 +12,12 @@
12 * ("GPL"), unless you have obtained a separate licensing agreement 12 * ("GPL"), unless you have obtained a separate licensing agreement
13 * ("Other License"), formally executed by you and Linden Lab. Terms of 13 * ("Other License"), formally executed by you and Linden Lab. Terms of
14 * the GPL can be found in doc/GPL-license.txt in this distribution, or 14 * the GPL can be found in doc/GPL-license.txt in this distribution, or
15 * online at http://secondlife.com/developers/opensource/gplv2 15 * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
16 * 16 *
17 * There are special exceptions to the terms and conditions of the GPL as 17 * There are special exceptions to the terms and conditions of the GPL as
18 * it is applied to this Source Code. View the full text of the exception 18 * it is applied to this Source Code. View the full text of the exception
19 * in the file doc/FLOSS-exception.txt in this software distribution, or 19 * in the file doc/FLOSS-exception.txt in this software distribution, or
20 * online at http://secondlife.com/developers/opensource/flossexception 20 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
21 * 21 *
22 * By copying, modifying or distributing this software, you acknowledge 22 * By copying, modifying or distributing this software, you acknowledge
23 * that you have read and understood your obligations described above, 23 * that you have read and understood your obligations described above,
@@ -90,16 +90,16 @@ public:
90 void trackLocation(const LLVector3d& pos); 90 void trackLocation(const LLVector3d& pos);
91 void trackEvent(const LLItemInfo &event_info); 91 void trackEvent(const LLItemInfo &event_info);
92 void trackGenericItem(const LLItemInfo &item); 92 void trackGenericItem(const LLItemInfo &item);
93 void trackURL(const LLString& region_name, S32 x_coord, S32 y_coord, S32 z_coord); 93 void trackURL(const LLString& region_name, S32 x_coord, S32 y_coord, S32 z_coord);
94 94
95 static const LLUUID& getHomeID() { return sHomeID; } 95 static const LLUUID& getHomeID() { return sHomeID; }
96 96
97 // A z_attenuation of 0.0f collapses the distance into the X-Y plane 97 // A z_attenuation of 0.0f collapses the distance into the X-Y plane
98 F32 getDistanceToDestination(const LLVector3d& pos_global, F32 z_attenuation = 0.5f) const; 98 F32 getDistanceToDestination(const LLVector3d& pos_global, F32 z_attenuation = 0.5f) const;
99 99
100 void clearLocationSelection(BOOL clear_ui = FALSE); 100 void clearLocationSelection(BOOL clear_ui = FALSE);
101 void clearAvatarSelection(BOOL clear_ui = FALSE); 101 void clearAvatarSelection(BOOL clear_ui = FALSE);
102 void clearLandmarkSelection(BOOL clear_ui = FALSE); 102 void clearLandmarkSelection(BOOL clear_ui = FALSE);
103 103
104 // Adjust the maximally zoomed out limit of the zoom slider so you can 104 // Adjust the maximally zoomed out limit of the zoom slider so you can
105 // see the whole world, plus a little. 105 // see the whole world, plus a little.
@@ -118,12 +118,15 @@ protected:
118 118
119 static void onLandmarkComboPrearrange( LLUICtrl* ctrl, void* data ); 119 static void onLandmarkComboPrearrange( LLUICtrl* ctrl, void* data );
120 static void onLandmarkComboCommit( LLUICtrl* ctrl, void* data ); 120 static void onLandmarkComboCommit( LLUICtrl* ctrl, void* data );
121 121
122 static void onAvatarComboPrearrange( LLUICtrl* ctrl, void* data ); 122 static void onAvatarComboPrearrange( LLUICtrl* ctrl, void* data );
123 static void onAvatarComboCommit( LLUICtrl* ctrl, void* data ); 123 static void onAvatarComboCommit( LLUICtrl* ctrl, void* data );
124 124
125 static void onCommitBackground(void* data, bool from_click); 125 static void onCommitBackground(void* data, bool from_click);
126 126
127 static void onComboTextEntry( LLLineEditor* ctrl, void* data );
128 static void onSearchTextEntry( LLLineEditor* ctrl, void* data );
129
127 static void onClearBtn(void*); 130 static void onClearBtn(void*);
128 static void onFlyBtn(void*); 131 static void onFlyBtn(void*);
129 static void onClickTeleportBtn(void*); 132 static void onClickTeleportBtn(void*);
@@ -143,18 +146,19 @@ protected:
143 static void onGoToLandmarkDialog(S32 option,void* userdata); 146 static void onGoToLandmarkDialog(S32 option,void* userdata);
144 void flyToLandmark(); 147 void flyToLandmark();
145 void teleportToLandmark(); 148 void teleportToLandmark();
146 void setLandmarkVisited(); 149 void setLandmarkVisited();
147 150
148 void buildAvatarIDList(); 151 void buildAvatarIDList();
149 void flyToAvatar(); 152 void flyToAvatar();
150 void teleportToAvatar(); 153 void teleportToAvatar();
151 154
152 static void updateSearchEnabled( LLUICtrl* ctrl, void* userdata ); 155 static void updateSearchEnabled( LLUICtrl* ctrl, void* userdata );
156 static void onLocationFocusChanged( LLFocusableElement* ctrl, void* userdata );
153 static void onLocationCommit( void* userdata ); 157 static void onLocationCommit( void* userdata );
154 static void onCommitLocation( LLUICtrl* ctrl, void* userdata ); 158 static void onCommitLocation( LLUICtrl* ctrl, void* userdata );
155 static void onCommitSearchResult( LLUICtrl* ctrl, void* userdata ); 159 static void onCommitSearchResult( LLUICtrl* ctrl, void* userdata );
156 160
157 void cacheLandmarkPosition(); 161 void cacheLandmarkPosition();
158 162
159protected: 163protected:
160 LLTabContainerCommon* mTabs; 164 LLTabContainerCommon* mTabs;
@@ -165,7 +169,7 @@ protected:
165 169
166 LLDynamicArray<LLUUID> mLandmarkAssetIDList; 170 LLDynamicArray<LLUUID> mLandmarkAssetIDList;
167 LLDynamicArray<LLUUID> mLandmarkItemIDList; 171 LLDynamicArray<LLUUID> mLandmarkItemIDList;
168 BOOL mHasLandmarkPosition; 172 BOOL mHasLandmarkPosition;
169 173
170 static const LLUUID sHomeID; 174 static const LLUUID sHomeID;
171 175