#include <llfloaterlandmark.h>
Definition at line 59 of file llfloaterlandmark.h.
LLFloaterLandmark::LLFloaterLandmark | ( | const LLSD & | data | ) |
Definition at line 105 of file llfloaterlandmark.cpp.
References LLAssetType::AT_LANDMARK, LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetVisible(), FALSE, findItemID(), LLFolderView::getFilter(), LLSingleton< LLUICtrlFactory >::getInstance(), LLInventoryPanel::getRootFolder(), 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, and TAKE_FOCUS_NO.
LLFloaterLandmark::~LLFloaterLandmark | ( | ) | [virtual] |
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 178 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 224 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.
void LLFloaterLandmark::onClose | ( | bool | app_quitting | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 260 of file llfloaterlandmark.cpp.
References LLFloater::destroy().
const LLUUID& LLFloaterLandmark::getAssetID | ( | ) | [inline] |
Definition at line 267 of file llfloaterlandmark.cpp.
References LLPermissions::allowCopyBy(), LLInventoryModel::collectDescendentsIf(), LLDynamicArray< Type, BlockSize >::count(), gAgent, LLAgent::getGroupID(), LLAgent::getID(), LLInventoryItem::getPermissions(), LLInventoryObject::getUUID(), gInventory, i, LLInventoryModel::INCLUDE_TRASH, LLUUID::null, and S32.
Referenced by LLFloaterLandmark().
void LLFloaterLandmark::setDirty | ( | BOOL | b | ) | [inline] |
BOOL LLFloaterLandmark::isDirty | ( | ) | const [inline, virtual] |
Reimplemented from LLUICtrl.
Definition at line 79 of file llfloaterlandmark.h.
References mIsDirty.
void LLFloaterLandmark::setActive | ( | BOOL | active | ) |
void LLFloaterLandmark::onBtnClose | ( | void * | userdata | ) | [static] |
Definition at line 305 of file llfloaterlandmark.cpp.
References FALSE.
Referenced by LLFloaterLandmark().
void LLFloaterLandmark::onBtnNew | ( | void * | userdata | ) | [static] |
Definition at line 324 of file llfloaterlandmark.cpp.
References LLViewerWindow::alertXml(), LLAssetType::AT_LANDMARK, LLAgent::buildLocationString(), create_inventory_item(), LLInventoryModel::findCategoryUUIDForType(), gAgent, LLViewerParcelMgr::getAgentParcel(), LLParcel::getAllowLandmark(), LLAgent::getID(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLAgent::getRegion(), LLAgent::getSessionID(), gInventory, GP_LAND_ALLOW_LANDMARK, gViewerWindow, LLViewerParcelMgr::isParcelOwnedByAgent(), LLInventoryType::IT_LANDMARK, llendl, llwarns, NOT_WEARABLE, NULL, PERM_ALL, and LLTransactionID::tnull.
Referenced by LLFloaterLandmark().
void LLFloaterLandmark::onBtnEdit | ( | void * | userdata | ) | [static] |
Definition at line 313 of file llfloaterlandmark.cpp.
References LLInventoryModel::getItem(), LLInventoryObject::getName(), gInventory, open_landmark(), and TRUE.
Referenced by LLFloaterLandmark().
void LLFloaterLandmark::onBtnDelete | ( | void * | userdata | ) | [static] |
Definition at line 364 of file llfloaterlandmark.cpp.
References LLInventoryModel::accountForUpdate(), LLAssetType::AT_TRASH, FALSE, LLInventoryModel::findCategoryUUIDForType(), LLInventoryModel::getItem(), LLInventoryObject::getParentUUID(), gInventory, LLInventoryModel::notifyObservers(), indra::base::config::update(), and LLInventoryModel::updateItem().
Referenced by LLFloaterLandmark().
void LLFloaterLandmark::onBtnNewFolder | ( | void * | userdata | ) | [static] |
Definition at line 359 of file llfloaterlandmark.cpp.
Referenced by LLFloaterLandmark().
void LLFloaterLandmark::onBtnRename | ( | void * | userdata | ) | [static] |
Definition at line 403 of file llfloaterlandmark.cpp.
Referenced by LLFloaterLandmark().
void LLFloaterLandmark::onSelectionChange | ( | const std::deque< LLFolderViewItem * > & | items, | |
BOOL | user_action, | |||
void * | data | |||
) | [static] |
Definition at line 409 of file llfloaterlandmark.cpp.
References LLPermissions::allowCopyBy(), FALSE, gAgent, LLAgent::getID(), LLInventoryModel::getItem(), LLFolderViewItem::getListener(), LLInventoryItem::getPermissions(), LLInventoryObject::getUUID(), LLFolderViewEventListener::getUUID(), gInventory, and TRUE.
Referenced by LLFloaterLandmark().
void LLFloaterLandmark::onShowFolders | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static] |
Definition at line 430 of file llfloaterlandmark.cpp.
References LLCheckBoxCtrl::get(), mInventoryPanel, LLInventoryPanel::setShowFolderState(), LLInventoryFilter::SHOW_NO_FOLDERS, and LLInventoryFilter::SHOW_NON_EMPTY_FOLDERS.
Referenced by LLFloaterLandmark().
void LLFloaterLandmark::onSearchEdit | ( | const LLString & | search_string, | |
void * | user_data | |||
) | [static] |
Definition at line 445 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().
LLPointer<LLViewerImage> LLFloaterLandmark::mLandmarkp [protected] |
Definition at line 93 of file llfloaterlandmark.h.
LLUUID LLFloaterLandmark::mImageAssetID [protected] |
Definition at line 95 of file llfloaterlandmark.h.
Referenced by getAssetID(), and LLFloaterLandmark().
LLUUID LLFloaterLandmark::mWhiteImageAssetID [protected] |
Definition at line 97 of file llfloaterlandmark.h.
LLUUID LLFloaterLandmark::mSpecialCurrentImageAssetID [protected] |
Definition at line 98 of file llfloaterlandmark.h.
LLUUID LLFloaterLandmark::mOriginalImageAssetID [protected] |
Definition at line 99 of file llfloaterlandmark.h.
LLTextBox* LLFloaterLandmark::mTentativeLabel [protected] |
LLTextBox* LLFloaterLandmark::mResolutionLabel [protected] |
LLString LLFloaterLandmark::mPendingName [protected] |
Definition at line 104 of file llfloaterlandmark.h.
BOOL LLFloaterLandmark::mIsDirty [protected] |
BOOL LLFloaterLandmark::mActive [protected] |
LLSearchEditor* LLFloaterLandmark::mSearchEdit [protected] |
Definition at line 108 of file llfloaterlandmark.h.
Referenced by handleKeyHere(), and LLFloaterLandmark().
LLInventoryPanel* LLFloaterLandmark::mInventoryPanel [protected] |
Definition at line 109 of file llfloaterlandmark.h.
Referenced by handleKeyHere(), LLFloaterLandmark(), onSearchEdit(), and onShowFolders().
Definition at line 111 of file llfloaterlandmark.h.
BOOL LLFloaterLandmark::mNoCopyLandmarkSelected [protected] |
F32 LLFloaterLandmark::mContextConeOpacity [protected] |
Definition at line 113 of file llfloaterlandmark.h.
LLSaveFolderState* LLFloaterLandmark::mSavedFolderState [protected] |
Definition at line 114 of file llfloaterlandmark.h.
Referenced by LLFloaterLandmark(), onSearchEdit(), and ~LLFloaterLandmark().