LLPanelInventory Class Reference

#include <llpanelinventory.h>

Inheritance diagram for LLPanelInventory:

Inheritance graph
[legend]
Collaboration diagram for LLPanelInventory:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPanelInventory (const LLString &name, const LLRect &rect)
virtual ~LLPanelInventory ()
void refresh ()
const LLUUIDgetTaskUUID ()
void removeSelectedItem ()
void startRenamingSelectedItem ()
LLFolderViewgetRootFolder () const
virtual void draw ()
virtual void deleteAllChildren ()
virtual BOOL handleDragAndDrop (S32 x, S32 y, MASK mask, BOOL drop, EDragAndDropType cargo_type, void *cargo_data, EAcceptance *accept, LLString &tooltip_msg)

Static Public Member Functions

static void idle (void *user_data)

Protected Member Functions

void reset ()
void inventoryChanged (LLViewerObject *object, InventoryObjectList *inventory, S32 serial_num, void *user_data)
void updateInventory ()
void createFolderViews (LLInventoryObject *inventory_root, InventoryObjectList &contents)
void createViewsForCategory (InventoryObjectList *inventory, LLInventoryObject *parent, LLFolderViewFolder *folder)
void clearContents ()

Protected Attributes

LLScrollableContainerViewmScroller
LLFolderViewmFolders
LLUUID mTaskUUID
BOOL mHaveInventory
BOOL mIsInventoryEmpty
BOOL mInventoryNeedsUpdate


Detailed Description

Definition at line 66 of file llpanelinventory.h.


Constructor & Destructor Documentation

LLPanelInventory::LLPanelInventory ( const LLString name,
const LLRect rect 
)

---------------------------------------------------------------------------- Class LLPanelInventory ----------------------------------------------------------------------------

Definition at line 1594 of file llpanelinventory.cpp.

References LLCallbackList::addFunction(), gIdleCallbacks, idle(), init_object_inventory_panel_actions(), and reset().

Here is the call graph for this function:

LLPanelInventory::~LLPanelInventory (  )  [virtual]

Definition at line 1609 of file llpanelinventory.cpp.

References LLCallbackList::deleteFunction(), gIdleCallbacks, idle(), llendl, and llwarns.

Here is the call graph for this function:


Member Function Documentation

void LLPanelInventory::reset (  )  [protected]

void LLPanelInventory::inventoryChanged ( LLViewerObject object,
InventoryObjectList inventory,
S32  serial_num,
void *  user_data 
) [protected, virtual]

void LLPanelInventory::updateInventory (  )  [protected]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelInventory::createViewsForCategory ( InventoryObjectList inventory,
LLInventoryObject parent,
LLFolderViewFolder folder 
) [protected]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelInventory::refresh (  )  [virtual]

const LLUUID& LLPanelInventory::getTaskUUID (  )  [inline]

void LLPanelInventory::removeSelectedItem (  ) 

Definition at line 1909 of file llpanelinventory.cpp.

References mFolders, and LLFolderView::removeSelectedItems().

Here is the call graph for this function:

void LLPanelInventory::startRenamingSelectedItem ( void   ) 

Definition at line 1917 of file llpanelinventory.cpp.

References mFolders, and LLFolderView::startRenamingSelectedItem().

Here is the call graph for this function:

LLFolderView* LLPanelInventory::getRootFolder (  )  const [inline]

Definition at line 100 of file llpanelinventory.h.

References mFolders.

Referenced by LLDoToSelectedPanel::handleEvent().

Here is the caller graph for this function:

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.

Here is the call graph for this function:

void LLPanelInventory::deleteAllChildren (  )  [virtual]

Reimplemented from LLView.

Definition at line 1952 of file llpanelinventory.cpp.

References LLView::deleteAllChildren(), mFolders, mScroller, and NULL.

Here is the call graph for this function:

BOOL LLPanelInventory::handleDragAndDrop ( S32  x,
S32  y,
MASK  mask,
BOOL  drop,
EDragAndDropType  cargo_type,
void *  cargo_data,
EAcceptance accept,
LLString tooltip_msg 
) [virtual]

void LLPanelInventory::idle ( void *  user_data  )  [static]

Definition at line 1989 of file llpanelinventory.cpp.

Referenced by LLPanelInventory(), and ~LLPanelInventory().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 69 of file llpanelinventory.h.

Referenced by clearContents(), deleteAllChildren(), and reset().

Definition at line 72 of file llpanelinventory.h.

Referenced by draw(), getTaskUUID(), inventoryChanged(), refresh(), and updateInventory().

Definition at line 73 of file llpanelinventory.h.

Referenced by clearContents(), draw(), handleDragAndDrop(), refresh(), and updateInventory().

Definition at line 74 of file llpanelinventory.h.

Referenced by clearContents(), draw(), and updateInventory().

Definition at line 75 of file llpanelinventory.h.

Referenced by inventoryChanged(), and updateInventory().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:57:18 2008 for SecondLife by  doxygen 1.5.5