#include <llpanelinventory.h>
Definition at line 66 of file llpanelinventory.h.
---------------------------------------------------------------------------- Class LLPanelInventory ----------------------------------------------------------------------------
Definition at line 1594 of file llpanelinventory.cpp.
References LLCallbackList::addFunction(), gIdleCallbacks, idle(), init_object_inventory_panel_actions(), and reset().
LLPanelInventory::~LLPanelInventory | ( | ) | [virtual] |
Definition at line 1609 of file llpanelinventory.cpp.
References LLCallbackList::deleteFunction(), gIdleCallbacks, idle(), llendl, and llwarns.
void LLPanelInventory::reset | ( | ) | [protected] |
Definition at line 1638 of file llpanelinventory.cpp.
References LLView::addChild(), clearContents(), FALSE, LLFolderView::getFilter(), LLView::getRect(), getTaskUUID(), mFolders, mScroller, NULL, LLPanel::setBorderVisible(), LLView::setFollowsAll(), LLFolderView::setScrollContainer(), LLInventoryFilter::setShowFolderState(), and LLInventoryFilter::SHOW_ALL_FOLDERS.
Referenced by LLPanelInventory(), and updateInventory().
void LLPanelInventory::inventoryChanged | ( | LLViewerObject * | object, | |
InventoryObjectList * | inventory, | |||
S32 | serial_num, | |||
void * | user_data | |||
) | [protected, virtual] |
Implements LLVOInventoryListener.
Definition at line 1658 of file llpanelinventory.cpp.
References LLDynamicArray< Type, BlockSize >::count(), LLFloaterProperties::find(), LLDynamicArray< Type, BlockSize >::get(), i, LLViewerObject::mID, mInventoryNeedsUpdate, mTaskUUID, NULL, LLDynamicArray< Type, BlockSize >::put(), LLFloaterProperties::refresh(), refresh(), S32, and TRUE.
void LLPanelInventory::updateInventory | ( | ) | [protected] |
Definition at line 1701 of file llpanelinventory.cpp.
References LLFolderViewItem::arrangeFromRoot(), LLFolderView::changeSelection(), LLFocusMgr::childHasKeyboardFocus(), createFolderViews(), FALSE, LLViewerObjectList::findObject(), LLViewerObject::getInventoryContents(), LLViewerObject::getInventoryRoot(), LLFolderView::getItemByID(), LLFolderViewItem::getNumSelectedDescendants(), LLFolderView::getSelectionList(), gFocusMgr, gObjectList, mFolders, mHaveInventory, mInventoryNeedsUpdate, mIsInventoryEmpty, mTaskUUID, reset(), LLView::setEnabled(), LLFolderView::setSelection(), and TRUE.
void LLPanelInventory::createFolderViews | ( | LLInventoryObject * | inventory_root, | |
InventoryObjectList & | contents | |||
) | [protected] |
Definition at line 1774 of file llpanelinventory.cpp.
References LLFolderViewFolder::addToFolder(), LLTaskInvFVBridge::createObjectBridge(), createViewsForCategory(), LLTaskInvFVBridge::getIcon(), LLInventoryObject::getName(), mFolders, NULL, and LLFolderViewFolder::toggleOpen().
Referenced by updateInventory().
void LLPanelInventory::createViewsForCategory | ( | InventoryObjectList * | inventory, | |
LLInventoryObject * | parent, | |||
LLFolderViewFolder * | folder | |||
) | [protected] |
Definition at line 1799 of file llpanelinventory.cpp.
References LLFolderViewItem::addToFolder(), LLAssetType::AT_CATEGORY, LLDynamicArray< Type, BlockSize >::count(), LLTaskInvFVBridge::createObjectBridge(), LLTaskInvFVBridge::getCreationDate(), LLTaskInvFVBridge::getIcon(), LLInventoryObject::getName(), LLInventoryObject::getParentUUID(), LLInventoryObject::getType(), LLInventoryObject::getUUID(), i, mFolders, LLDynamicArray< Type, BlockSize >::put(), and S32.
Referenced by createFolderViews().
void LLPanelInventory::clearContents | ( | ) | [protected] |
Definition at line 1618 of file llpanelinventory.cpp.
References LLMortician::die(), LLToolDragAndDrop::endDrag(), FALSE, LLSingleton< LLToolDragAndDrop >::getInstance(), mFolders, mHaveInventory, mIsInventoryEmpty, mScroller, NULL, LLView::removeChild(), LLToolDragAndDrop::SOURCE_WORLD, and TRUE.
Referenced by refresh(), and reset().
void LLPanelInventory::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 1851 of file llpanelinventory.cpp.
References clearContents(), FALSE, LLSingleton< LLSelectMgr >::getInstance(), LLViewerObject::getInventorySerial(), LLSelectNode::getObject(), LLSelectMgr::getSelection(), mHaveInventory, LLViewerObject::mID, LLSelectNode::mInventorySerial, mTaskUUID, LLSelectNode::mValid, LLUUID::null, NULL, LLVOInventoryListener::registerVOInventoryListener(), LLVOInventoryListener::removeVOInventoryListener(), LLVOInventoryListener::requestVOInventory(), and TRUE.
Referenced by inventoryChanged(), LLPanelContents::refresh(), and LLFloaterOpenObject::refresh().
const LLUUID& LLPanelInventory::getTaskUUID | ( | ) | [inline] |
Definition at line 96 of file llpanelinventory.h.
References mTaskUUID.
Referenced by LLTaskInvFVBridge::buyItem(), LLTaskCategoryBridge::dragOrDrop(), LLTaskInvFVBridge::findItem(), LLTaskInvFVBridge::isItemRemovable(), LLTaskInvFVBridge::isItemRenameable(), LLTaskAnimationBridge::openItem(), LLTaskGestureBridge::openItem(), LLTaskNotecardBridge::openItem(), LLTaskLSLBridge::openItem(), LLTaskTextureBridge::openItem(), LLTaskInvFVBridge::removeBatch(), LLTaskLSLBridge::removeItem(), LLTaskInvFVBridge::removeItem(), LLTaskInvFVBridge::renameItem(), reset(), LLTaskInvFVBridge::showProperties(), LLTaskCategoryBridge::startDrag(), and LLTaskInvFVBridge::startDrag().
void LLPanelInventory::removeSelectedItem | ( | ) |
Definition at line 1909 of file llpanelinventory.cpp.
References mFolders, and LLFolderView::removeSelectedItems().
void LLPanelInventory::startRenamingSelectedItem | ( | void | ) |
Definition at line 1917 of file llpanelinventory.cpp.
References mFolders, and LLFolderView::startRenamingSelectedItem().
LLFolderView* LLPanelInventory::getRootFolder | ( | ) | const [inline] |
Definition at line 100 of file llpanelinventory.h.
References mFolders.
Referenced by LLDoToSelectedPanel::handleEvent().
void LLPanelInventory::draw | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 1925 of file llpanelinventory.cpp.
References LLFontGL::BOTTOM, LLPanel::draw(), LLView::getRect(), LLFontGL::HCENTER, mHaveInventory, mIsInventoryEmpty, mTaskUUID, LLUUID::null, LLFontGL::renderUTF8(), S32, and LLFontGL::sSansSerif.
void LLPanelInventory::deleteAllChildren | ( | ) | [virtual] |
Reimplemented from LLView.
Definition at line 1952 of file llpanelinventory.cpp.
References LLView::deleteAllChildren(), mFolders, mScroller, and NULL.
BOOL LLPanelInventory::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 1959 of file llpanelinventory.cpp.
References FALSE, LLFolderViewFolder::getNextFromChild(), LLView::getRect(), LLFolderView::handleDragAndDrop(), LLRectBase< Type >::mBottom, mFolders, mHaveInventory, LLRectBase< Type >::mLeft, NULL, LLView::pointInView(), and S32.
void LLPanelInventory::idle | ( | void * | user_data | ) | [static] |
Definition at line 1989 of file llpanelinventory.cpp.
Referenced by LLPanelInventory(), and ~LLPanelInventory().
LLScrollableContainerView* LLPanelInventory::mScroller [protected] |
Definition at line 69 of file llpanelinventory.h.
Referenced by clearContents(), deleteAllChildren(), and reset().
LLFolderView* LLPanelInventory::mFolders [protected] |
Definition at line 70 of file llpanelinventory.h.
Referenced by clearContents(), createFolderViews(), createViewsForCategory(), deleteAllChildren(), getRootFolder(), handleDragAndDrop(), removeSelectedItem(), reset(), startRenamingSelectedItem(), and updateInventory().
LLUUID LLPanelInventory::mTaskUUID [protected] |
Definition at line 72 of file llpanelinventory.h.
Referenced by draw(), getTaskUUID(), inventoryChanged(), refresh(), and updateInventory().
BOOL LLPanelInventory::mHaveInventory [protected] |
Definition at line 73 of file llpanelinventory.h.
Referenced by clearContents(), draw(), handleDragAndDrop(), refresh(), and updateInventory().
BOOL LLPanelInventory::mIsInventoryEmpty [protected] |
Definition at line 74 of file llpanelinventory.h.
Referenced by clearContents(), draw(), and updateInventory().
BOOL LLPanelInventory::mInventoryNeedsUpdate [protected] |
Definition at line 75 of file llpanelinventory.h.
Referenced by inventoryChanged(), and updateInventory().