#include <llpanelinventory.h>
Inheritance diagram for LLPanelInventory:


Definition at line 66 of file llpanelinventory.h.
---------------------------------------------------------------------------- Class LLPanelInventory ----------------------------------------------------------------------------
Definition at line 1593 of file llpanelinventory.cpp.
References LLCallbackList::addFunction(), gIdleCallbacks, idle(), init_object_inventory_panel_actions(), and reset().
| LLPanelInventory::~LLPanelInventory | ( | ) |  [virtual] | 
Definition at line 1608 of file llpanelinventory.cpp.
References LLCallbackList::deleteFunction(), gIdleCallbacks, idle(), llendl, and llwarns.
| void LLPanelInventory::clearContents | ( | ) |  [protected] | 
Definition at line 1617 of file llpanelinventory.cpp.
References LLToolDragAndDrop::endDrag(), FALSE, LLToolDragAndDrop::getSource(), gToolDragAndDrop, mFolders, mHaveInventory, mIsInventoryEmpty, mScroller, NULL, LLView::removeChild(), LLToolDragAndDrop::SOURCE_WORLD, and TRUE.
| void LLPanelInventory::createFolderViews | ( | LLInventoryObject * | inventory_root, | |
| InventoryObjectList & | contents | |||
| ) |  [protected] | 
Definition at line 1773 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(), end, first, LLTaskInvFVBridge::getCreationDate(), LLTaskInvFVBridge::getIcon(), LLInventoryObject::getUUID(), i, mFolders, LLDynamicArray< Type, BlockSize >::put(), and S32.
Referenced by createFolderViews().
| void LLPanelInventory::deleteAllChildren | ( | ) |  [virtual] | 
Reimplemented from LLView.
Definition at line 1955 of file llpanelinventory.cpp.
References LLView::deleteAllChildren(), mFolders, mScroller, and NULL.
| void LLPanelInventory::draw | ( | ) |  [virtual] | 
Reimplemented from LLPanel.
Definition at line 1925 of file llpanelinventory.cpp.
References LLFontGL::BOTTOM, LLPanel::draw(), LLView::getVisible(), LLRectBase< Type >::getWidth(), LLFontGL::HCENTER, mHaveInventory, mIsInventoryEmpty, LLView::mRect, mTaskUUID, LLUUID::null, LLFontGL::renderUTF8(), S32, and LLFontGL::sSansSerif.
| LLFolderView* LLPanelInventory::getRootFolder | ( | ) | const  [inline] | 
Definition at line 101 of file llpanelinventory.h.
References mFolders.
Referenced by LLDoToSelectedPanel::handleEvent().
| const LLUUID& LLPanelInventory::getTaskUUID | ( | ) |  [inline] | 
Definition at line 97 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().
| 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 1962 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.
Definition at line 1992 of file llpanelinventory.cpp.
Referenced by LLPanelInventory(), and ~LLPanelInventory().
| void LLPanelInventory::inventoryChanged | ( | LLViewerObject * | object, | |
| InventoryObjectList * | inventory, | |||
| S32 | serial_num, | |||
| void * | user_data | |||
| ) |  [protected, virtual] | 
Implements LLVOInventoryListener.
Definition at line 1657 of file llpanelinventory.cpp.
References count, end, LLFloaterProperties::find(), LLViewerObject::getID(), i, LLViewerObject::mID, mInventoryNeedsUpdate, mTaskUUID, NULL, refresh(), S32, and TRUE.
| void LLPanelInventory::refresh | ( | ) |  [virtual] | 
Reimplemented from LLPanel.
Definition at line 1851 of file llpanelinventory.cpp.
References clearContents(), FALSE, LLViewerObject::getInventorySerial(), LLSelectNode::getObject(), LLSelectMgr::getSelection(), gSelectMgr, LLViewerObject::isInventoryDirty(), 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().
| void LLPanelInventory::removeSelectedItem | ( | ) | 
Definition at line 1909 of file llpanelinventory.cpp.
References mFolders, and LLFolderView::removeSelectedItems().
| void LLPanelInventory::reset | ( | ) |  [protected] | 
Definition at line 1637 of file llpanelinventory.cpp.
References LLView::addChild(), clearContents(), FALSE, LLFolderView::getFilter(), LLRectBase< Type >::getHeight(), getTaskUUID(), LLRectBase< Type >::getWidth(), mFolders, LLView::mRect, mScroller, NULL, LLPanel::setBorderVisible(), LLFolderView::setScrollContainer(), LLInventoryFilter::setShowFolderState(), and LLInventoryFilter::SHOW_ALL_FOLDERS.
Referenced by LLPanelInventory(), and updateInventory().
| void LLPanelInventory::startRenamingSelectedItem | ( | ) | 
Definition at line 1917 of file llpanelinventory.cpp.
References mFolders, and LLFolderView::startRenamingSelectedItem().
| void LLPanelInventory::updateInventory | ( | ) |  [protected] | 
Definition at line 1700 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.
Definition at line 71 of file llpanelinventory.h.
| 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().
| BOOL LLPanelInventory::mHaveInventory  [protected] | 
Definition at line 74 of file llpanelinventory.h.
Referenced by clearContents(), draw(), handleDragAndDrop(), refresh(), and updateInventory().
| BOOL LLPanelInventory::mInventoryNeedsUpdate  [protected] | 
Definition at line 76 of file llpanelinventory.h.
Referenced by inventoryChanged(), and updateInventory().
| BOOL LLPanelInventory::mIsInventoryEmpty  [protected] | 
Definition at line 75 of file llpanelinventory.h.
Referenced by clearContents(), draw(), and updateInventory().
| LLScrollableContainerView* LLPanelInventory::mScroller  [protected] | 
Definition at line 69 of file llpanelinventory.h.
Referenced by clearContents(), deleteAllChildren(), and reset().
| LLUUID LLPanelInventory::mTaskUUID  [protected] | 
Definition at line 73 of file llpanelinventory.h.
Referenced by draw(), getTaskUUID(), inventoryChanged(), refresh(), and updateInventory().
 1.4.7
 1.4.7