#include <llfloaterworldmap.h>
Public Member Functions | |
LLFloaterWorldMap () | |
virtual | ~LLFloaterWorldMap () |
BOOL | postBuild () |
void | onClose (bool app_quitting) |
void | reshape (S32 width, S32 height, BOOL called_from_parent=TRUE) |
BOOL | handleHover (S32 x, S32 y, MASK mask) |
BOOL | handleScrollWheel (S32 x, S32 y, S32 clicks) |
void | setVisible (BOOL visible) |
void | draw () |
void | observeInventory (LLInventoryModel *inventory) |
void | inventoryChanged () |
void | observeFriends () |
void | friendsChanged () |
void | trackAvatar (const LLUUID &avatar_id, const LLString &name) |
void | trackLandmark (const LLUUID &landmark_item_id) |
void | trackLocation (const LLVector3d &pos) |
void | trackEvent (const LLItemInfo &event_info) |
void | trackGenericItem (const LLItemInfo &item) |
void | trackURL (const LLString ®ion_name, S32 x_coord, S32 y_coord, S32 z_coord) |
F32 | getDistanceToDestination (const LLVector3d &pos_global, F32 z_attenuation=0.5f) const |
void | clearLocationSelection (BOOL clear_ui=FALSE) |
void | clearAvatarSelection (BOOL clear_ui=FALSE) |
void | clearLandmarkSelection (BOOL clear_ui=FALSE) |
void | adjustZoomSliderBounds () |
void | updateSims (bool found_null_sim) |
void | teleport () |
Static Public Member Functions | |
static void * | createWorldMapView (void *data) |
static void | show (void *, BOOL center_on_target) |
static void | reloadIcons (void *) |
static void | toggle (void *) |
static void | hide (void *) |
static const LLUUID & | getHomeID () |
Protected Member Functions | |
void | centerOnTarget (BOOL animate) |
void | updateLocation () |
void | fly () |
void | buildLandmarkIDLists () |
void | flyToLandmark () |
void | teleportToLandmark () |
void | setLandmarkVisited () |
void | buildAvatarIDList () |
void | flyToAvatar () |
void | teleportToAvatar () |
void | cacheLandmarkPosition () |
Static Protected Member Functions | |
static void | onPanBtn (void *userdata) |
static void | onGoHome (void *data) |
static void | onLandmarkComboPrearrange (LLUICtrl *ctrl, void *data) |
static void | onLandmarkComboCommit (LLUICtrl *ctrl, void *data) |
static void | onAvatarComboPrearrange (LLUICtrl *ctrl, void *data) |
static void | onAvatarComboCommit (LLUICtrl *ctrl, void *data) |
static void | onCommitBackground (void *data, bool from_click) |
static void | onComboTextEntry (LLLineEditor *ctrl, void *data) |
static void | onSearchTextEntry (LLLineEditor *ctrl, void *data) |
static void | onClearBtn (void *) |
static void | onFlyBtn (void *) |
static void | onClickTeleportBtn (void *) |
static void | onShowTargetBtn (void *) |
static void | onShowAgentBtn (void *) |
static void | onCopySLURL (void *) |
static void | onCheckEvents (LLUICtrl *ctrl, void *) |
static void | onGoToLandmarkDialog (S32 option, void *userdata) |
static void | updateSearchEnabled (LLUICtrl *ctrl, void *userdata) |
static void | onLocationFocusChanged (LLFocusableElement *ctrl, void *userdata) |
static void | onLocationCommit (void *userdata) |
static void | onCommitLocation (LLUICtrl *ctrl, void *userdata) |
static void | onCommitSearchResult (LLUICtrl *ctrl, void *userdata) |
Protected Attributes | |
LLTabContainer * | mTabs |
F32 | mCurZoomVal |
LLFrameTimer | mZoomTimer |
LLDynamicArray< LLUUID > | mLandmarkAssetIDList |
LLDynamicArray< LLUUID > | mLandmarkItemIDList |
BOOL | mHasLandmarkPosition |
LLInventoryModel * | mInventory |
LLInventoryObserver * | mInventoryObserver |
LLFriendObserver * | mFriendObserver |
LLString | mCompletingRegionName |
LLString | mLastRegionName |
BOOL | mWaitingForTracker |
BOOL | mExactMatch |
BOOL | mIsClosing |
BOOL | mSetToUserPosition |
LLVector3d | mTrackedLocation |
LLTracker::ETrackingStatus | mTrackedStatus |
LLString | mTrackedSimName |
LLString | mTrackedAvatarName |
LLString | mSLURL |
Static Protected Attributes | |
static const LLUUID | sHomeID |
Definition at line 54 of file llfloaterworldmap.h.
LLFloaterWorldMap::LLFloaterWorldMap | ( | ) |
Definition at line 152 of file llfloaterworldmap.cpp.
References LLUICtrlFactory::buildFloater(), createWorldMapView(), LLSingleton< LLUICtrlFactory >::getInstance(), and NULL.
LLFloaterWorldMap::~LLFloaterWorldMap | ( | ) | [virtual] |
Definition at line 260 of file llfloaterworldmap.cpp.
References mFriendObserver, mInventory, mInventoryObserver, mTabs, and NULL.
void * LLFloaterWorldMap::createWorldMapView | ( | void * | data | ) | [static] |
Definition at line 172 of file llfloaterworldmap.cpp.
Referenced by LLFloaterWorldMap().
BOOL LLFloaterWorldMap::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 177 of file llfloaterworldmap.cpp.
References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetDoubleClickCallback(), LLPanel::childSetFocusChangedCallback(), LLPanel::childSetValue(), FALSE, LLView::getChild(), gMapScale, indra::base::lllog::log(), mCurZoomVal, mTabs, mZoomTimer, NULL, onAvatarComboCommit(), onAvatarComboPrearrange(), onClearBtn(), onClickTeleportBtn(), onComboTextEntry(), onCommitBackground(), onCommitLocation(), onCommitSearchResult(), onCopySLURL(), onGoHome(), onLandmarkComboCommit(), onLandmarkComboPrearrange(), onLocationCommit(), onLocationFocusChanged(), onSearchTextEntry(), onShowAgentBtn(), onShowTargetBtn(), LLComboBox::selectFirstItem(), LLPanel::setDefaultBtn(), LLLineEditor::setKeystrokeCallback(), LLComboBox::setPrearrangeCallback(), LLTabContainer::setTabChangeCallback(), LLTabContainer::setTabUserData(), LLComboBox::setTextEntryCallback(), LLFrameTimer::stop(), and TRUE.
void LLFloaterWorldMap::onClose | ( | bool | app_quitting | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 275 of file llfloaterworldmap.cpp.
References FALSE, and setVisible().
void LLFloaterWorldMap::show | ( | void * | , | |
BOOL | center_on_target | |||
) | [static] |
Definition at line 281 of file llfloaterworldmap.cpp.
References adjustZoomSliderBounds(), LLAssetType::AT_LANDMARK, buildAvatarIDList(), buildLandmarkIDLists(), centerOnTarget(), LLPanel::childSetFocus(), LLWorldMapView::clearLastClick(), LLWorldMap::clearSimFlags(), LLWorldMap::eraseItems(), FALSE, LLInventoryModel::findCategoryUUIDForType(), LLTabContainer::getCurrentPanel(), LLTabContainer::getCurrentPanelIndex(), LLSingleton< LLWorldMap >::getInstance(), LLTracker::getTrackingStatus(), LLView::getVisible(), gFocusMgr, gInventory, mIsClosing, mSetToUserPosition, mTabs, LLFloater::open(), S32, LLWorldMap::setCurrentLayer(), LLWorldMapView::setPan(), LLInventoryModel::startBackgroundFetch(), LLTracker::TRACKING_NOTHING, LLFocusMgr::triggerFocusFlash(), TRUE, LLWorldMapView::updateVisibleBlocks(), and LLFirstUse::useMap().
Referenced by LLFloaterLandHoldings::buttonCore(), handle_show_newest_map(), handle_track_avatar(), LLNetMap::handleDoubleClick(), LLPanelPlace::onClickMap(), LLPanelPick::onClickMap(), LLPanelEvent::onClickMap(), LLPanelClassified::onClickMap(), LLPanelAvatar::onClickTrack(), LLPanelGroupLandMoney::impl::onMapButton(), and toggle().
void LLFloaterWorldMap::reloadIcons | ( | void * | ) | [static] |
Definition at line 341 of file llfloaterworldmap.cpp.
References LLWorldMap::eraseItems(), LLSingleton< LLWorldMap >::getInstance(), and LLWorldMap::sendMapLayerRequest().
Referenced by handle_toggle_pg().
void LLFloaterWorldMap::toggle | ( | void * | ) | [static] |
Definition at line 350 of file llfloaterworldmap.cpp.
References LLFloater::close(), FALSE, LLView::getVisible(), mIsClosing, NULL, show(), and TRUE.
Referenced by handle_map(), and LLShowFloater::handleEvent().
void LLFloaterWorldMap::hide | ( | void * | ) | [static] |
Definition at line 367 of file llfloaterworldmap.cpp.
References LLFloater::close(), mIsClosing, and TRUE.
Referenced by LLAgent::teleportCore().
Reimplemented from LLFloater.
Definition at line 411 of file llfloaterworldmap.cpp.
References LLFloater::reshape().
Reimplemented from LLView.
Definition at line 390 of file llfloaterworldmap.cpp.
References LLView::handleHover().
Reimplemented from LLView.
Definition at line 397 of file llfloaterworldmap.cpp.
References LLSD::asReal(), LLPanel::childGetValue(), LLPanel::childSetValue(), FALSE, LLFloater::isFrontmost(), LLFloater::isMinimized(), and TRUE.
void LLFloaterWorldMap::setVisible | ( | BOOL | visible | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 375 of file llfloaterworldmap.cpp.
References LLWorldMap::clearImageRefs(), LLSingleton< LLWorldMap >::getInstance(), gSavedSettings, LLControlGroup::setBOOL(), and LLFloater::setVisible().
Referenced by LLViewerWindow::initWorldUI(), and onClose().
void LLFloaterWorldMap::draw | ( | void | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 424 of file llfloaterworldmap.cpp.
References LLSD::asReal(), centerOnTarget(), LLPanel::childGetValue(), LLPanel::childSetColor(), LLPanel::childSetEnabled(), LLPanel::childSetVisible(), LLFloater::draw(), gAgent, gDisabledTrackColor, LLFloater::getDragHandle(), LLTimer::getElapsedSeconds(), LLFrameTimer::getElapsedTimeF32(), LLSingleton< LLWorldMap >::getInstance(), LLAgent::getRegion(), LLFrameTimer::getStarted(), LLTracker::getTrackingStatus(), gTrackColor, LLAgent::isGodlike(), LLAgent::isTeen(), lerp(), MAP_ZOOM_TIME, mCompletingRegionName, mCurZoomVal, mSLURL, mWaitingForTracker, mZoomTimer, LLView::setMouseOpaque(), LLWorldMapView::setScale(), LLFrameTimer::start(), LLFrameTimer::stop(), LLTracker::TRACKING_AVATAR, LLTracker::TRACKING_LANDMARK, LLTracker::TRACKING_LOCATION, TRUE, and updateLocation().
void LLFloaterWorldMap::observeInventory | ( | LLInventoryModel * | inventory | ) |
Definition at line 767 of file llfloaterworldmap.cpp.
References LLInventoryModel::addObserver(), inventoryChanged(), mInventory, mInventoryObserver, NULL, and LLInventoryModel::removeObserver().
Referenced by idle_startup().
void LLFloaterWorldMap::inventoryChanged | ( | ) |
Definition at line 786 of file llfloaterworldmap.cpp.
References buildLandmarkIDLists(), LLTracker::getTrackedLandmarkItemID(), and trackLandmark().
Referenced by LLMapInventoryObserver::changed(), and observeInventory().
void LLFloaterWorldMap::observeFriends | ( | ) |
Definition at line 796 of file llfloaterworldmap.cpp.
References LLAvatarTracker::addObserver(), friendsChanged(), LLAvatarTracker::instance(), and mFriendObserver.
Referenced by idle_startup().
void LLFloaterWorldMap::friendsChanged | ( | ) |
Definition at line 806 of file llfloaterworldmap.cpp.
References buildAvatarIDList(), LLPanel::childGetSelectionInterface(), gAgent, LLAvatarTracker::getAvatarID(), LLAvatarTracker::getBuddyInfo(), LLRelationship::GRANT_MAP_LOCATION, LLAvatarTracker::instance(), LLAgent::isGodlike(), LLRelationship::isRightGrantedFrom(), LLUUID::notNull(), NULL, LLCtrlSelectionInterface::setCurrentByID(), and LLTracker::stopTracking().
Referenced by LLMapFriendObserver::changed(), and observeFriends().
Definition at line 518 of file llfloaterworldmap.cpp.
References buildAvatarIDList(), LLPanel::childGetSelectionInterface(), LLPanel::childSetValue(), gAgent, LLAgent::isGodlike(), mTrackedAvatarName, mTrackedStatus, NULL, LLCtrlSelectionInterface::setCurrentByID(), LLPanel::setDefaultBtn(), LLTracker::stopTracking(), LLTracker::trackAvatar(), and LLTracker::TRACKING_AVATAR.
Referenced by LLPanelAvatar::onClickTrack().
void LLFloaterWorldMap::trackLandmark | ( | const LLUUID & | landmark_item_id | ) |
Definition at line 548 of file llfloaterworldmap.cpp.
References buildLandmarkIDLists(), LLPanel::childGetSelectionInterface(), LLDynamicArray< Type, BlockSize >::count(), FALSE, LLDynamicArray< Type, BlockSize >::get(), LLLandmarkList::getAsset(), LLComboBox::getSimple(), gLandmarkList, mLandmarkAssetIDList, mLandmarkItemIDList, mTrackedStatus, NULL, S32, LLCtrlSelectionInterface::setCurrentByID(), LLPanel::setDefaultBtn(), sHomeID, LLTracker::stopTracking(), LLTracker::TRACKING_LANDMARK, LLTracker::trackLandmark(), and TRUE.
Referenced by inventoryChanged(), LLPanelPlace::onClickTeleport(), open_landmark_callback(), and LLLandmarkBridge::performAction().
void LLFloaterWorldMap::trackLocation | ( | const LLVector3d & | pos | ) |
Definition at line 607 of file llfloaterworldmap.cpp.
References FALSE, LLSingleton< LLWorldMap >::getInstance(), llformat(), llround(), LLSimInfo::mAccess, LLVector3d::mdV, LLWorldMap::mInvalidLocation, LLWorldMap::mIsTrackingCommit, LLWorldMap::mIsTrackingDoubleClick, LLWorldMap::mIsTrackingUnknownLocation, mTrackedStatus, LLWorldMap::mUnknownLocation, NULL, REGION_WIDTH_METERS, S32, LLWorldMap::sendMapBlockRequest(), LLPanel::setDefaultBtn(), SIM_ACCESS_DOWN, LLWorldMap::simInfoFromPosGlobal(), LLWorldMap::simNameFromPosGlobal(), LLTracker::stopTracking(), LLTracker::TRACKING_LOCATION, LLTracker::trackLocation(), TRUE, VX, VY, and VZ.
Referenced by LLFloaterLandHoldings::buttonCore(), LLWorldMapView::checkItemHit(), LLWorldMapView::handleClick(), LLEventNotifier::notifyCallback(), LLPanelPlace::onClickMap(), LLPanelPick::onClickMap(), LLPanelEvent::onClickMap(), LLPanelClassified::onClickMap(), LLPanelPlace::onClickTeleport(), LLPanelPick::onClickTeleport(), LLPanelEvent::onClickTeleport(), LLPanelClassified::onClickTeleport(), LLPanelGroupLandMoney::impl::onMapButton(), LLWorldMap::processMapBlockReply(), LLURLDispatcherImpl::regionHandleCallback(), LLMapLayerResponder::result(), and trackURL().
void LLFloaterWorldMap::trackEvent | ( | const LLItemInfo & | event_info | ) |
Definition at line 593 of file llfloaterworldmap.cpp.
References LLTracker::LOCATION_EVENT, LLItemInfo::mName, LLItemInfo::mPosGlobal, LLItemInfo::mToolTip, mTrackedStatus, LLPanel::setDefaultBtn(), LLTracker::TRACKING_LOCATION, and LLTracker::trackLocation().
Referenced by LLWorldMapView::handleClick().
void LLFloaterWorldMap::trackGenericItem | ( | const LLItemInfo & | item | ) |
Definition at line 600 of file llfloaterworldmap.cpp.
References LLTracker::LOCATION_ITEM, LLItemInfo::mName, LLItemInfo::mPosGlobal, LLItemInfo::mToolTip, mTrackedStatus, LLPanel::setDefaultBtn(), LLTracker::TRACKING_LOCATION, and LLTracker::trackLocation().
Referenced by LLWorldMapView::checkItemHit().
void LLFloaterWorldMap::trackURL | ( | const LLString & | region_name, | |
S32 | x_coord, | |||
S32 | y_coord, | |||
S32 | z_coord | |||
) |
Definition at line 737 of file llfloaterworldmap.cpp.
References LLPanel::childSetValue(), LLSimInfo::getGlobalPos(), LLSingleton< LLWorldMap >::getInstance(), llclamp(), mCompletingRegionName, LLWorldMap::mIsTrackingCommit, LLVector3::mV, LLWorldMap::sendNamedRegionRequest(), LLPanel::setDefaultBtn(), LLWorldMap::simInfoFromName(), LLStringBase< char >::toLower(), trackLocation(), TRUE, VX, VY, and VZ.
static const LLUUID& LLFloaterWorldMap::getHomeID | ( | ) | [inline, static] |
Definition at line 95 of file llfloaterworldmap.h.
References sHomeID.
Referenced by LLTracker::cacheLandmarkPosition().
F32 LLFloaterWorldMap::getDistanceToDestination | ( | const LLVector3d & | pos_global, | |
F32 | z_attenuation = 0.5f | |||
) | const |
Definition at line 914 of file llfloaterworldmap.cpp.
References gAgent, LLAgent::getPositionGlobal(), LLVector3d::magVec(), LLVector3d::mdV, and VZ.
Referenced by LLTracker::cacheLandmarkPosition(), and LLTracker::render3D().
void LLFloaterWorldMap::clearLocationSelection | ( | BOOL | clear_ui = FALSE |
) |
Definition at line 926 of file llfloaterworldmap.cpp.
References LLPanel::childGetListInterface(), LLView::childHasKeyboardFocus(), LLPanel::childSetValue(), FALSE, LLSingleton< LLWorldMap >::getInstance(), mCompletingRegionName, mExactMatch, LLWorldMap::mIsTrackingCommit, LLCtrlSelectionInterface::OP_DELETE, LLCtrlSelectionInterface::operateOnAll(), and SIM_COORD_DEFAULT.
Referenced by onLocationCommit(), and LLTracker::stopTrackingLocation().
void LLFloaterWorldMap::clearAvatarSelection | ( | BOOL | clear_ui = FALSE |
) |
Definition at line 964 of file llfloaterworldmap.cpp.
References LLPanel::childGetListInterface(), LLView::childHasKeyboardFocus(), mTrackedStatus, LLCtrlSelectionInterface::selectByValue(), and LLTracker::TRACKING_NOTHING.
Referenced by LLTracker::stopTrackingAvatar().
void LLFloaterWorldMap::clearLandmarkSelection | ( | BOOL | clear_ui = FALSE |
) |
Definition at line 951 of file llfloaterworldmap.cpp.
References LLPanel::childGetListInterface(), LLView::childHasKeyboardFocus(), and LLCtrlSelectionInterface::selectByValue().
Referenced by LLTracker::stopTrackingLandmark().
void LLFloaterWorldMap::adjustZoomSliderBounds | ( | ) |
Definition at line 980 of file llfloaterworldmap.cpp.
References LLPanel::childSetMinValue(), LLTabContainer::getCurrentPanel(), LLRectBase< Type >::getHeight(), LLSingleton< LLWorldMap >::getInstance(), LLView::getRect(), LLRectBase< Type >::getWidth(), LLWorldMap::getWorldHeight(), LLWorldMap::getWorldWidth(), llclamp(), llfloor(), llmin(), indra::base::lllog::log(), mTabs, REGION_WIDTH_UNITS, S32, and ZOOM_MAX.
Referenced by LLWorldMap::processMapBlockReply(), LLWorldMap::processMapLayerReply(), LLMapLayerResponder::result(), and show().
void LLFloaterWorldMap::updateSims | ( | bool | found_null_sim | ) |
Definition at line 1535 of file llfloaterworldmap.cpp.
References LLScrollListCtrl::addCommentText(), LLScrollListCtrl::addElement(), LLPanel::childSetFocus(), FALSE, LLSingleton< LLWorldMap >::getInstance(), LLScrollListCtrl::getSelectedValue(), mCompletingRegionName, mExactMatch, LLWorldMap::mIsTrackingCommit, LLSimInfo::mName, LLWorldMap::mSimInfoMap, NULL, onCommitSearchResult(), LLCtrlSelectionInterface::OP_DELETE, LLCtrlSelectionInterface::OP_DESELECT, LLScrollListCtrl::operateOnAll(), S32, LLCtrlSelectionInterface::selectByValue(), LLScrollListCtrl::selectFirstItem(), LLStringBase< char >::toLower(), and TRUE.
Referenced by LLWorldMap::processMapBlockReply(), and LLMapLayerResponder::result().
void LLFloaterWorldMap::teleport | ( | ) |
Definition at line 1373 of file llfloaterworldmap.cpp.
References LLPanel::childGetValue(), FALSE, gAgent, LLLandmarkList::getAsset(), LLLandmark::getGlobalPos(), LLAvatarTracker::getGlobalPos(), LLAgent::getRegionHost(), LLLandmark::getRegionID(), LLTracker::getTrackedLandmarkAssetID(), LLTracker::getTrackedPositionGlobal(), LLTracker::getTrackingStatus(), gLandmarkList, gMessageSystem, LLAvatarTracker::haveTrackingInfo(), LLAvatarTracker::instance(), LLVector3d::isExactlyZero(), make_ui_sound(), LLVector3d::mdV, NULL, LLLandmark::requestRegionHandle(), sHomeID, LLAgent::teleportHome(), LLAgent::teleportViaLandmark(), LLAgent::teleportViaLocation(), LLTracker::TRACKING_AVATAR, LLTracker::TRACKING_LANDMARK, LLTracker::TRACKING_LOCATION, TRUE, and VZ.
void LLFloaterWorldMap::onPanBtn | ( | void * | userdata | ) | [static, protected] |
Definition at line 1025 of file llfloaterworldmap.cpp.
References LLTabContainer::getCurrentPanel(), llassert, mTabs, PAN_DOWN, PAN_LEFT, PAN_RIGHT, PAN_UP, S32, and LLWorldMapView::translatePan().
void LLFloaterWorldMap::onGoHome | ( | void * | data | ) | [static, protected] |
Definition at line 1048 of file llfloaterworldmap.cpp.
References LLFloater::close(), gAgent, and LLAgent::teleportHome().
Referenced by postBuild().
void LLFloaterWorldMap::onLandmarkComboPrearrange | ( | LLUICtrl * | ctrl, | |
void * | data | |||
) | [static, protected] |
Definition at line 1056 of file llfloaterworldmap.cpp.
References buildLandmarkIDLists(), LLPanel::childGetListInterface(), LLCtrlSelectionInterface::getCurrentID(), LLUUID::isNull(), NULL, LLCtrlSelectionInterface::setCurrentByID(), and LLTracker::stopTracking().
Referenced by postBuild().
void LLFloaterWorldMap::onLandmarkComboCommit | ( | LLUICtrl * | ctrl, | |
void * | data | |||
) | [static, protected] |
Definition at line 1094 of file llfloaterworldmap.cpp.
References LLPanel::childGetListInterface(), LLInventoryItem::getAssetUUID(), LLCtrlSelectionInterface::getCurrentID(), LLInventoryModel::getItem(), LLTracker::getTrackingStatus(), gInventory, LLUUID::isNull(), NULL, onShowTargetBtn(), LLCtrlSelectionInterface::setCurrentByID(), LLUUID::setNull(), sHomeID, LLTracker::stopTracking(), and LLTracker::TRACKING_NOTHING.
Referenced by postBuild().
void LLFloaterWorldMap::onAvatarComboPrearrange | ( | LLUICtrl * | ctrl, | |
void * | data | |||
) | [static, protected] |
Definition at line 1143 of file llfloaterworldmap.cpp.
References LLPanel::childGetListInterface(), LLAvatarTracker::getAvatarID(), LLAvatarTracker::instance(), LLUUID::isNull(), NULL, LLCtrlSelectionInterface::setCurrentByID(), and LLTracker::stopTracking().
Referenced by postBuild().
void LLFloaterWorldMap::onAvatarComboCommit | ( | LLUICtrl * | ctrl, | |
void * | data | |||
) | [static, protected] |
Definition at line 1171 of file llfloaterworldmap.cpp.
References LLPanel::childGetListInterface(), LLView::getChild(), LLCtrlSelectionInterface::getCurrentID(), LLComboBox::getSimple(), LLTracker::getTrackingStatus(), LLUUID::notNull(), onShowTargetBtn(), and LLTracker::TRACKING_NOTHING.
Referenced by postBuild().
void LLFloaterWorldMap::onCommitBackground | ( | void * | data, | |
bool | from_click | |||
) | [static, protected] |
Definition at line 1525 of file llfloaterworldmap.cpp.
References LLSingleton< LLWorldMap >::getInstance(), S32, and LLWorldMap::setCurrentLayer().
Referenced by postBuild().
void LLFloaterWorldMap::onComboTextEntry | ( | LLLineEditor * | ctrl, | |
void * | data | |||
) | [static, protected] |
Definition at line 1078 of file llfloaterworldmap.cpp.
References LLTracker::clearFocus().
Referenced by onSearchTextEntry(), and postBuild().
void LLFloaterWorldMap::onSearchTextEntry | ( | LLLineEditor * | ctrl, | |
void * | data | |||
) | [static, protected] |
Definition at line 1087 of file llfloaterworldmap.cpp.
References onComboTextEntry(), and updateSearchEnabled().
Referenced by postBuild().
void LLFloaterWorldMap::onClearBtn | ( | void * | data | ) | [static, protected] |
Definition at line 1258 of file llfloaterworldmap.cpp.
References FALSE, LLSingleton< LLWorldMap >::getInstance(), LLWorldMap::mIsTrackingUnknownLocation, LLTracker::stopTracking(), LLTracker::TRACKING_NOTHING, and TRUE.
Referenced by postBuild().
void LLFloaterWorldMap::onFlyBtn | ( | void * | data | ) | [static, protected] |
Definition at line 1269 of file llfloaterworldmap.cpp.
void LLFloaterWorldMap::onClickTeleportBtn | ( | void * | data | ) | [static, protected] |
Definition at line 1291 of file llfloaterworldmap.cpp.
Referenced by postBuild().
void LLFloaterWorldMap::onShowTargetBtn | ( | void * | data | ) | [static, protected] |
Definition at line 1275 of file llfloaterworldmap.cpp.
References TRUE.
Referenced by onAvatarComboCommit(), onCommitSearchResult(), onLandmarkComboCommit(), and postBuild().
void LLFloaterWorldMap::onShowAgentBtn | ( | void * | data | ) | [static, protected] |
Definition at line 1281 of file llfloaterworldmap.cpp.
References FALSE, LLWorldMapView::setPan(), and TRUE.
Referenced by postBuild().
void LLFloaterWorldMap::onCopySLURL | ( | void * | data | ) | [static, protected] |
Definition at line 1298 of file llfloaterworldmap.cpp.
References LLWindow::copyTextToClipboard(), gViewerWindow, LLViewerWindow::mWindow, LLAlertDialog::showXml(), and utf8str_to_wstring().
Referenced by postBuild().
void LLFloaterWorldMap::onCheckEvents | ( | LLUICtrl * | ctrl, | |
void * | data | |||
) | [static, protected] |
Definition at line 1309 of file llfloaterworldmap.cpp.
void LLFloaterWorldMap::centerOnTarget | ( | BOOL | animate | ) | [protected] |
Definition at line 1317 of file llfloaterworldmap.cpp.
References LLVector3d::clearVec(), FALSE, gAgent, LLAgent::getCameraPositionGlobal(), LLSingleton< LLWorldMap >::getInstance(), LLTracker::getTrackedPositionGlobal(), LLTracker::getTrackingStatus(), LLVector3d::isExactlyZero(), llfloor(), LLVector3d::mdV, LLWorldMap::mUnknownLocation, mWaitingForTracker, LLWorldMapView::setPan(), LLWorldMapView::sPixelsPerMeter, LLTracker::TRACKING_NOTHING, TRUE, VX, and VY.
Referenced by draw(), and show().
void LLFloaterWorldMap::updateLocation | ( | ) | [protected] |
Definition at line 653 of file llfloaterworldmap.cpp.
References LLURLDispatcher::buildSLURL(), LLPanel::childSetValue(), FALSE, gAgent, LLSingleton< LLWorldMap >::getInstance(), LLAgent::getPositionGlobal(), LLTracker::getTrackedPositionGlobal(), LLTracker::getTrackingStatus(), LLVector3d::isExactlyZero(), LLAgent::isGodlike(), llround(), LLVector3d::mdV, mSetToUserPosition, mSLURL, mTrackedLocation, mTrackedSimName, mTrackedStatus, REGION_WIDTH_METERS, S32, LLWorldMap::simNameFromPosGlobal(), indra::ipc::saranwrap::status(), LLTracker::TRACKING_AVATAR, LLTracker::TRACKING_NOTHING, VX, VY, and VZ.
Referenced by draw().
void LLFloaterWorldMap::fly | ( | ) | [protected] |
Definition at line 1354 of file llfloaterworldmap.cpp.
References LLFloater::close(), gAgent, LLTracker::getTrackedPositionGlobal(), LLVector3d::isExactlyZero(), make_ui_sound(), and LLAgent::startAutoPilotGlobal().
void LLFloaterWorldMap::buildLandmarkIDLists | ( | ) | [protected] |
Definition at line 860 of file llfloaterworldmap.cpp.
References ADD_BOTTOM, LLCtrlListInterface::addSimpleElement(), LLAssetType::AT_LANDMARK, LLPanel::childGetListInterface(), LLInventoryModel::collectDescendentsIf(), LLInventoryModel::EXCLUDE_TRASH, gAgent, LLInventoryItem::getAssetUUID(), LLAgent::getInventoryRootID(), LLCtrlSelectionInterface::getItemCount(), LLInventoryObject::getName(), LLInventoryObject::getUUID(), gInventory, i, mLandmarkAssetIDList, mLandmarkItemIDList, LLUUID::null, LLCtrlSelectionInterface::OP_DELETE, LLCtrlSelectionInterface::operateOnSelection(), LLDynamicArray< Type, BlockSize >::put(), LLDynamicArray< Type, BlockSize >::reset(), S32, LLCtrlSelectionInterface::selectFirstItem(), LLCtrlSelectionInterface::selectItemRange(), sHomeID, LLCtrlListInterface::sortByColumn(), and TRUE.
Referenced by inventoryChanged(), onLandmarkComboPrearrange(), show(), and trackLandmark().
void LLFloaterWorldMap::onGoToLandmarkDialog | ( | S32 | option, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 1436 of file llfloaterworldmap.cpp.
void LLFloaterWorldMap::flyToLandmark | ( | ) | [protected] |
Definition at line 1453 of file llfloaterworldmap.cpp.
References gAgent, LLTracker::getTrackedLandmarkAssetID(), LLTracker::getTrackedPositionGlobal(), LLTracker::hasLandmarkPosition(), and LLAgent::startAutoPilotGlobal().
void LLFloaterWorldMap::teleportToLandmark | ( | ) | [protected] |
Definition at line 1465 of file llfloaterworldmap.cpp.
References FALSE, gAgent, LLLandmarkList::getAsset(), LLLandmark::getGlobalPos(), LLAgent::getRegionHost(), LLLandmark::getRegionID(), LLTracker::getTrackedLandmarkAssetID(), gLandmarkList, gMessageSystem, NULL, LLLandmark::requestRegionHandle(), sHomeID, LLAgent::teleportViaLandmark(), and TRUE.
void LLFloaterWorldMap::setLandmarkVisited | ( | ) | [protected] |
void LLFloaterWorldMap::buildAvatarIDList | ( | ) | [protected] |
Definition at line 823 of file llfloaterworldmap.cpp.
References ADD_BOTTOM, LLCtrlListInterface::addColumn(), LLCtrlListInterface::addSimpleElement(), LLAvatarTracker::applyFunctor(), LLPanel::childGetListInterface(), LLCtrlSelectionInterface::getItemCount(), LLAvatarTracker::instance(), LLCollectMappableBuddies::mMappable, LLCtrlSelectionInterface::OP_DELETE, LLCtrlSelectionInterface::operateOnSelection(), S32, LLCtrlSelectionInterface::selectFirstItem(), LLCtrlSelectionInterface::selectNthItem(), and LLCtrlSelectionInterface::setCurrentByID().
Referenced by friendsChanged(), show(), and trackAvatar().
void LLFloaterWorldMap::flyToAvatar | ( | ) | [protected] |
Definition at line 1516 of file llfloaterworldmap.cpp.
References gAgent, LLAvatarTracker::instance(), and LLAgent::startAutoPilotGlobal().
void LLFloaterWorldMap::teleportToAvatar | ( | ) | [protected] |
Definition at line 1505 of file llfloaterworldmap.cpp.
References gAgent, LLAvatarTracker::getGlobalPos(), LLAvatarTracker::haveTrackingInfo(), LLAvatarTracker::instance(), and LLAgent::teleportViaLocation().
void LLFloaterWorldMap::updateSearchEnabled | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 1204 of file llfloaterworldmap.cpp.
References NULL, and LLPanel::setDefaultBtn().
Referenced by onLocationFocusChanged(), and onSearchTextEntry().
void LLFloaterWorldMap::onLocationFocusChanged | ( | LLFocusableElement * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 1198 of file llfloaterworldmap.cpp.
References updateSearchEnabled().
Referenced by postBuild().
void LLFloaterWorldMap::onLocationCommit | ( | void * | userdata | ) | [static, protected] |
Definition at line 1219 of file llfloaterworldmap.cpp.
References clearLocationSelection(), FALSE, LLSingleton< LLWorldMap >::getInstance(), mCompletingRegionName, LLWorldMap::mIsTrackingCommit, LLWorldMap::sendNamedRegionRequest(), LLStringBase< char >::toLower(), LLStringBase< char >::trim(), and TRUE.
Referenced by postBuild().
void LLFloaterWorldMap::onCommitLocation | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 1606 of file llfloaterworldmap.cpp.
References LLTracker::getTrackedPositionGlobal(), LLTracker::getTrackingStatus(), LLVector3d::mdV, LLTracker::TRACKING_LOCATION, VX, VY, and VZ.
Referenced by postBuild().
void LLFloaterWorldMap::onCommitSearchResult | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, protected] |
Definition at line 1624 of file llfloaterworldmap.cpp.
References LLSD::asString(), from_region_handle(), LLSingleton< LLWorldMap >::getInstance(), LLCtrlSelectionInterface::getSelectedValue(), LLVector3d::mdV, LLSimInfo::mHandle, LLSimInfo::mName, LLWorldMap::mSimInfoMap, onShowTargetBtn(), LLStringBase< char >::toLower(), VX, VY, and VZ.
Referenced by postBuild(), and updateSims().
void LLFloaterWorldMap::cacheLandmarkPosition | ( | ) | [protected] |
LLTabContainer* LLFloaterWorldMap::mTabs [protected] |
Definition at line 164 of file llfloaterworldmap.h.
Referenced by adjustZoomSliderBounds(), onPanBtn(), postBuild(), show(), and ~LLFloaterWorldMap().
F32 LLFloaterWorldMap::mCurZoomVal [protected] |
LLFrameTimer LLFloaterWorldMap::mZoomTimer [protected] |
LLDynamicArray<LLUUID> LLFloaterWorldMap::mLandmarkAssetIDList [protected] |
Definition at line 170 of file llfloaterworldmap.h.
Referenced by buildLandmarkIDLists(), and trackLandmark().
LLDynamicArray<LLUUID> LLFloaterWorldMap::mLandmarkItemIDList [protected] |
Definition at line 171 of file llfloaterworldmap.h.
Referenced by buildLandmarkIDLists(), and trackLandmark().
BOOL LLFloaterWorldMap::mHasLandmarkPosition [protected] |
Definition at line 172 of file llfloaterworldmap.h.
const LLUUID LLFloaterWorldMap::sHomeID [static, protected] |
Definition at line 174 of file llfloaterworldmap.h.
Referenced by buildLandmarkIDLists(), getHomeID(), onLandmarkComboCommit(), teleport(), teleportToLandmark(), and trackLandmark().
LLInventoryModel* LLFloaterWorldMap::mInventory [protected] |
Definition at line 176 of file llfloaterworldmap.h.
Referenced by observeInventory(), and ~LLFloaterWorldMap().
LLInventoryObserver* LLFloaterWorldMap::mInventoryObserver [protected] |
Definition at line 177 of file llfloaterworldmap.h.
Referenced by observeInventory(), and ~LLFloaterWorldMap().
LLFriendObserver* LLFloaterWorldMap::mFriendObserver [protected] |
Definition at line 178 of file llfloaterworldmap.h.
Referenced by observeFriends(), and ~LLFloaterWorldMap().
LLString LLFloaterWorldMap::mCompletingRegionName [protected] |
Definition at line 180 of file llfloaterworldmap.h.
Referenced by clearLocationSelection(), draw(), onLocationCommit(), trackURL(), and updateSims().
LLString LLFloaterWorldMap::mLastRegionName [protected] |
Definition at line 181 of file llfloaterworldmap.h.
BOOL LLFloaterWorldMap::mWaitingForTracker [protected] |
BOOL LLFloaterWorldMap::mExactMatch [protected] |
Definition at line 183 of file llfloaterworldmap.h.
Referenced by clearLocationSelection(), and updateSims().
BOOL LLFloaterWorldMap::mIsClosing [protected] |
BOOL LLFloaterWorldMap::mSetToUserPosition [protected] |
LLVector3d LLFloaterWorldMap::mTrackedLocation [protected] |
Definition at line 189 of file llfloaterworldmap.h.
Referenced by clearAvatarSelection(), trackAvatar(), trackEvent(), trackGenericItem(), trackLandmark(), trackLocation(), and updateLocation().
LLString LLFloaterWorldMap::mTrackedSimName [protected] |
LLString LLFloaterWorldMap::mTrackedAvatarName [protected] |
LLString LLFloaterWorldMap::mSLURL [protected] |