aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterworldmap.h
diff options
context:
space:
mode:
authorArmin Weatherwax2010-09-13 20:47:57 +0200
committerJacek Antonelli2010-09-16 20:12:21 -0500
commit3c36214993ea0971fa167629a997fe2cda2a2049 (patch)
tree2d06fa8c1653897f43c9ca8ef77a6f98de86d21b /linden/indra/newview/llfloaterworldmap.h
parentFixed the layout of the fonts preferences panel's font previews (diff)
downloadmeta-impy-3c36214993ea0971fa167629a997fe2cda2a2049.zip
meta-impy-3c36214993ea0971fa167629a997fe2cda2a2049.tar.gz
meta-impy-3c36214993ea0971fa167629a997fe2cda2a2049.tar.bz2
meta-impy-3c36214993ea0971fa167629a997fe2cda2a2049.tar.xz
Henri Beauchamp: use http map if possible. Fixes broken map in SL + http map possible for OS
Diffstat (limited to 'linden/indra/newview/llfloaterworldmap.h')
-rw-r--r--linden/indra/newview/llfloaterworldmap.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/linden/indra/newview/llfloaterworldmap.h b/linden/indra/newview/llfloaterworldmap.h
index 2153921..83345ed 100644
--- a/linden/indra/newview/llfloaterworldmap.h
+++ b/linden/indra/newview/llfloaterworldmap.h
@@ -68,8 +68,6 @@ public:
68 static void toggle(void*); 68 static void toggle(void*);
69 static void hide(void*); 69 static void hide(void*);
70 70
71 static void addServer(const std::string& server);
72
73 /*virtual*/ void reshape( S32 width, S32 height, BOOL called_from_parent = TRUE ); 71 /*virtual*/ void reshape( S32 width, S32 height, BOOL called_from_parent = TRUE );
74 /*virtual*/ BOOL handleHover(S32 x, S32 y, MASK mask); 72 /*virtual*/ BOOL handleHover(S32 x, S32 y, MASK mask);
75 /*virtual*/ BOOL handleScrollWheel(S32 x, S32 y, S32 clicks); 73 /*virtual*/ BOOL handleScrollWheel(S32 x, S32 y, S32 clicks);
@@ -103,7 +101,6 @@ public:
103 void clearLocationSelection(BOOL clear_ui = FALSE); 101 void clearLocationSelection(BOOL clear_ui = FALSE);
104 void clearAvatarSelection(BOOL clear_ui = FALSE); 102 void clearAvatarSelection(BOOL clear_ui = FALSE);
105 void clearLandmarkSelection(BOOL clear_ui = FALSE); 103 void clearLandmarkSelection(BOOL clear_ui = FALSE);
106 void clearGridSelection(BOOL clear_ui = FALSE);
107 104
108 // Adjust the maximally zoomed out limit of the zoom slider so you can 105 // Adjust the maximally zoomed out limit of the zoom slider so you can
109 // see the whole world, plus a little. 106 // see the whole world, plus a little.
@@ -118,9 +115,8 @@ public:
118protected: 115protected:
119 static void onPanBtn( void* userdata ); 116 static void onPanBtn( void* userdata );
120 117
121 static void onGridManager(void* data);
122
123 static void onGoHome(void* data); 118 static void onGoHome(void* data);
119
124 static void onLandmarkComboPrearrange( LLUICtrl* ctrl, void* data ); 120 static void onLandmarkComboPrearrange( LLUICtrl* ctrl, void* data );
125 static void onLandmarkComboCommit( LLUICtrl* ctrl, void* data ); 121 static void onLandmarkComboCommit( LLUICtrl* ctrl, void* data );
126 122
@@ -162,14 +158,13 @@ protected:
162 static void onLocationCommit( void* userdata ); 158 static void onLocationCommit( void* userdata );
163 static void onCommitLocation( LLUICtrl* ctrl, void* userdata ); 159 static void onCommitLocation( LLUICtrl* ctrl, void* userdata );
164 static void onCommitSearchResult( LLUICtrl* ctrl, void* userdata ); 160 static void onCommitSearchResult( LLUICtrl* ctrl, void* userdata );
165 static void onSelectServer(LLUICtrl*, void* userdata);
166 161
167 void cacheLandmarkPosition(); 162 void cacheLandmarkPosition();
168 163
169protected: 164protected:
170 LLTabContainer* mTabs; 165 LLTabContainer* mTabs;
171 166
172 // Sets gMapScale, in pixels per region 167 // Sets sMapScale, in pixels per region
173 F32 mCurZoomVal; 168 F32 mCurZoomVal;
174 LLFrameTimer mZoomTimer; 169 LLFrameTimer mZoomTimer;
175 170