aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterworldmap.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:34 -0500
committerJacek Antonelli2008-08-15 23:45:34 -0500
commitcd17687f01420952712a500107e0f93e7ab8d5f8 (patch)
treece48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llfloaterworldmap.cpp
parentSecond Life viewer sources 1.19.0.5 (diff)
downloadmeta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz
Second Life viewer sources 1.19.1.0
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterworldmap.cpp32
1 files changed, 3 insertions, 29 deletions
diff --git a/linden/indra/newview/llfloaterworldmap.cpp b/linden/indra/newview/llfloaterworldmap.cpp
index 7a8940d..9ac3133 100644
--- a/linden/indra/newview/llfloaterworldmap.cpp
+++ b/linden/indra/newview/llfloaterworldmap.cpp
@@ -39,13 +39,6 @@
39 39
40#include "llfloaterworldmap.h" 40#include "llfloaterworldmap.h"
41 41
42// Library includes
43#include "llfontgl.h"
44#include "llinventory.h"
45#include "lllineeditor.h"
46#include "message.h"
47
48// Viewer includes
49#include "llagent.h" 42#include "llagent.h"
50#include "llviewerwindow.h" 43#include "llviewerwindow.h"
51#include "llbutton.h" 44#include "llbutton.h"
@@ -54,36 +47,23 @@
54#include "llcombobox.h" 47#include "llcombobox.h"
55#include "llviewercontrol.h" 48#include "llviewercontrol.h"
56#include "lldraghandle.h" 49#include "lldraghandle.h"
57#include "lleconomy.h"
58#include "llfirstuse.h" 50#include "llfirstuse.h"
59#include "llfocusmgr.h" 51#include "llfocusmgr.h"
60#include "lliconctrl.h"
61#include "llinventorymodel.h" 52#include "llinventorymodel.h"
62#include "llinventoryview.h"
63#include "lllandmarklist.h" 53#include "lllandmarklist.h"
54#include "lllineeditor.h"
64#include "llnetmap.h" 55#include "llnetmap.h"
65#include "llpreviewlandmark.h" 56#include "llpreviewlandmark.h"
66#include "llradiogroup.h"
67#include "llregionhandle.h" 57#include "llregionhandle.h"
68#include "llresizehandle.h"
69#include "llresmgr.h"
70#include "llscrolllistctrl.h" 58#include "llscrolllistctrl.h"
71#include "llsliderctrl.h"
72#include "llspinctrl.h"
73#include "llstatusbar.h"
74#include "lltabcontainer.h"
75#include "lltextbox.h" 59#include "lltextbox.h"
76#include "lltracker.h" 60#include "lltracker.h"
77#include "llui.h"
78#include "lluiconstants.h"
79#include "llurldispatcher.h" 61#include "llurldispatcher.h"
80#include "llviewercamera.h"
81#include "llviewermenu.h" 62#include "llviewermenu.h"
82#include "llviewerregion.h" 63#include "llviewerregion.h"
83#include "llviewerstats.h" 64#include "llviewerstats.h"
84#include "llworldmap.h" 65#include "llworldmap.h"
85#include "llworldmapview.h" 66#include "llworldmapview.h"
86#include "llurl.h"
87#include "llvieweruictrlfactory.h" 67#include "llvieweruictrlfactory.h"
88#include "llappviewer.h" 68#include "llappviewer.h"
89#include "llmapimagetype.h" 69#include "llmapimagetype.h"
@@ -170,13 +150,7 @@ const LLUUID LLFloaterWorldMap::sHomeID( "10000000-0000-0000-0000-000000000001"
170 150
171 151
172LLFloaterWorldMap::LLFloaterWorldMap() 152LLFloaterWorldMap::LLFloaterWorldMap()
173: LLFloater("worldmap", "FloaterWorldMapRect", "World Map", 153: LLFloater("worldmap"),
174 TRUE, // resize
175 410, // min-width
176 520, // min-height
177 FALSE, // drag on left
178 TRUE, // minimize
179 TRUE), // close
180 mInventory(NULL), 154 mInventory(NULL),
181 mInventoryObserver(NULL), 155 mInventoryObserver(NULL),
182 mFriendObserver(NULL), 156 mFriendObserver(NULL),
@@ -518,7 +492,7 @@ void LLFloaterWorldMap::draw()
518 childSetEnabled("copy_slurl", (mSLURL.size() > 0) ); 492 childSetEnabled("copy_slurl", (mSLURL.size() > 0) );
519 493
520 setMouseOpaque(TRUE); 494 setMouseOpaque(TRUE);
521 mDragHandle->setMouseOpaque(TRUE); 495 getDragHandle()->setMouseOpaque(TRUE);
522 496
523 //RN: snaps to zoom value because interpolation caused jitter in the text rendering 497 //RN: snaps to zoom value because interpolation caused jitter in the text rendering
524 if (!mZoomTimer.getStarted() && mCurZoomVal != (F32)childGetValue("zoom slider").asReal()) 498 if (!mZoomTimer.getStarted() && mCurZoomVal != (F32)childGetValue("zoom slider").asReal())