#include <llfloaterlandmark.h>
Inheritance diagram for LLFloaterLandmark:
Definition at line 49 of file llfloaterlandmark.h.
LLFloaterLandmark::LLFloaterLandmark | ( | const LLSD & | data | ) |
Definition at line 96 of file llfloaterlandmark.cpp.
References LLAssetType::AT_LANDMARK, LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetVisible(), FALSE, findItemID(), LLPanel::getCtrlByNameAndType(), LLFolderView::getFilter(), LLInventoryPanel::getRootFolder(), LLUICtrlFactory::getTextBoxByName(), gUICtrlFactory, LLInventoryType::IT_LANDMARK, LLInventoryFilter::markDefault(), mImageAssetID, mInventoryPanel, mNoCopyLandmarkSelected, mResolutionLabel, mSavedFolderState, mSearchEdit, mTentativeLabel, onBtnClose(), onBtnDelete(), onBtnEdit(), onBtnNew(), onBtnNewFolder(), onBtnRename(), onSearchEdit(), onSelectionChange(), onShowFolders(), LLInventoryPanel::openDefaultFolderForType(), LLInventoryPanel::setAllowMultiSelect(), LLSaveFolderState::setApply(), LLFloater::setCanMinimize(), LLInventoryPanel::setFilterTypes(), LLSearchEditor::setSearchCallback(), LLInventoryPanel::setSelectCallback(), LLInventoryPanel::setSelection(), LLInventoryPanel::setShowFolderState(), LLInventoryFilter::SHOW_NON_EMPTY_FOLDERS, TAKE_FOCUS_NO, WIDGET_TYPE_INVENTORY_PANEL, and WIDGET_TYPE_SEARCH_EDITOR.
LLFloaterLandmark::~LLFloaterLandmark | ( | ) | [virtual] |
Definition at line 258 of file llfloaterlandmark.cpp.
References LLPermissions::allowCopyBy(), LLInventoryModel::collectDescendentsIf(), LLDynamicArray< Type, BlockSize >::count(), gAgent, LLAgent::getGroupID(), LLAgent::getID(), gInventory, i, LLInventoryModel::INCLUDE_TRASH, LLUUID::null, and S32.
Referenced by LLFloaterLandmark().
const LLUUID& LLFloaterLandmark::getAssetID | ( | ) | [inline] |
BOOL LLFloaterLandmark::handleDragAndDrop | ( | S32 | x, | |
S32 | y, | |||
MASK | mask, | |||
BOOL | drop, | |||
EDragAndDropType | cargo_type, | |||
void * | cargo_data, | |||
EAcceptance * | accept, | |||
LLString & | tooltip_msg | |||
) | [virtual] |
Reimplemented from LLView.
Definition at line 169 of file llfloaterlandmark.cpp.
References ACCEPT_NO, ACCEPT_YES_SINGLE, LLPermissions::allowCopyBy(), LLPermissions::allowModifyBy(), LLPermissions::allowOperationBy(), DAD_LANDMARK, FALSE, gAgent, LLAgent::getID(), LLView::getName(), LLInventoryItem::getPermissions(), lldebugst, llendl, mImmediateFilterPermMask, PERM_COPY, PERM_MODIFY, PERM_TRANSFER, and TRUE.
Reimplemented from LLPanel.
Definition at line 215 of file llfloaterlandmark.cpp.
References FALSE, LLUICtrl::focusFirstItem(), gAgent, LLFolderView::getCurSelectedItem(), LLAgent::getInventoryRootID(), LLFolderView::getItemByID(), LLInventoryPanel::getRootFolder(), LLPanel::handleKeyHere(), LLUICtrl::hasFocus(), KEY_DOWN, KEY_RETURN, KEY_UP, MASK_NONE, mInventoryPanel, mSearchEdit, LLFolderView::scrollToShowSelection(), LLFolderView::setFocus(), LLFolderView::setSelection(), and TRUE.
BOOL LLFloaterLandmark::isDirty | ( | ) | [inline] |
Definition at line 296 of file llfloaterlandmark.cpp.
References FALSE.
Referenced by LLFloaterLandmark().
Definition at line 355 of file llfloaterlandmark.cpp.
References LLInventoryModel::accountForUpdate(), LLAssetType::AT_TRASH, FALSE, LLInventoryModel::findCategoryUUIDForType(), LLInventoryModel::getItem(), LLInventoryObject::getParentUUID(), gInventory, LLInventoryModel::notifyObservers(), and LLInventoryModel::updateItem().
Referenced by LLFloaterLandmark().
Definition at line 304 of file llfloaterlandmark.cpp.
References LLInventoryModel::getItem(), LLInventoryObject::getName(), gInventory, open_landmark(), and TRUE.
Referenced by LLFloaterLandmark().
Definition at line 315 of file llfloaterlandmark.cpp.
References LLViewerWindow::alertXml(), LLAssetType::AT_LANDMARK, LLAgent::buildLocationString(), create_inventory_item(), LLInventoryModel::findCategoryUUIDForType(), gAgent, LLViewerParcelMgr::getAgentParcel(), LLParcel::getAllowLandmark(), LLAgent::getID(), LLAgent::getRegion(), LLAgent::getSessionID(), gInventory, GP_LAND_ALLOW_LANDMARK, gParcelMgr, gViewerWindow, LLViewerParcelMgr::isParcelOwnedByAgent(), LLInventoryType::IT_LANDMARK, llendl, llwarns, NOT_WEARABLE, NULL, PERM_ALL, and LLTransactionID::tnull.
Referenced by LLFloaterLandmark().
void LLFloaterLandmark::onClose | ( | bool | app_quitting | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 251 of file llfloaterlandmark.cpp.
References LLFloater::destroy().
Definition at line 436 of file llfloaterlandmark.cpp.
References LLFolderViewFolder::applyFunctorRecursively(), FALSE, LLInventoryPanel::getFilterSubString(), LLInventoryPanel::getRootFolder(), LLFolderView::isFilterModified(), mInventoryPanel, mSavedFolderState, LLFolderView::scrollToShowSelection(), LLSaveFolderState::setApply(), LLInventoryPanel::setFilterSubString(), LLStringBase< char >::toUpper(), and TRUE.
Referenced by LLFloaterLandmark().
void LLFloaterLandmark::onSelectionChange | ( | const std::deque< LLFolderViewItem * > & | items, | |
BOOL | user_action, | |||
void * | data | |||
) | [static] |
Definition at line 400 of file llfloaterlandmark.cpp.
References LLPermissions::allowCopyBy(), FALSE, gAgent, LLAgent::getID(), LLInventoryModel::getItem(), LLInventoryItem::getPermissions(), LLInventoryObject::getUUID(), gInventory, and TRUE.
Referenced by LLFloaterLandmark().
Definition at line 421 of file llfloaterlandmark.cpp.
References LLCheckBoxCtrl::get(), mInventoryPanel, LLInventoryPanel::setShowFolderState(), LLInventoryFilter::SHOW_NO_FOLDERS, and LLInventoryFilter::SHOW_NON_EMPTY_FOLDERS.
Referenced by LLFloaterLandmark().
BOOL LLFloaterLandmark::mActive [protected] |
F32 LLFloaterLandmark::mContextConeOpacity [protected] |
Definition at line 103 of file llfloaterlandmark.h.
LLUUID LLFloaterLandmark::mImageAssetID [protected] |
Definition at line 85 of file llfloaterlandmark.h.
Referenced by getAssetID(), and LLFloaterLandmark().
LLInventoryPanel* LLFloaterLandmark::mInventoryPanel [protected] |
Definition at line 99 of file llfloaterlandmark.h.
Referenced by handleKeyHere(), LLFloaterLandmark(), onSearchEdit(), and onShowFolders().
BOOL LLFloaterLandmark::mIsDirty [protected] |
LLPointer<LLViewerImage> LLFloaterLandmark::mLandmarkp [protected] |
Definition at line 83 of file llfloaterlandmark.h.
BOOL LLFloaterLandmark::mNoCopyLandmarkSelected [protected] |
Definition at line 101 of file llfloaterlandmark.h.
LLUUID LLFloaterLandmark::mOriginalImageAssetID [protected] |
Definition at line 89 of file llfloaterlandmark.h.
LLString LLFloaterLandmark::mPendingName [protected] |
Definition at line 94 of file llfloaterlandmark.h.
LLTextBox* LLFloaterLandmark::mResolutionLabel [protected] |
LLSaveFolderState* LLFloaterLandmark::mSavedFolderState [protected] |
Definition at line 104 of file llfloaterlandmark.h.
Referenced by LLFloaterLandmark(), onSearchEdit(), and ~LLFloaterLandmark().
LLSearchEditor* LLFloaterLandmark::mSearchEdit [protected] |
Definition at line 98 of file llfloaterlandmark.h.
Referenced by handleKeyHere(), and LLFloaterLandmark().
LLUUID LLFloaterLandmark::mSpecialCurrentImageAssetID [protected] |
Definition at line 88 of file llfloaterlandmark.h.
LLTextBox* LLFloaterLandmark::mTentativeLabel [protected] |
LLUUID LLFloaterLandmark::mWhiteImageAssetID [protected] |
Definition at line 87 of file llfloaterlandmark.h.